Package org.asdt.core.internal.antlr

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


   * expression.
   */
  public static LinkedListTree parseCondition(String expr) {
    AS3Parser parser = ASTUtils.parse("(" + expr + ")");
    try {
      return tree(parser.condition());
    } catch (RecognitionException e) {
      throw new SyntaxException("invalid condition "+ActionScriptFactory.str(expr), 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.