public BootstrapLanguage(CilGrammarSource source, LanguageData data) { this.source = source; this.data = data; this.grammarAction = BuildExecuteRuleAction(); this.merge = (int token, object x, object y, object context, IStackLookback <Msg> stackLookback) => y; }
public ActionProducer( RuntimeGrammar grammar, object context, ProductionActionDelegate grammarAction, MergeDelegate merge) : base(grammar, context, grammarAction) { this.grammar = grammar; this.context = context; this.grammarAction = grammarAction; this.merge = merge; this.ruleArgBuffer = new object[grammar.MaxRuleSize]; }
public ActionEpsilonProducer(RuntimeGrammar grammar, object context, ProductionActionDelegate productionAction) { this.grammar = grammar; this.context = context; this.productionAction = productionAction; }