public ScannerEventSupport(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 virtual void  parserConsume(object source, TokenEventArgs e)
 {
     System.Console.Out.WriteLine(indentString + e);
 }
Пример #3
0
 /// <summary>
 /// Handle the "ParserLA" event.
 /// </summary>
 /// <param name="source">Event source object</param>
 /// <param name="e">Event data object</param>
 public virtual void  parserLA(object source, TokenEventArgs e)
 {
 }
Пример #4
0
 /// <summary>
 /// Handle the "Consume" event.
 /// </summary>
 /// <param name="source">Event source object</param>
 /// <param name="e">Event data object</param>
 public virtual void  parserConsume(object source, TokenEventArgs e)
 {
 }