Beispiel #1
0
        public override void Visit(IFuncSeparatorToken t)
        {
            // Get operators of subexpression
            List <IToken> subExpOperators = Utills.MoveUntil(m_operators, m_lbracketPr);

            // Add operators to the result(RPN) list
            m_resultTokens.AddRange(subExpOperators);
        }
        public override void Visit(IFuncSeparatorToken t)
        {
            if (m_edgesCurrent.Execute(t) && m_functions.Count > 0)
            {
                m_edgesCurrent = m_edgesFuncSeparator;

                FunctionArgLeave();
            }
            else
            {
                ThrowException(t);
            }
        }
Beispiel #3
0
 public virtual void Visit(IFuncSeparatorToken t)
 {
 }