public virtual void AddListener(ANTLRToolListener tl) { if (tl != null) { listeners.Add(tl); } }
public virtual void RemoveListener(ANTLRToolListener tl) { listeners.Remove(tl); }
/** For testing */ public Grammar(string grammarText, ANTLRToolListener listener) : this(GRAMMAR_FROM_STRING_NAME, grammarText, listener) { }
public virtual void AddListener(ANTLRToolListener tl) { if (tl != null) listeners.Add(tl); }
public LexerGrammar(string fileName, string grammarText, ANTLRToolListener listener) : base(fileName, grammarText, listener) { }
public LexerGrammar(string grammarText, ANTLRToolListener listener) : base(grammarText, listener) { }