com.google.javascript.jscomp.PeepholeTranspilationsPass.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 ?
java/lang/Object ()V
7com/google/javascript/jscomp/PeepholeTranspilationsPass compiler /Lcom/google/javascript/jscomp/AbstractCompiler; :com/google/javascript/jscomp/AbstractPeepholeTranspilation java/util/List toArray (([Ljava/lang/Object;)[Ljava/lang/Object; =[Lcom/google/javascript/jscomp/AbstractPeepholeTranspilation; peepholeTranspilations featureSetToRunOn 8Lcom/google/javascript/jscomp/parsing/parser/FeatureSet; featureSetToMarkAsTranspiledAway " # $ % 6com/google/javascript/jscomp/parsing/parser/FeatureSet BARE_MINIMUM ' ( ) iterator ()Ljava/util/Iterator; + , - . / java/util/Iterator hasNext ()Z + 1 2 3 next ()Ljava/lang/Object;
5 6 7 getAdditionalFeaturesToRunOn :()Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;
9 : 7 getTranspiledAwayFeatures
" < = > containsAtLeastOneOf ;(Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;)Z @ hTranspilation pass %s has getAdditionalFeaturesToRunOn() that contains features that it transpiles away.
B C D getClass ()Ljava/lang/Class;
F G H I J java/lang/Class
getSimpleName ()Ljava/lang/String;
L M N O P $com/google/common/base/Preconditions
checkState ((ZLjava/lang/String;Ljava/lang/Object;)V
" R S T with r(Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;)Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;
V W ?(Lcom/google/javascript/jscomp/AbstractCompiler;Ljava/util/List;Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;)V Y Dcom/google/javascript/jscomp/PeepholeTranspilationsPass$PeepCallback
X [ \ <(Lcom/google/javascript/jscomp/PeepholeTranspilationsPass;)V
^ _ ` a b *com/google/javascript/jscomp/NodeTraversal traverse ?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/NodeTraversal$Callback;)V
d e f g h 0com/google/javascript/jscomp/TranspilationPasses !maybeMarkFeaturesAsTranspiledAway ?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;)V j )com/google/javascript/jscomp/CompilerPass Code LineNumberTable LocalVariableTable this 9Lcom/google/javascript/jscomp/PeepholeTranspilationsPass; transpilations Ljava/util/List; LocalVariableTypeTable NLjava/util/List; MethodParameters Signature ?(Lcom/google/javascript/jscomp/AbstractCompiler;Ljava/util/List;Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;)V create z(Lcom/google/javascript/jscomp/AbstractCompiler;Ljava/util/List;)Lcom/google/javascript/jscomp/PeepholeTranspilationsPass;
transpilation