Inheritance: HIteratorBase
 public override IDynamic CreateIterator(IEnvironment environment, IArgs args)
 {
     var scope = Scope.NewDeclarativeEnvironment();
     var generator = new Generator(new GeneratorSteps(Steps));
     var iterator = new HGeneratorIterator(environment, generator, VariableDeclarations, scope);
     return iterator;
 }
Beispiel #2
0
        public override IDynamic CreateIterator(IEnvironment environment, IArgs args)
        {
            var scope     = Scope.NewDeclarativeEnvironment();
            var generator = new Generator(new GeneratorSteps(Steps));
            var iterator  = new HGeneratorIterator(environment, generator, VariableDeclarations, scope);

            return(iterator);
        }