public override void EnterRule(IParseTreeListener listener) { IGravisListener typedListener = listener as IGravisListener; if (typedListener != null) { typedListener.EnterOutput_def(this); } }