Exemplo n.º 1
0
        public InterfaceSymbol(
            string name,
            IList <InterfaceSymbol> inherits = null
            )
            : base(name)
        {
            this.type    = new TypeProxy(this);
            this.members = new SymbolsStorage(this);

            SetInherits(inherits);
        }
Exemplo n.º 2
0
        public ClassSymbol(
            string name,
            ClassSymbol super_class,
            IList <InterfaceSymbol> implements = null,
            VM.ClassCreator creator            = null
            )
            : base(name)
        {
            this.members = new SymbolsStorage(this);
            this.type    = new TypeProxy(this);
            this.creator = creator;

            SetSuperClass(super_class);
            SetImplements(implements);
        }
Exemplo n.º 3
0
 public Scope(IScope fallback = null)
 {
     members       = new SymbolsStorage(this);
     this.fallback = fallback;
 }