public void Visit(LessThanEqualExpression expression) { var leftArg = new QueryPhaseArgs() { BoolQueryArg = new QueryLessThanEqual() }; VisitChild(expression.Left, leftArg); var rightArg = new QueryPhaseArgs() { BoolQueryArg = new QueryLessThanEqual() }; VisitChild(expression.Right, rightArg); var parentArgs = _visitStack.Peek(); parentArgs.RowResult = ValidateTypes(leftArg.BoolQueryArg, rightArg.BoolQueryArg, (l, r) => l <= r); }
public void Visit(LessThanEqualExpression expression, CommonTree tree) { SetLine(expression, tree); Parent(tree).Children.Add(expression); VisitChildren(tree); }
public void Visit(LessThanEqualExpression expression) { DoBoolean(expression, CodeBinaryOperatorType.LessThanOrEqual); }