private static void initExpressionBinary(SBinaryExp result, PExp left, LexToken op, PExp right) { initExpression(result, op.location); result.setLeft(left); result.setOp(op); result.setRight(right); }
static void initExpressionBinary(SBinaryExp result, PExp left, ILexToken op, PExp right) { initExpression(result, op.getLocation()); result.setLeft(left); result.setOp(op); result.setRight(right); }
@Override public PExp defaultSBinaryExp(SBinaryExp node, Substitution question) throws AnalysisException { PExp subl = node.getLeft().clone().apply(main, question); PExp subr = node.getRight().clone().apply(main, question); node.setLeft(subl.clone()); node.setRight(subr.clone()); return node; }