public static LuaUserdata GetUserdata(this LVM vm, object value) { return(vm.luaPools.GetUserdata(value)); }
public LuaNumber(LVM vm, float value) : base(vm, Type.Number) { this.value = value; }
public static LuaDictItem GetDictItem(this LVM vm, LuaTable table, LuaDict dict, LuaObject key, LuaObject value) { return(vm.luaPools.GetDictItem(table, dict, key, value)); }
public static StackFrame GetStackFrame(this LVM vm, Module module, StackFrame parent, StackFrame upvalue) { return(vm.luaPools.GetStackFrame(module, parent, upvalue)); }
protected LuaObject(LVM vm, Type type) { this.vm = vm; this.type = type; }
public LuaPools(LVM vm) { this.vm = vm; }
public static LuaFunction GetFunction(this LVM vm, Module value, StackFrame stackFrame) { return(vm.luaPools.GetFunction(value, stackFrame)); }
public LuaNative(LVM vm, string name, Action <StackFrame, LuaObject[]> func) : base(vm, Type.Native) { this.name = name; this.func = func; uid = vm.NewUID(); }
public static LuaString GetString(this LVM vm, string value) { return(vm.luaPools.GetString(value)); }
public static LuaVar GetVar(this LVM vm, string value, LuaBinder binder) { return(vm.luaPools.GetVar(value, binder)); }
public static LuaBoolean GetBoolean(this LVM vm, bool value) { return(vm.luaPools.GetBoolean(value)); }
public static LuaNumber GetNumber(this LVM vm, float value) { return(vm.luaPools.GetNumber(value)); }
public LuaList(LVM vm, LuaTable table) { this.vm = vm; this.table = table; }
public LuaUserdata(LVM vm, object value) : base(vm, Type.Userdata) { this.value = value; uid = vm.NewUID(); }
public static LuaTable GetTable(this LVM vm) { return(vm.luaPools.GetTable()); }
public Executor(StackFrame stackFrame) { this.stackFrame = stackFrame; uid = stackFrame.uid; vm = stackFrame.vm; }
public static LuaTuple GetTuple(this LVM vm, IEnumerable <LuaObject> list) { return(vm.luaPools.GetTuple(list)); }
public LuaTable(LVM vm) : base(vm, Type.Table) { uid = vm.NewUID(); list = new LuaList(vm, this); dict = new LuaDict(vm, this); }
public static LuaListItem GetListItem(this LVM vm, LuaTable table, LuaList list, int index, LuaObject value) { return(vm.luaPools.GetListItem(table, list, index, value)); }
public LuaTuple(LVM vm, IEnumerable <LuaObject> list) : base(vm, Type.Tuple) { uid = vm.NewUID(); AddRange(list); }
public SyntaxContext(Parser parser, List <Expression> list) { this.parser = parser; this.list = list; vm = parser.vm; }