public override void ExitRule(IParseTreeListener listener) { IAccountingListener typedListener = listener as IAccountingListener; if (typedListener != null) { typedListener.ExitAmount(this); } }
public override void EnterRule(IParseTreeListener listener) { IAccountingListener typedListener = listener as IAccountingListener; if (typedListener != null) { typedListener.EnterEmployee(this); } }