throw new SyntaxException(e);
}
AS3Lexer lexer = new AS3Lexer(cs);
LinkedListTokenSource linker = new LinkedListTokenSource(lexer);
LinkedListTokenStream tokenStream = new LinkedListTokenStream(linker);
AS3Parser parser = new AS3Parser(tokenStream);
parser.setInput(lexer, cs);
parser.setTreeAdaptor(TREE_ADAPTOR);
return parser;
}