com.google.javascript.jscomp.J2clSourceFileChecker.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 O
java/lang/Object ()V
2com/google/javascript/jscomp/J2clSourceFileChecker compiler /Lcom/google/javascript/jscomp/AbstractCompiler;
com/google/javascript/rhino/Node
getFirstChild $()Lcom/google/javascript/rhino/Node;
isScript ()Z
$com/google/common/base/Preconditions
checkState (Z)V
getSourceFileName ()Ljava/lang/String; " .java.js
$ % & ' ( java/lang/String endsWith (Ljava/lang/String;)Z
* + getNext
- . / hasJ2cl %(Lcom/google/javascript/rhino/Node;)Z
1 2 3 markToRunJ2clPasses 2(Lcom/google/javascript/jscomp/AbstractCompiler;)V
5 6 7 8 -com/google/javascript/jscomp/AbstractCompiler setRunJ2clPasses
5 : ;
runJ2clPasses = )com/google/javascript/jscomp/CompilerPass Code LineNumberTable LocalVariableTable this 4Lcom/google/javascript/jscomp/J2clSourceFileChecker; MethodParameters script "Lcom/google/javascript/rhino/Node; root
StackMapTable process G(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V externs shouldRunJ2clPasses 2(Lcom/google/javascript/jscomp/AbstractCompiler;)Z
SourceFile J2clSourceFileChecker.java 0 <