Boo.Lang.Compiler.Steps.GeneratorExpressionProcessor.CreateEnumerableConstructorInvocation C# (CSharp) Метод

CreateEnumerableConstructorInvocation() публичный Метод

public CreateEnumerableConstructorInvocation ( ) : MethodInvocationExpression
Результат Boo.Lang.Compiler.Ast.MethodInvocationExpression
        public MethodInvocationExpression CreateEnumerableConstructorInvocation()
        {
            return _collector.CreateConstructorInvocationWithReferencedEntities(
                            _enumerable.Entity);
        }

Usage Example

Пример #1
0
        override public void LeaveGeneratorExpression(GeneratorExpression node)
        {
            var collector = new ForeignReferenceCollector();

            collector.CurrentType = (IType)AstUtil.GetParentClass(node).Entity;
            node.Accept(collector);

            var processor = new GeneratorExpressionProcessor(Context, collector, node);

            processor.Run();
            ReplaceCurrentNode(processor.CreateEnumerableConstructorInvocation());
        }
All Usage Examples Of Boo.Lang.Compiler.Steps.GeneratorExpressionProcessor::CreateEnumerableConstructorInvocation