Esempio n. 1
0
 public ParsedClassDefine(string name, Token token, ParsedScope parentScope, ParseDefineType parseDefineType, string tempPrimitiveType)
     : base(name, token, ParsedAsLike.None, "", parseDefineType, tempPrimitiveType, "", 0)
 {
     ClassName       = parentScope.Name;
     ParentScopeType = parentScope.ScopeType;
     if ((parentScope.ScopeType == ParsedScopeType.Class) || (parentScope.ScopeType == ParsedScopeType.Interface))
     {
         (parentScope as ParsedInterface).Members.Add(this);
     }
 }
Esempio n. 2
0
 public ParsedClassEvent(string name, Token token, ParsedScope parentScope, string returnType)
     : base(name, token, parentScope, ParseDefineType.Event, "")
 {
     ReturnType = returnType;
 }
Esempio n. 3
0
 public ParsedProperty(string name, Token token, ParsedScope parentScope, string tempPrimitiveType)
     : base(name, token, parentScope, ParseDefineType.Property, tempPrimitiveType)
 {
     GetString = "";
     SetString = "";
 }
Esempio n. 4
0
 public ParsedDestructor(string name, Token token, ParsedScope parentScope)
     : base(name, token, ParsedScopeType.Constructor, parentScope)
 {
 }
Esempio n. 5
0
 public ParsedMethod(string name, Token token, ParsedScope parentScope, string returnType)
     : base(name, token, ParsedScopeType.Method, parentScope)
 {
     TempReturnType = returnType;
 }
Esempio n. 6
0
 public ParsedClassMember(string name, Token token, ParsedScopeType scopeType, ParsedScope parentScope)
     : base(name, token, scopeType)
 {
     ClassName       = parentScope.Name;
     ParentScopeType = parentScope.ScopeType;
     if ((parentScope.ScopeType == ParsedScopeType.Class) || (parentScope.ScopeType == ParsedScopeType.Interface))
     {
         (parentScope as ParsedInterface).Members.Add(this);
     }
 }