コード例 #1
0
ファイル: Class.cs プロジェクト: Zenoware/RoslynParser
 /// <summary>
 /// Constructor that sets all the Types so no lingering null types exist
 /// </summary>
 public Class()
 {
     Preprocessors = new List<Preprocessor>();
     Encapsulation = new List<Encapsulation>();
     Qualifiers = new List<Qualifiers>();
     Classes = new List<Class>();
     Modules = new List<Module>();
     Enums = new List<Enum>();
     Structs = new List<Struct>();
     Unions = new List<Union>();
     Fields = new List<Variables>();
     Properties = new List<Property>();
     Delegates = new List<Delegate>();
     Methods = new List<Method>();
     Constructors = new List<Constructor>();
     Destructors = new List<Destructor>();
     Inheritance = new Inheritance();
     FunctionDefs = new List<Method>();
     StructPrototypes = new List<Struct>();
     ClassPrototypes = new List<Class>();
 }
コード例 #2
0
        private Inheritance TraverseInheritance(InheritsOrImplementsStatementSyntax ioiss)
        {
            Inheritance inheritance = new Inheritance();

            return inheritance;
        }