private ProductionActionDelegate BuildExecuteRuleAction() { var generator = new ProductionActionGenerator(); var result = new CachedMethod <ProductionActionDelegate>( "Bootstrap." + source.FullLanguageName + ".GrammarActions", (emit, args) => { generator.BuildBody(emit, data, args); return(emit.Ret()); }).Delegate; return(result); }
private ClassSyntax BuildMethod_GrammarAction(ClassSyntax context) { var generator = new ProductionActionGenerator(); return(generator.BuildMethod(context, RuleActionMethodName, data)); }