com.google.javascript.jscomp.J2clClinitPrunerPass$EmptyClinitPruner.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 ? Ccom/google/javascript/jscomp/J2clClinitPrunerPass$EmptyClinitPruner this$0 3Lcom/google/javascript/jscomp/J2clClinitPrunerPass;
Dcom/google/javascript/jscomp/NodeTraversal$AbstractPostOrderCallback ()V
1com/google/javascript/jscomp/J2clClinitPrunerPass isClinitMethod %(Lcom/google/javascript/rhino/Node;)Z
trySubstituteEmptyFunction %(Lcom/google/javascript/rhino/Node;)V
getQualifiedNameOfFunction 6(Lcom/google/javascript/rhino/Node;)Ljava/lang/String;
com/google/common/base/Strings
isNullOrEmpty (Ljava/lang/String;)Z
" # $ % & com/google/javascript/rhino/Node getLastChild $()Lcom/google/javascript/rhino/Node;
" ( ) * hasChildren ()Z
" , - &
getFirstChild
/ 0 1 isAssignToEmptyFn 7(Lcom/google/javascript/rhino/Node;Ljava/lang/String;)Z
" 3 4 & getNext
" 6 7 * isExprResult
9 : getClinitMethodName < = > emptiedClinitMethods Ljava/util/Map; @ A B C D
java/util/Map put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; F G H compiler /Lcom/google/javascript/jscomp/AbstractCompiler;
J K L M N %com/google/javascript/jscomp/NodeUtil
deleteNode T(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/AbstractCompiler;)V
J P Q isExprAssign
" S T & getFirstFirstChild
" V W * isGetElem
" Y Z * isName
" \ ] * isGetProp
_ ` a b c $com/google/common/base/Preconditions
checkState (ZLjava/lang/Object;)V
J e f isEmptyFunctionExpression
J h i getBestLValueName
k l m n o java/util/Objects equals '(Ljava/lang/Object;Ljava/lang/Object;)Z 6(Lcom/google/javascript/jscomp/J2clClinitPrunerPass;)V Code LineNumberTable LocalVariableTable this ELcom/google/javascript/jscomp/J2clClinitPrunerPass$EmptyClinitPruner; MethodParameters visit s(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V t ,Lcom/google/javascript/jscomp/NodeTraversal; node "Lcom/google/javascript/rhino/Node; parent
StackMapTable replaceReferencesWith fnNode fnQualifiedName Ljava/lang/String; body firstExpr
secondExpr ? java/lang/String enclosingFnName lhs rhs
SourceFile J2clClinitPrunerPass.java NestHost InnerClasses EmptyClinitPruner ? *com/google/javascript/jscomp/NodeTraversal AbstractPostOrderCallback 0 p q 4
*+? *? ? r ` s
t u v w x q k ,?
? ?*,? ? r d e h
i s * t u y z { | } | ~ v
y { } q m ?+? M,? ? ?+? !N-? '? ?-? +:*,? .? ?? 2:? :? )? 2? ? 5? ? +? 8?
? +:? ?*? ? ;,? ? W*? ? E? I? r R m p q
t u v z { *| + 2? 7? =? G? O? X? b? c? s? ? s \ : | _ | ? t u ? ? | { ? ? n ? | ` ? | 2 N ? | c | ~ ! ?
?? "? "? "$? " v ? 0 1 q ? P+? O? ?+? RN-? U? ?-? X?
-? [? ? -? ^+? +? !:? d? -? g,? j? ? ? r *
? ? ? ? ? ? .? 7? @? O? s 4 P t u P { | P ? ? B ? | 7 ? | ~ ?
"
@? # "@ v { ? ? ? ? ? ? ? ?
© 2015 - 2024 Weber Informatics LLC | Privacy Policy