use of org.apache.sysml.parser.RelationalExpression in project incubator-systemml by apache.
the class CommonSyntacticValidator method relationalExpressionHelper.
protected void relationalExpressionHelper(ParserRuleContext ctx, ExpressionInfo left, ExpressionInfo right, ExpressionInfo me, String op) {
if (left.expr != null && right.expr != null) {
Expression.RelationalOp rop = Expression.getRelationalOp(op);
RelationalExpression re = new RelationalExpression(rop);
re.setLeft(left.expr);
re.setRight(right.expr);
me.expr = re;
setFileLineColumn(me.expr, ctx);
}
}
use of org.apache.sysml.parser.RelationalExpression in project systemml by apache.
the class CommonSyntacticValidator method relationalExpressionHelper.
protected void relationalExpressionHelper(ParserRuleContext ctx, ExpressionInfo left, ExpressionInfo right, ExpressionInfo me, String op) {
if (left.expr != null && right.expr != null) {
Expression.RelationalOp rop = Expression.getRelationalOp(op);
RelationalExpression re = new RelationalExpression(rop);
re.setLeft(left.expr);
re.setRight(right.expr);
me.expr = re;
setFileLineColumn(me.expr, ctx);
}
}
Aggregations