Beispiel #1
0
        public SymbolInstance Construct(JsSymbol symbol)
        {
            var instance = new SymbolInstance(Engine)
            {
                _prototype = PrototypeObject,
                SymbolData = symbol
            };

            return(instance);
        }
Beispiel #2
0
        public SymbolInstance Construct(JsSymbol symbol)
        {
            var instance = new SymbolInstance(Engine)
            {
                Prototype  = PrototypeObject,
                SymbolData = symbol,
                Extensible = true
            };

            return(instance);
        }