private static bool Iterator_Key(ApplicationEngine engine) { if (engine.CurrentContext.EvaluationStack.Pop() is InteropInterface _interface) { IIterator iterator = _interface.GetInterface <IIterator>(); engine.CurrentContext.EvaluationStack.Push(iterator.Key()); return(true); } return(false); }
public PrimitiveType Key() => current.Key();
public StackItem Value() { return(iterator.Key()); }
public StackItem Key() => current.Key();
public StackItem Value() { TR.Enter(); return(TR.Exit(iterator.Key())); }
public StackItem Key() { return(current.Key()); }