FilteringTokenStream tokens = new FilteringTokenStream(lexEngine);
tokens.setTokenTypeChannel(g.getTokenType("WS"), 99);
//System.out.println("tokens="+tokens.toString());
Interpreter parseEngine = new Interpreter(pg, tokens);
ParseTree t = parseEngine.parse("prog");
String result = t.toStringTree();
String expecting =
"(<grammar p> (prog while x { (assign i = (expr 1) ;) (assign y = (expr 3.42) ;) (assign z = (expr y) ;) } <EOF>))";
assertEquals(expecting, result);
}