Exemplo 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);
     }
 }
Exemplo n.º 2
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);
     }
 }
Exemplo n.º 3
0
 public ParsedScopeBlock(string name, Token token, ParsedScopeType scopeType) : base(name, token, scopeType)
 {
 }
Exemplo n.º 4
0
 public ParsedScopeSection(string name, Token token, ParsedScopeType scopeType) : base(name, token, scopeType)
 {
 }
Exemplo n.º 5
0
 protected ParsedScope(string name, Token token, ParsedScopeType scopeType)
     : base(name, token)
 {
     ScopeType        = scopeType;
     EndBlockPosition = -1;
 }
Exemplo n.º 6
0
 protected ParsedInterface(string name, Token token, ParsedScopeType scopeType, string inherits)
     : base(name, token, scopeType)
 {
     Inherits = inherits;
     Members  = new List <IParsedClassMember>();
 }
Exemplo n.º 7
0
 protected ParsedScopeItem(string name, Token token, ParsedScopeType scopeType)
     : base(name, token)
 {
     ScopeType = scopeType;
     EndBlockPosition = -1;
 }