예제 #1
0
 public virtual void AddListener(ANTLRToolListener tl)
 {
     if (tl != null)
     {
         listeners.Add(tl);
     }
 }
예제 #2
0
 public virtual void RemoveListener(ANTLRToolListener tl)
 {
     listeners.Remove(tl);
 }
예제 #3
0
 public virtual void RemoveListener(ANTLRToolListener tl)
 {
     listeners.Remove(tl);
 }
예제 #4
0
 /** For testing */
 public Grammar(string grammarText, ANTLRToolListener listener)
     : this(GRAMMAR_FROM_STRING_NAME, grammarText, listener)
 {
 }
예제 #5
0
 public virtual void AddListener(ANTLRToolListener tl)
 {
     if (tl != null)
         listeners.Add(tl);
 }
예제 #6
0
 public LexerGrammar(string fileName, string grammarText, ANTLRToolListener listener)
     : base(fileName, grammarText, listener)
 {
 }
예제 #7
0
 public LexerGrammar(string grammarText, ANTLRToolListener listener)
     : base(grammarText, listener)
 {
 }
예제 #8
0
 public LexerGrammar(string fileName, string grammarText, ANTLRToolListener listener)
     : base(fileName, grammarText, listener)
 {
 }
예제 #9
0
 public LexerGrammar(string grammarText, ANTLRToolListener listener)
     : base(grammarText, listener)
 {
 }