com.google.javascript.jscomp.lint.CheckEmptyStatements.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of closure-compiler-unshaded Show documentation
Show all versions of closure-compiler-unshaded Show documentation
Closure Compiler is a JavaScript optimizing compiler. It parses your
JavaScript, analyzes it, removes dead code and rewrites and minimizes
what's left. It also checks syntax, variable references, and types, and
warns about common JavaScript pitfalls. It is used in many of Google's
JavaScript apps, including Gmail, Google Web Search, Google Maps, and
Google Docs.
The newest version!
???? 7 P
Dcom/google/javascript/jscomp/NodeTraversal$AbstractPostOrderCallback ()V
6com/google/javascript/jscomp/lint/CheckEmptyStatements compiler /Lcom/google/javascript/jscomp/AbstractCompiler;
*com/google/javascript/jscomp/NodeTraversal traverse ?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/NodeTraversal$Callback;)V
com/google/javascript/rhino/Node isEmpty ()Z
%com/google/javascript/jscomp/NodeUtil isStatement %(Lcom/google/javascript/rhino/Node;)Z ! " USELESS_EMPTY_STATEMENT -Lcom/google/javascript/jscomp/DiagnosticType; $ java/lang/String
& ' ( report e(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/DiagnosticType;[Ljava/lang/String;)V * JSC_USELESS_EMPTY_STATEMENT , *Useless empty statement. Remove semicolon.
. / 0 1 2 +com/google/javascript/jscomp/DiagnosticType disabled S(Ljava/lang/String;Ljava/lang/String;)Lcom/google/javascript/jscomp/DiagnosticType; 4 )com/google/javascript/jscomp/CompilerPass 2(Lcom/google/javascript/jscomp/AbstractCompiler;)V Code LineNumberTable LocalVariableTable this 8Lcom/google/javascript/jscomp/lint/CheckEmptyStatements; MethodParameters process G(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V externs "Lcom/google/javascript/rhino/Node; root visit s(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V t ,Lcom/google/javascript/jscomp/NodeTraversal; n parent
StackMapTable
SourceFile CheckEmptyStatements.java InnerClasses AbstractPostOrderCallback N 3com/google/javascript/jscomp/NodeTraversal$Callback Callback 1 3 ! " 5 6 F
*? *+? ? 7 $ % &