}
public void testAttribute() throws ParseException {
String sql = "SELECT $raw$ FROM $val$ where aaa = '$val$'";
SqlCompiler compiler = new SqlCompiler();
CompiledString compiled = compiler.compileString(sql);
StringBuffer sb = new StringBuffer();
compiled.dump(sb);
System.out.println(sb.toString());
HashMap<String, Object> attributes = new HashMap<String, Object>();
attributes.put("val", "wow");
attributes.put("raw", new Raw("wow"));
sb = new StringBuffer();
compiled.execute(sb, attributes);
String res = sb.toString();
System.out.println(res);
sql = "SELECT wow FROM 'wow' where aaa = '$val$'"; // expected