Esempio n. 1
0
        private Expression2 ParseExpression2()
        {
            Expression3 expression3 = ParseExpression3();
            Operator2   operator2   = null;
            Expression1 expression1 = null;

            if (Token.TokenType.OPERATOR_2 == _currentToken.TheTokenType)
            {
                operator2   = new Operator2(Accept(Token.TokenType.OPERATOR_2));
                expression1 = ParseExpression1();
            }

            return(new Expression2(expression3, operator2, expression1));
        }
Esempio n. 2
0
 public Expression2(Expression3 expression3, Operator2 operator2, Expression1 expression1)
 {
     Expression3 = expression3;
     Operator2   = operator2;
     Expression1 = expression1;
 }