code: public static void main(String... args) throws Exception {
  
          // 编译下列语句
          ExqlPattern pattern = ExqlPatternImpl
                  .compile("SELECT #(:expr1.length()), :expr2.class.name,"
                          + " ##(:expr3) WHERE #if(:expr4) {e = :expr4} #else {e IS NULL}"
                          + "#for(variant in :expr5.bytes) { AND c = :variant}" // NL
                          + " GROUP BY #!(:expr1) ASC {expr3}");
  
          ExqlContext context = new ExqlContextImpl();
  
          HashMap<String, Object> map = new HashMap<String, Object>();
  
          map.put("expr1", "expr1");
          map.put("expr2", "expr2");
          map.put("expr3", "expr3");
          map.put("expr4", "expr4");
          map.put("expr5", "expr5");
          pattern.execute(context, map);
          System.out.println(context.flushOut());
          System.out.println(Arrays.toString(context.getArgs()));
      }
docs: 进行简单测试