// k, v, iter = ITER( x, iter ) internal override bool Iterate(DataStack ds) { if (_data.Current == null) { return(false); } ds.Push(this); ds.Push(_data.Current); ds.Push(new ValueInteger32(_index)); return(true); }
// k, v, iter = ITER( x, iter ) internal override bool Iterate(DataStack ds) { if (_data.Current.Equals(nullKV)) { return(false); } ds.Push(this); var kv = _data.Current; ds.Push(kv.Value); ds.Push(kv.Key); return(true); }
void ObjectListToDataStack(object[] paramToExec) { if (paramToExec == null) { return; } // 参数转到栈上 foreach (var obj in paramToExec) { var v = Convertor.NativeValueToValue(obj); _dataStack.Push(v); } }