示例#1
0
        public virtual void  addParserListener(ParserListener l)
        {
            if (l is ParserController)
            {
                //((ParserController) l).ParserEventSupport = this;
                //controller = (ParserController) l;
            }
            addParserMatchListener(l);
            addParserTokenListener(l);

            addMessageListener(l);
            addTraceListener(l);
            addSemanticPredicateListener(l);
            addSyntacticPredicateListener(l);
        }
		public virtual void  addParserListener(ParserListener l)
		{
			if (l is ParserController)
			{
				((ParserController) l).ParserEventSupport = this;
				controller = (ParserController) l;
			}
			addParserMatchListener(l);
			addParserTokenListener(l);
			
			addMessageListener(l);
			addTraceListener(l);
			addSemanticPredicateListener(l);
			addSyntacticPredicateListener(l);
		}
示例#3
0
 public override void  addParserListener(ParserListener l)
 {
     parserEventSupport.addParserListener(l);
 }
示例#4
0
 public override void  removeParserListener(ParserListener l)
 {
     parserEventSupport.removeParserListener(l);
 }
 public virtual void  addParserListener(ParserListener l)
 {
     eventSupport.addParserListener(l);
 }
 public virtual void  removeParserListener(ParserListener l)
 {
     eventSupport.removeParserListener(l);
 }
 public virtual void removeParserListener(ParserListener l)
 {
     removeParserMatchListener(l);
     removeMessageListener(l);
     removeParserTokenListener(l);
     removeTraceListener(l);
     removeSemanticPredicateListener(l);
     removeSyntacticPredicateListener(l);
 }
 public override void addParserListener(ParserListener l)
 {
     parserEventSupport.addParserListener(l);
 }
 public override void removeParserListener(ParserListener l)
 {
     parserEventSupport.removeParserListener(l);
 }
示例#10
0
		public virtual void  addParserListener(ParserListener l)
		{
			eventSupport.addParserListener(l);
		}
示例#11
0
		public virtual void  removeParserListener(ParserListener l)
		{
			eventSupport.removeParserListener(l);
		}
示例#12
0
 public virtual void removeParserListener(ParserListener l)
 {
     if (!ignoreInvalidDebugCalls)
         throw new System.SystemException("removeParserListener() is only valid if parser built for debugging");
 }
示例#13
0
 public virtual void addParserListener(ParserListener l)
 {
     if (!ignoreInvalidDebugCalls)
         throw new System.ArgumentException("addParserListener() is only valid if parser built for debugging");
 }