Exemplo n.º 1
0
 public Enumerator(RuntimeVariables dictionary, int getEnumeratorRetType)
 {
     this.dictionary           = dictionary;
     version                   = dictionary.version;
     index                     = 0;
     this.getEnumeratorRetType = getEnumeratorRetType;
     current                   = new KeyValuePair <string, object>();
 }
 /// <summary>
 /// New runtime evaluation with local values
 /// </summary>
 public RuntimeCompiler(object target, RuntimeVariables locals)
 {
     m_global    = target;
     this.locals = locals;
 }
Exemplo n.º 3
0
 public RuntimeScope(RuntimeVariables locals)
 {
     this.locals    = locals;
     locals.current = new VariableIndexList(locals.current, 0);
 }
 /// <summary>
 /// New runtime evaluation
 /// </summary>
 /// <param name="target">Global target for execution</param>
 public RuntimeCompiler(object target)
 {
     m_global = target;
     locals   = new RuntimeVariables();
 }