Beispiel #1
0
 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;
 }
Beispiel #2
0
 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;
 }
 public ActionEpsilonProducer(RuntimeGrammar grammar, object context, ProductionActionDelegate productionAction)
 {
     this.grammar          = grammar;
     this.context          = context;
     this.productionAction = productionAction;
 }