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 ParsedClassEvent(string name, Token token, ParsedScope parentScope, string returnType) : base(name, token, parentScope, ParseDefineType.Event, "") { ReturnType = returnType; }
public ParsedProperty(string name, Token token, ParsedScope parentScope, string tempPrimitiveType) : base(name, token, parentScope, ParseDefineType.Property, tempPrimitiveType) { GetString = ""; SetString = ""; }
public ParsedDestructor(string name, Token token, ParsedScope parentScope) : base(name, token, ParsedScopeType.Constructor, parentScope) { }
public ParsedMethod(string name, Token token, ParsedScope parentScope, string returnType) : base(name, token, ParsedScopeType.Method, parentScope) { TempReturnType = returnType; }
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); } }