public ParserGen(Parser parser) { tab = parser.tab; errors = parser.errors; trace = parser.trace; buffer = parser.scanner.buffer; errorNr = -1; usingPos = null; }
string tokenString; // used in declarations of literal tokens #endregion Fields #region Constructors /*-------------------------------------------------------------------------*/ public Parser(Scanner scanner) { this.scanner = scanner; errors = new Errors(); }
public DFA(Parser parser) { this.parser = parser; tab = parser.tab; errors = parser.errors; trace = parser.trace; firstState = null; lastState = null; lastStateNr = -1; firstState = NewState(); firstMelted = null; firstComment = null; ignoreCase = false; dirtyDFA = false; hasCtxMoves = false; }
public Tab(Parser parser) { this.parser = parser; trace = parser.trace; errors = parser.errors; eofSy = NewSym(Node.t, "EOF", 0); dummyNode = NewNode(Node.eps, null, 0); literals = new Hashtable(); }
protected AbstractParserGen(Parser parser) { this.errors = parser.errors; this.buffer = parser.scanner.buffer; this.tab = parser.tab; }
BitArray visited; //!< mark list for graph traversals #endregion Fields #region Constructors public Tab(Parser parser) { this.parser = parser; errors = parser.errors; buffer = parser.scanner.buffer; eofSy = NewSym(Node.t, "EOF", 0); dummyNode = NewNode(Node.eps); ignored = new CharSet(); literals = new Hashtable(); }
public ParserOutput(Tab tab, Errors errors, TextWriter trace, Buffer buffer, Position uspos) { this.tab = tab; this.errors = errors; this.trace = trace; this.buffer = buffer; this.usingPos = uspos; errorNr = -1; }