コード例 #1
0
        public override void ExitRule(IParseTreeListener listener)
        {
            IFormulaListener typedListener = listener as IFormulaListener;

            if (typedListener != null)
            {
                typedListener.ExitMethodParameter(this);
            }
        }
コード例 #2
0
        public override void ExitRule(IParseTreeListener listener)
        {
            IFormulaListener typedListener = listener as IFormulaListener;

            if (typedListener != null)
            {
                typedListener.ExitVariableReference(this);
            }
        }
コード例 #3
0
        public override void ExitRule(IParseTreeListener listener)
        {
            IFormulaListener typedListener = listener as IFormulaListener;

            if (typedListener != null)
            {
                typedListener.ExitExpressionPlus(this);
            }
        }
コード例 #4
0
        public override void EnterRule(IParseTreeListener listener)
        {
            IFormulaListener typedListener = listener as IFormulaListener;

            if (typedListener != null)
            {
                typedListener.EnterMethodName(this);
            }
        }
コード例 #5
0
        public override void EnterRule(IParseTreeListener listener)
        {
            IFormulaListener typedListener = listener as IFormulaListener;

            if (typedListener != null)
            {
                typedListener.EnterBracketsExpression(this);
            }
        }
コード例 #6
0
        public override void ExitRule(IParseTreeListener listener)
        {
            IFormulaListener typedListener = listener as IFormulaListener;

            if (typedListener != null)
            {
                typedListener.ExitNumeralValue(this);
            }
        }
コード例 #7
0
        public override void EnterRule(IParseTreeListener listener)
        {
            IFormulaListener typedListener = listener as IFormulaListener;

            if (typedListener != null)
            {
                typedListener.EnterVariableIndex(this);
            }
        }
コード例 #8
0
 internal void DetachFormulaListener(IFormulaListener listener)
 {
     _formulaListeners.Remove(listener);
 }
コード例 #9
0
 internal void RegisterFormulaListener(IFormulaListener listener)
 {
     _formulaListeners.Add(listener);
 }