public TerminalNode addChild(Token matchedToken) {TerminalNodeImpl t = new TerminalNodeImpl(matchedToken);addAnyChild(t);t.setParent(this);return t;}

public virtual ITerminalNode AddChild(IToken matchedToken){TerminalNodeImpl t = new TerminalNodeImpl(matchedToken);AddChild(t);t.Parent = this;return t;}
