com.google.javascript.jscomp.J2clClinitPrunerPass$RedundantClinitPruner.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 ? Gcom/google/javascript/jscomp/J2clClinitPrunerPass$RedundantClinitPruner this$0 3Lcom/google/javascript/jscomp/J2clClinitPrunerPass;
java/lang/Object ()V java/util/ArrayDeque
stateStack Ljava/util/Deque; Acom/google/javascript/jscomp/J2clClinitPrunerPass$HierarchicalSet
F(Lcom/google/javascript/jscomp/J2clClinitPrunerPass$HierarchicalSet;)V clinitsCalledAtBranch CLcom/google/javascript/jscomp/J2clClinitPrunerPass$HierarchicalSet;
! " &com/google/common/collect/ImmutableSet of *()Lcom/google/common/collect/ImmutableSet;
$ % & copyOf >(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableSet; ( ) * roots (Lcom/google/common/collect/ImmutableSet;
, - . contains (Ljava/lang/Object;)Z 0 1 2 3 java/util/Deque clear
5 6 7 8 9 %com/google/javascript/jscomp/NodeUtil isFunctionDeclaration %(Lcom/google/javascript/rhino/Node;)Z
; < = > ? com/google/javascript/rhino/Node isScript ()Z 0 A B C addLast (Ljava/lang/Object;)V
E F 9 isNewControlBranch
H I J K 9 1com/google/javascript/jscomp/J2clClinitPrunerPass isClinitMethod
H M N O getQualifiedNameOfFunction 6(Lcom/google/javascript/rhino/Node;)Ljava/lang/String;
Q R . add
T U V tryRemovingClinit %(Lcom/google/javascript/rhino/Node;)V X Y parent 0 [ \ ]
removeLast ()Ljava/lang/Object;
H _ ` O getClinitMethodName H b c d compiler /Lcom/google/javascript/jscomp/AbstractCompiler;
5 f g h deleteFunctionCall T(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/AbstractCompiler;)V
5 j k 9 isControlStructure
; m n ? isDefaultValue
; p q ? isHook
; s t ? isAnd
; v w ? isOr
; y z ?
isFunction | 3com/google/javascript/jscomp/NodeTraversal$Callback Signature LLcom/google/common/collect/ImmutableSet; jLjava/util/Deque;>; WLcom/google/javascript/jscomp/J2clClinitPrunerPass$HierarchicalSet; J(Lcom/google/javascript/jscomp/J2clClinitPrunerPass;Ljava/lang/Iterable;)V Code LineNumberTable LocalVariableTable this ILcom/google/javascript/jscomp/J2clClinitPrunerPass$RedundantClinitPruner; Ljava/lang/Iterable; LocalVariableTypeTable 8Ljava/lang/Iterable;
StackMapTable ? java/lang/Iterable MethodParameters ;(Ljava/lang/Iterable;)V shouldTraverse s(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Z t ,Lcom/google/javascript/jscomp/NodeTraversal; node "Lcom/google/javascript/rhino/Node; visit s(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V
clinitName Ljava/lang/String; ? java/lang/String n
SourceFile J2clClinitPrunerPass.java NestHost InnerClasses RedundantClinitPruner HierarchicalSet ? *com/google/javascript/jscomp/NodeTraversal Callback 0 { ) * } ~ } } ? ? ? ? 3*+? *? *?
Y? ? *? Y? ? *,? ? ? ,? #? '? ? ? ? ? ? 2 ? ? 3 ? ? 3 ) ? ? 3 ) ? ? + ? + H ? ? H ? ? ) } ? ? ? ? ? s*? ',? +? *? Y? ? *? ? / ,? 4?
,? :? *? *? ? @ *? Y? ? *-? D? %*? Y*? ? ? -? G? *? -? L? PW? ? . ? ? ? ? . ? ; ? G ? O ? ^ ? e ? q ? ? * s ? ? s ? ? s ? ? s Y ? ?
) ?
? ? Y ? ? ? ? 7*,? S*-? D? **? ? W? ,? 4?
,? :? **? ? Z ? ? ? ? ? ?
? ? &