예제 #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;
 }