public GeneratorExpressionProcessor(CompilerContext context, ForeignReferenceCollector collector, GeneratorExpression node) { _collector = collector; _generator = node; _skeleton = My <GeneratorSkeletonBuilder> .Instance.SkeletonFor(node, node.GetAncestor <Method>()); Initialize(context); }
public MethodInvocationExpression CreateEnumerableConstructorInvocation() { return(_collector.CreateConstructorInvocationWithReferencedEntities( _skeleton.GeneratorClassBuilder.Entity, _generator.GetAncestor <Method>())); }