Ejemplo n.º 1
0
 public LuaVar(LVM vm, string name, LuaBinder binder) : base(vm, Type.Var)
 {
     this.name   = name;
     this.binder = binder;
     target      = binder.target;
     uid         = vm.NewUID();
 }
Ejemplo n.º 2
0
 public LuaDictItem(LVM vm, LuaTable table, LuaDict dict, LuaObject key, LuaObject value) : base(vm, Type.DictItem)
 {
     this.table = table;
     this.dict  = dict;
     this.key   = key;
     this.value = value;
     uid        = vm.NewUID();
 }
Ejemplo n.º 3
0
 public LuaListItem(LVM vm, LuaTable table, LuaList list, int index, LuaObject value) : base(vm, Type.ListItem)
 {
     this.table = table;
     this.list  = list;
     this.index = index;
     this.value = value;
     uid        = vm.NewUID();
     lindex     = vm.GetNumber(index + 1);
 }
Ejemplo n.º 4
0
 public LuaModule(LVM vm, Module value) : base(vm, Type.Module)
 {
     this.value = value;
     uid        = vm.NewUID();
 }
Ejemplo n.º 5
0
 public LuaFunction(LVM vm, Module module, StackFrame stackFrame) : base(vm, Type.Function)
 {
     this.module     = module;
     this.stackFrame = stackFrame;
     uid             = vm.NewUID();
 }
Ejemplo n.º 6
0
 public LuaLabel(LVM vm, string value, int index) : base(vm, Type.Label)
 {
     this.value = value;
     this.index = index;
     uid        = vm.NewUID();
 }