Package org.asdt.core.internal.antlr

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


   * identifier.
   */
  public static LinkedListTree parseTypeSpec(String value) {
    AS3Parser parser = ASTUtils.parse(":" + value);
    try {
      LinkedListTree result = tree(parser.typeExpression());
      ensureNoMoreInput(parser.getTokenStream(), value);
      return result;
    } catch (RecognitionException e) {
      throw new SyntaxException("invalid type-spec "+ActionScriptFactory.str(value), e);
    }
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.