예제 #1
0
 public IAnalysisResult GetMember(GetMemberInput input)
 {
     if (MemberDictionary.Count == 0 && MimicTableName != null)
     {
         return(null);
     }
     else
     {
         VariableDef varDef = null;
         MemberDictionary.TryGetValue(input.Name, out varDef);
         return(varDef);
     }
 }
예제 #2
0
 public IAnalysisResult GetMember(string name, Genero4glAst ast, out IGeneroProject definingProject, out IProjectEntry projEntry, bool function)
 {
     definingProject = null;
     projEntry       = null;
     if (MemberDictionary.Count == 0 && MimicTableName != null)
     {
         return(null);
     }
     else
     {
         VariableDef varDef = null;
         MemberDictionary.TryGetValue(name, out varDef);
         return(varDef);
     }
 }