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); } }
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); } }
public ParsedScopeBlock(string name, Token token, ParsedScopeType scopeType) : base(name, token, scopeType) { }
public ParsedScopeSection(string name, Token token, ParsedScopeType scopeType) : base(name, token, scopeType) { }
protected ParsedScope(string name, Token token, ParsedScopeType scopeType) : base(name, token) { ScopeType = scopeType; EndBlockPosition = -1; }
protected ParsedInterface(string name, Token token, ParsedScopeType scopeType, string inherits) : base(name, token, scopeType) { Inherits = inherits; Members = new List <IParsedClassMember>(); }
protected ParsedScopeItem(string name, Token token, ParsedScopeType scopeType) : base(name, token) { ScopeType = scopeType; EndBlockPosition = -1; }