LuaObject.ref constructor
LuaObject.ref(
- LuaObject src
See toRef. Note that the runtime id will be prefixed with meta information to assist debugging call stacks.
Does NOT adopt the
srcobject's attributes and sets it to null.
Implementation
LuaObject.ref(LuaObject src) : id = 'ref_${src.id}', attr = null, super() {
_fields = null;
funcDef = null;
scope = null;
_value = src;
}