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