Added ability to order the execution of dictionary adapter behaviors.
[castle.git] / Experiments / Attic / Rook / Castle.Rook.Compiler / Parser / antlr / debug / SemanticPredicateEventArgs.cs
blob036c91e92832d6fa5eeee429cbef2d1e65e1b62f
1 namespace antlr.debug
3 using System;
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_;
30 private bool result_;
33 /// <summary>This should NOT be called from anyone other than ParserEventSupport!
34 /// </summary>
35 internal void setValues(int type, int condition, bool result, int guessing)
37 base.setValues(type, guessing);
38 this.Condition = condition;
39 this.Result = result;
42 public override string ToString()
44 return "SemanticPredicateEvent [" + Condition + "," + Result + "," + Guessing + "]";