5 public class MessageEventArgs
: ANTLREventArgs
7 public MessageEventArgs()
10 public MessageEventArgs(int type
, string text
)
12 setValues(type
, text
);
15 public virtual string Text
18 set { this.text_ = value; }
24 public static int WARNING
= 0;
25 public static int ERROR
= 1;
28 /// <summary>This should NOT be called from anyone other than ParserEventSupport!
30 internal void setValues(int type
, string text
)
36 public override string ToString()
38 return "ParserMessageEvent [" + (Type
== WARNING
?"warning,":"error,") + Text
+ "]";