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