throw new UnsupportedOperationException();
}
public static void main(String[] args) throws Exception {
String expr = "if( a == 1) then 4 else 2 end";
ExprLexer lexer = new ExprLexer(new ANTLRStringStream(expr));
CommonTokenStream tokens = new CommonTokenStream(lexer);
ExprParser parser = new ExprParser(tokens);
LogicalExpression e = parser.parse().e;
RecordPointer r = new UnbackedRecord();
r.addField(new SchemaPath("a", ExpressionPosition.UNKNOWN), new IntegerScalar(3));