예제 #1
0
        public Namespace(Scopes.Scope parent, Access access, string name, Token[] tokens)
            : base(parent, name, access)
        {
            Access      = access;
            Name        = name;
            this.Tokens = tokens;

            Scope = new Scopes.Scope(parent, this);
        }
예제 #2
0
        public Namespace() : base(null, "public")
        {
            Scope  = new Scopes.Scope(null, this);
            Global = this;

            InitPrimitives();
            InitNativeFunctions();
            InitNativeTypes();
        }