コード例 #1
0
        public GeneratorExpressionProcessor(CompilerContext context,
                                            ForeignReferenceCollector collector,
                                            GeneratorExpression node)
        {
            _collector = collector;
            _generator = node;
            _skeleton  = My <GeneratorSkeletonBuilder> .Instance.SkeletonFor(node, node.GetAncestor <Method>());

            Initialize(context);
        }
コード例 #2
0
 public MethodInvocationExpression CreateEnumerableConstructorInvocation()
 {
     return(_collector.CreateConstructorInvocationWithReferencedEntities(
                _skeleton.GeneratorClassBuilder.Entity,
                _generator.GetAncestor <Method>()));
 }