Example #1
0
        public override void ExitRule(IParseTreeListener listener)
        {
            IAccountingListener typedListener = listener as IAccountingListener;

            if (typedListener != null)
            {
                typedListener.ExitAmount(this);
            }
        }
Example #2
0
        public override void EnterRule(IParseTreeListener listener)
        {
            IAccountingListener typedListener = listener as IAccountingListener;

            if (typedListener != null)
            {
                typedListener.EnterEmployee(this);
            }
        }