@Test public void resolve_from_empty_tuple() { assertEquals(ExprValueUtils.LITERAL_MISSING, BindingTuple.EMPTY.resolve(DSL.ref("ip_missing", STRING))); }
@Override public ExprValue resolve(Expression var) { if (var instanceof ReferenceExpression) { return resolve(((ReferenceExpression) var)); } else { throw new ExpressionEvaluationException(String.format("can resolve expression: %s", var)); } }
BindingTuple implements Environment<Expression, ExprValue> { @Override public ExprValue resolve(Expression var) { if (var instanceof ReferenceExpression) { return resolve(((ReferenceExpression) var)); } else { throw new ExpressionEvaluationException(String.format("can resolve expression: %s", var)); } } }
BindingTuple implements Environment<Expression, ExprValue> { @Override public ExprValue resolve(Expression var) { if (var instanceof ReferenceExpression) { return resolve(((ReferenceExpression) var)); } else { throw new ExpressionEvaluationException(String.format("can resolve expression: %s", var)); } }  }
BindingTuple implements Environment<Expression, ExprValue> { @Override public ExprValue resolve(Expression var) { if (var instanceof ReferenceExpression) { return resolve(((ReferenceExpression) var)); } else { throw new ExpressionEvaluationException(String.format("can resolve expression: %s", var)); } }  @Override ExprValue resolve(Expression var); abstract ExprValue resolve(ReferenceExpression ref); }
BindingTuple implements Environment<Expression, ExprValue> { @Override public ExprValue resolve(Expression var) { if (var instanceof ReferenceExpression) { return resolve(((ReferenceExpression) var)); } else { throw new ExpressionEvaluationException(String.format("can resolve expression: %s", var)); } }  @Override ExprValue resolve(Expression var); abstract ExprValue resolve(ReferenceExpression ref); static BindingTuple EMPTY; }