com.google.javascript.jscomp.RewriteClassMembers.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
0com/google/javascript/jscomp/RewriteClassMembers compiler /Lcom/google/javascript/jscomp/AbstractCompiler;
-com/google/javascript/jscomp/AbstractCompiler createAstFactory +()Lcom/google/javascript/jscomp/AstFactory;
astFactory )Lcom/google/javascript/jscomp/AstFactory; ;com/google/javascript/jscomp/SynthesizeExplicitConstructors
2(Lcom/google/javascript/jscomp/AbstractCompiler;)V ctorCreator =Lcom/google/javascript/jscomp/SynthesizeExplicitConstructors; ! java/util/ArrayDeque
$ % &
classStack Ljava/util/Deque;
( ) * + , *com/google/javascript/jscomp/NodeTraversal traverse ?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/NodeTraversal$Callback;)V . / 0 1 2 6com/google/javascript/jscomp/parsing/parser/FeatureSet BARE_MINIMUM 8Lcom/google/javascript/jscomp/parsing/parser/FeatureSet; 4 >com/google/javascript/jscomp/parsing/parser/FeatureSet$Feature 3 6 7 8 PUBLIC_CLASS_FIELDS @Lcom/google/javascript/jscomp/parsing/parser/FeatureSet$Feature; 3 : ; 8 CLASS_STATIC_BLOCK
. = > ? with {([Lcom/google/javascript/jscomp/parsing/parser/FeatureSet$Feature;)Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;
A B C D E 0com/google/javascript/jscomp/TranspilationPasses !maybeMarkFeaturesAsTranspiledAway ?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;)V G H I J K 2com/google/javascript/jscomp/RewriteClassMembers$1 ,$SwitchMap$com$google$javascript$rhino$Token [I
M N O P Q com/google/javascript/rhino/Node getToken %()Lcom/google/javascript/rhino/Token;
S T U V W !com/google/javascript/rhino/Token ordinal ()I
Y Z [ \ ] %com/google/javascript/jscomp/NodeUtil getFeatureSetOfScript \(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;
. _ ` a contains C(Lcom/google/javascript/jscomp/parsing/parser/FeatureSet$Feature;)Z
Y c d e getNameNode F(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node; g Class missing a name: %s
i j k l m $com/google/common/base/Preconditions
checkState ((ZLjava/lang/String;Ljava/lang/Object;)V
o p q getStatementDeclaringClass h(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node; s Class was not extracted: %s
M u v w
getFirstChild $()Lcom/google/javascript/rhino/Node;
M y z { isEmpty ()Z
M } ~ matchesQualifiedName %(Lcom/google/javascript/rhino/Node;)Z ? 3Class name shadows variable declaring the class: %s ?