Babel.Compiler.TypeManager.InitBuiltinTypes C# (CSharp) Method

InitBuiltinTypes() protected method

protected InitBuiltinTypes ( ) : void
return void
        protected virtual void InitBuiltinTypes()
        {
            obType = AddBuiltinType("$ob", typeof(object));
            boolType = AddBuiltinType("bool", typeof(bool),
                                      typeof(Babel.Core.BOOL));
            intType = AddBuiltinType("int", typeof(int),
                                     typeof(Babel.Core.INT));
            fltType = AddBuiltinType("flt", typeof(float));
            charType = AddBuiltinType("char", typeof(char));
            strType = AddBuiltinType("str", typeof(string),
                                     typeof(Babel.Core.STR));
            voidType = new PredefinedTypeData(this, typeof(void));
            typeDataTable.Add(typeof(void), voidType);
            exceptionType =
                new PredefinedTypeData(this, typeof(System.Exception));
            typeDataTable.Add(typeof(System.Exception), exceptionType);
        }