protected void applyBadExp(ScopedName op, Object[] operands) { ExpressionPtr exp = new ExpressionPtr(op, operands); try { eb.apply(exp); assertTrue(false); } catch (ApologyException ae) { d.msg(Debug.COMPILE, EX_AP + ae.getMessage()); } }
protected ExpressionNode applyExp(ScopedName op, Object[] operands) { ExpressionPtr exp = new ExpressionPtr(op, operands); eb.apply(exp); return exp.get(); }