public SyntaxFilterBinaryExpression(ISyntaxFilterExpression left, SyntaxFilterBinaryOperator @operator, ISyntaxFilterExpression right) { Left = left; Operator = @operator; Right = right; }
private static OperatorTableRow <char, ISyntaxFilterExpression> BinaryOperator(string token, SyntaxFilterBinaryOperator @operator) { return(Operator.Binary( BinaryOperatorType.LeftAssociative, Try(String(token).Between(SkipWhitespaces)).Then(Return <Func <ISyntaxFilterExpression, ISyntaxFilterExpression, ISyntaxFilterExpression> >( (left, right) => new SyntaxFilterBinaryExpression(left, @operator, right) )) )); }