}
public static LinkedListTree parseForCond(String expr) {
AS3Parser parser = ASTUtils.parse(expr + ";");
try {
LinkedListTree result = tree(parser.forCond());
ensureRemainingInputIs(parser.getTokenStream(), AS3Parser.SEMI, expr);
return result;
} catch (RecognitionException e) {
throw new SyntaxException(e);
}