source: trunk/yao/share/antlr-2.7.7/lib/csharp/antlr.runtime/antlr/TreeParserSharedInputState.cs @ 1

Last change on this file since 1 was 1, checked in by lnalod, 15 years ago

Initial import of YAO sources

File size: 833 bytes
Line 
1using System;
2
3namespace antlr
4{
5        /*ANTLR Translator Generator
6        * Project led by Terence Parr at http://www.jGuru.com
7        * Software rights: http://www.antlr.org/license.html
8        *
9        * $Id:$
10        */
11
12        //
13        // ANTLR C# Code Generator by Micheal Jordan
14        //                            Kunle Odutola       : kunle UNDERSCORE odutola AT hotmail DOT com
15        //                            Anthony Oguntimehin
16        //
17        // With many thanks to Eric V. Smith from the ANTLR list.
18        //
19
20        /*This object contains the data associated with an
21        *  input AST.  Multiple parsers
22        *  share a single TreeParserSharedInputState to parse
23        *  the same tree or to have the parser walk multiple
24        *  trees.
25        */
26
27        public class TreeParserSharedInputState
28        {
29                /*Are we guessing (guessing>0)? */
30                public int guessing = 0;
31
32                public virtual void reset()
33                {
34                        guessing = 0;
35                }
36        }
37}
Note: See TracBrowser for help on using the repository browser.