Exemple #1
0
 public ParserEventSupport(object source)
 {
     matchEvent   = new MatchEventArgs();
     messageEvent = new MessageEventArgs();
     tokenEvent   = new TokenEventArgs();
     traceEvent   = new TraceEventArgs();
     semPredEvent = new SemanticPredicateEventArgs();
     synPredEvent = new SyntacticPredicateEventArgs();
     newLineEvent = new NewLineEventArgs();
     listeners    = new Hashtable();
     this.source  = source;
 }
 public ParserEventSupport(object source)
 {
     matchEvent		= new MatchEventArgs();
     messageEvent	= new MessageEventArgs();
     tokenEvent		= new TokenEventArgs();
     traceEvent		= new TraceEventArgs();
     semPredEvent	= new SemanticPredicateEventArgs();
     synPredEvent	= new SyntacticPredicateEventArgs();
     newLineEvent	= new NewLineEventArgs();
     listeners		= new Hashtable();
     this.source		= source;
 }
Exemple #3
0
		public override void  exitRule(object source, TraceEventArgs e)
		{
			dedent();
			System.Console.Out.WriteLine(indentString + e);
		}
		/// <summary>
		/// Handle the "Done" event.
		/// </summary>
		/// <param name="source">Event source object</param>
		/// <param name="e">Event data object</param>
		public virtual void  doneParsing(object source, TraceEventArgs e)
		{
		}
 /// <summary>
 /// Handle the "Done" event.
 /// </summary>
 /// <param name="source">Event source object</param>
 /// <param name="e">Event data object</param>
 public virtual void  doneParsing(object source, TraceEventArgs e)
 {
 }
Exemple #6
0
		/// <summary>
		/// Handle the "ExitRule" event
		/// </summary>
		/// <param name="source">Event source object</param>
		/// <param name="e">Event data object</param>
		public virtual void  exitRule(object source, TraceEventArgs e)
		{
		}
Exemple #7
0
 /// <summary>
 /// Handle the "ExitRule" event
 /// </summary>
 /// <param name="source">Event source object</param>
 /// <param name="e">Event data object</param>
 public virtual void  exitRule(object source, TraceEventArgs e)
 {
 }
Exemple #8
0
 public override void  exitRule(object source, TraceEventArgs e)
 {
     dedent();
     System.Console.Out.WriteLine(indentString + e);
 }