예제 #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();
 }
예제 #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();
 }
예제 #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);
 }
예제 #4
0
 public LuaModule(LVM vm, Module value) : base(vm, Type.Module)
 {
     this.value = value;
     uid        = vm.NewUID();
 }
예제 #5
0
 public LuaFunction(LVM vm, Module module, StackFrame stackFrame) : base(vm, Type.Function)
 {
     this.module     = module;
     this.stackFrame = stackFrame;
     uid             = vm.NewUID();
 }
예제 #6
0
파일: LuaLabel.cs 프로젝트: guojianbin/ELua
 public LuaLabel(LVM vm, string value, int index) : base(vm, Type.Label)
 {
     this.value = value;
     this.index = index;
     uid        = vm.NewUID();
 }