Esempio n. 1
0
        public override void ExitRule(IParseTreeListener listener)
        {
            IAccountingListener typedListener = listener as IAccountingListener;

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

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