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