/Dependencies/boo/src/Boo.Lang.Parser/antlr/antlr/TreeParserSharedInputState.cs
C# | 37 lines | 12 code | 5 blank | 20 comment | 0 complexity | 50aa735bd749a7fc1d78cf5764da4262 MD5 | raw file
Possible License(s): GPL-2.0
- using System;
- namespace antlr
- {
- /*ANTLR Translator Generator
- * Project led by Terence Parr at http://www.jGuru.com
- * Software rights: http://www.antlr.org/license.html
- *
- * $Id:$
- */
- //
- // ANTLR C# Code Generator by Micheal Jordan
- // Kunle Odutola : kunle UNDERSCORE odutola AT hotmail DOT com
- // Anthony Oguntimehin
- //
- // With many thanks to Eric V. Smith from the ANTLR list.
- //
- /*This object contains the data associated with an
- * input AST. Multiple parsers
- * share a single TreeParserSharedInputState to parse
- * the same tree or to have the parser walk multiple
- * trees.
- */
- public class TreeParserSharedInputState
- {
- /*Are we guessing (guessing>0)? */
- public int guessing = 0;
- public virtual void reset()
- {
- guessing = 0;
- }
- }
- }