public ProductionActionTypeContext(TypeTable typeTable, INoAction noAction) { this.typeTable = typeTable; this.noAction = noAction; missing = new MissingReferenceTable(); }
public DefinitionActionTypeContext(TypeTable typeTable, MissingReferenceTable missing, INoAction noAction, string productionName) { this.typeTable = typeTable; this.missing = missing; this.noAction = noAction; this.productionName = productionName; }
public GrammarBuilder(Logger logger, ParseTree.Identifier start) { this.logger = logger; this.start = start; noAction = new FirstNoAction(); symbols = new SymbolTable(); TypeTable = new TypeTable(); productions = new List <Production>(); }
public ReduceContext(TypeTable typeTable, ITerminals terminals, ActionExpr action, INoAction noAction, int id) { this.typeTable = typeTable; this.terminals = terminals; this.action = action; this.noAction = noAction; Id = id; }
public GrammarBuilder Options(Options options) { options.TryGet("no_action", out var value); if (value.EqualsI("null")) { noAction = new NullNoAction(); } else if (value.EqualsI("tuple")) { noAction = new TupleNoAction(); } return(this); }