示例#1
0
 private void LoadCPrimitiveTypeSymbols()
 {
     foreach (var type in CPrimitiveTypeUtil.Types)
     {
         m_Tree.GlobalSymbols.TryAdd(new TypeSymbol {
             Primitive = type, Name = CPrimitiveTypeUtil.GetName(type)
         });
     }
 }
示例#2
0
 private TypeSymbol FindSymbol(CPrimitiveType basic)
 {
     return(m_Tree.GlobalSymbols.Get(CPrimitiveTypeUtil.GetName(basic)) as TypeSymbol);
 }