public TopicSetter(ScriptEngine engine, FuncInst funcInst, DeclInstance.PinDecl pinDecl) : base(engine) { _owner = funcInst; _decl = pinDecl; if ((_decl.flags & DeclInstance.Flags.optional) != DeclInstance.Flags.optional) { _ref = _owner._owner.Get(_decl.name); } else { _owner._owner.Exist(_decl.name, out _ref); } }
public TopicSetter(ScriptEngine engine, FuncInst funcInst, DeclInstance.PinDecl pinDecl) : base(engine) { _owner = funcInst; _decl = pinDecl; if((_decl.flags & DeclInstance.Flags.optional)!=DeclInstance.Flags.optional) { _ref=_owner._owner.Get(_decl.name); } else { _owner._owner.Exist(_decl.name, out _ref); } }