예제 #1
0
파일: ParsedItem.cs 프로젝트: niandy/3P
 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);
     }
 }
예제 #2
0
파일: ParsedItem.cs 프로젝트: niandy/3P
 public ParsedClassEvent(string name, Token token, ParsedScope parentScope, string returnType)
     : base(name, token, parentScope, ParseDefineType.Event, "")
 {
     ReturnType = returnType;
 }
예제 #3
0
파일: ParsedItem.cs 프로젝트: niandy/3P
 public ParsedProperty(string name, Token token, ParsedScope parentScope, string tempPrimitiveType)
     : base(name, token, parentScope, ParseDefineType.Property, tempPrimitiveType)
 {
     GetString = "";
     SetString = "";
 }
예제 #4
0
파일: ParsedItem.cs 프로젝트: niandy/3P
 public ParsedDestructor(string name, Token token, ParsedScope parentScope)
     : base(name, token, ParsedScopeType.Constructor, parentScope)
 {
 }
예제 #5
0
파일: ParsedItem.cs 프로젝트: niandy/3P
 public ParsedMethod(string name, Token token, ParsedScope parentScope, string returnType)
     : base(name, token, ParsedScopeType.Method, parentScope)
 {
     TempReturnType = returnType;
 }
예제 #6
0
파일: ParsedItem.cs 프로젝트: niandy/3P
 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);
     }
 }