source: trunk/yao/share/antlr-2.7.7/lib/csharp/antlr.runtime/antlr.debug/GuessingEventArgs.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: 554 bytes
Line 
1namespace antlr.debug
2{
3        using System;
4       
5        public abstract class GuessingEventArgs : ANTLREventArgs
6        {
7                public GuessingEventArgs()
8                {
9                }
10                public GuessingEventArgs(int type) : base(type)
11                {
12                }
13
14                public virtual int Guessing
15                {
16                        get     { return guessing_;                     }
17                        set     { this.guessing_ = value;       }
18                }
19
20                private int guessing_;
21               
22               
23                /// <summary>This should NOT be called from anyone other than ParserEventSupport!
24                /// </summary>
25                public virtual void  setValues(int type, int guessing)
26                {
27                        setValues(type);
28                        this.Guessing = guessing;
29                }
30        }
31}
Note: See TracBrowser for help on using the repository browser.