Example #1
0
 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);
 }
Example #2
0
 public PrimitiveType Key() => current.Key();
Example #3
0
 public StackItem Value()
 {
     return(iterator.Key());
 }
 public StackItem Key() => current.Key();
 public StackItem Value()
 {
     TR.Enter();
     return(TR.Exit(iterator.Key()));
 }
Example #6
0
 public StackItem Key()
 {
     return(current.Key());
 }