Exemplo n.º 1
0
        public override void ExitRule(IParseTreeListener listener)
        {
            IcalcListener typedListener = listener as IcalcListener;

            if (typedListener != null)
            {
                typedListener.ExitParens(this);
            }
        }
Exemplo n.º 2
0
        public override void EnterRule(IParseTreeListener listener)
        {
            IcalcListener typedListener = listener as IcalcListener;

            if (typedListener != null)
            {
                typedListener.EnterFactorToNum(this);
            }
        }
Exemplo n.º 3
0
        public override void ExitRule(IParseTreeListener listener)
        {
            IcalcListener typedListener = listener as IcalcListener;

            if (typedListener != null)
            {
                typedListener.ExitFactorPowopNegate(this);
            }
        }
Exemplo n.º 4
0
        public override void EnterRule(IParseTreeListener listener)
        {
            IcalcListener typedListener = listener as IcalcListener;

            if (typedListener != null)
            {
                typedListener.EnterAddopNegate(this);
            }
        }
Exemplo n.º 5
0
        public override void ExitRule(IParseTreeListener listener)
        {
            IcalcListener typedListener = listener as IcalcListener;

            if (typedListener != null)
            {
                typedListener.ExitProductMultiplyNegate(this);
            }
        }
Exemplo n.º 6
0
        public override void EnterRule(IParseTreeListener listener)
        {
            IcalcListener typedListener = listener as IcalcListener;

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