Package org.asdt.core.internal.antlr

Examples of org.asdt.core.internal.antlr.AS3Parser.compilationUnit()


  public ASCompilationUnit parse(Reader in) {
    AS3Parser parser = ASTUtils.parse(in);
    LinkedListTree cu;
    try {
      cu = AS3FragmentParser.tree(parser.compilationUnit());
    } catch (RecognitionException e) {
      throw ASTUtils.buildSyntaxException(null, parser, e);
    }
    return new AS3ASTCompilationUnit(cu);
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.