public virtual string GetGrammarName() { ITree t = GetChild(0); if (t != null) return t.Text; return null; }