Package org.mozilla.javascript.ast

Examples of org.mozilla.javascript.ast.SwitchCase


    return (T) node;
  }

  @Override
  public AstNode caseStatement(AstNode expression, Iterable<AstNode> statements) {
    SwitchCase s = new SwitchCase();
    s.setExpression(expression);
    for (AstNode stmt : statements) {
      if (stmt != null) {
        s.addStatement(stmt);
      }
    }
    return s;
  }
View Full Code Here

TOP

Related Classes of org.mozilla.javascript.ast.SwitchCase

Copyright © 2018 www.massapicom. 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.