*/
public synchronized static Program parse(Reader reader,
boolean aspTagsAsPhp, PHPVersion phpVersion, boolean useShortTags)
throws Exception {
AST ast = new AST(EMPTY_STRING_READER, phpVersion, false, useShortTags);
final Scanner lexer = getLexer(ast, reader, phpVersion, aspTagsAsPhp,
useShortTags);
final lr_parser phpParser = getParser(phpVersion, ast);
phpParser.setScanner(lexer);
final Symbol symbol = phpParser.parse();