Package com.google.gwt.dev.js.FlatteningVisitor

Examples of com.google.gwt.dev.js.FlatteningVisitor.TreeNode


* A visitor that comparares two Js AST trees and fails if they are different.
*/
public class ComparingVisitor extends JsVisitor {

  public static void exec(List<JsStatement> expected, List<JsStatement> actual) {
    TreeNode expectedTree = FlatteningVisitor.exec(expected);
    TreeNode actualTree = FlatteningVisitor.exec(actual);
    compare(expectedTree, actualTree);
  }
View Full Code Here

TOP

Related Classes of com.google.gwt.dev.js.FlatteningVisitor.TreeNode

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.