5 public class SemanticPredicateEventArgs
: GuessingEventArgs
7 public SemanticPredicateEventArgs()
10 public SemanticPredicateEventArgs(int type
) : base(type
)
14 public virtual int Condition
16 get { return this.condition_; }
17 set { this.condition_ = value; }
20 public virtual bool Result
22 get { return this.result_; }
23 set { this.result_ = value; }
26 public const int VALIDATING
= 0;
27 public const int PREDICTING
= 1;
29 private int condition_
;
33 /// <summary>This should NOT be called from anyone other than ParserEventSupport!
35 internal void setValues(int type
, int condition
, bool result
, int guessing
)
37 base.setValues(type
, guessing
);
38 this.Condition
= condition
;
42 public override string ToString()
44 return "SemanticPredicateEvent [" + Condition
+ "," + Result
+ "," + Guessing
+ "]";