5 /*ANTLR Translator Generator
6 * Project led by Terence Parr at http://www.jGuru.com
7 * Software rights: http://www.antlr.org/license.html
13 // ANTLR C# Code Generator by Micheal Jordan
14 // Kunle Odutola : kunle UNDERSCORE odutola AT hotmail DOT com
15 // Anthony Oguntimehin
17 // With many thanks to Eric V. Smith from the ANTLR list.
20 /*This object contains the data associated with an
21 * input stream of tokens. Multiple parsers
22 * share a single ParserSharedInputState to parse
23 * the same stream of tokens.
26 public class ParserSharedInputState
28 /*Where to get token objects */
29 protected internal TokenBuffer input
;
31 /*Are we guessing (guessing>0)? */
32 public int guessing
= 0;
34 /*What file (if known) caused the problem? */
35 protected internal string filename
;
37 public virtual void reset()