Fixing an issue with output parameters that are of type IntPtr
[castle.git] / Experiments / Attic / Rook / Castle.Rook.Compiler / Parser / antlr / ParserSharedInputState.cs
blob1b664db244ff9fc6b48a1b0b58c5ab1d74184073
1 using System;
3 namespace antlr
5 /*ANTLR Translator Generator
6 * Project led by Terence Parr at http://www.jGuru.com
7 * Software rights: http://www.antlr.org/license.html
9 * $Id:$
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()
39 guessing = 0;
40 filename = null;
41 input.reset();