All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.javascript.jscomp.J2clClinitPrunerPass.class Maven / Gradle / Ivy

Go to download

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!
????70
java/lang/Object()Vjava/util/LinkedHashMap
	
1com/google/javascript/jscomp/J2clClinitPrunerPassemptiedClinitMethodsLjava/util/Map;	compiler/Lcom/google/javascript/jscomp/AbstractCompiler;	changedScopeNodesLjava/util/List;
2com/google/javascript/jscomp/J2clSourceFileCheckershouldRunJ2clPasses2(Lcom/google/javascript/jscomp/AbstractCompiler;)Z
 !removeRedundantClinits5(Lcom/google/javascript/rhino/Node;Ljava/util/List;)V
#$!pruneEmptyClinits&'()*
java/util/MapisEmpty()Z
,-.collectClinitReferencesH(Lcom/google/javascript/rhino/Node;)Lcom/google/common/collect/Multimap;
012cleanEmptyClinitReferences6(Lcom/google/common/collect/Multimap;)Ljava/util/List;4:com/google/javascript/jscomp/PureFunctionIdentifier$Driver
3672(Lcom/google/javascript/jscomp/AbstractCompiler;)V
39:;processG(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V
=>?getNonNestedParentScopeNodes"(Ljava/util/List;)Ljava/util/List;AGcom/google/javascript/jscomp/J2clClinitPrunerPass$RedundantClinitPruner
@CDJ(Lcom/google/javascript/jscomp/J2clClinitPrunerPass;Ljava/lang/Iterable;)V
FGHIJ*com/google/javascript/jscomp/NodeTraversaltraverseScopeRoots?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Ljava/util/List;Lcom/google/javascript/jscomp/NodeTraversal$Callback;Z)VLPcom/google/javascript/jscomp/J2clClinitPrunerPass$LookAheadRedundantClinitPruner
KNO6(Lcom/google/javascript/jscomp/J2clClinitPrunerPass;)V&QRclearTCcom/google/javascript/jscomp/J2clClinitPrunerPass$EmptyClinitPruner
SN&WXYentrySet()Ljava/util/Set;[\]^_
java/util/Setiterator()Ljava/util/Iterator;abcd*java/util/IteratorhasNextafghnext()Ljava/lang/Object;jjava/util/Map$EntryilmhgetValueo com/google/javascript/rhino/Node
qrsresolveReplacementF(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;iuvwsetValue&(Ljava/lang/Object;)Ljava/lang/Object;
yz{getClinitMethodName6(Lcom/google/javascript/rhino/Node;)Ljava/lang/String;&}~containsKey(Ljava/lang/Object;)Z&??wget
?????&com/google/common/collect/HashMultimapcreate*()Lcom/google/common/collect/HashMultimap;?3com/google/javascript/jscomp/J2clClinitPrunerPass$1
???Z(Lcom/google/javascript/jscomp/J2clClinitPrunerPass;Lcom/google/common/collect/Multimap;)V
F???traverse?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/NodeTraversal$Callback;)V?java/util/ArrayList
?i??hgetKey?java/lang/String?????"com/google/common/collect/Multimap	removeAll*(Ljava/lang/Object;)Ljava/util/Collection;?\?java/util/Collection
n???	getParent$()Lcom/google/javascript/rhino/Node;
????s%com/google/javascript/jscomp/NodeUtilgetEnclosingChangeScopeRoot
????deleteFunctionCallT(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/AbstractCompiler;)V
n???	cloneTree
n???replaceWith%(Lcom/google/javascript/rhino/Node;)V
?????-com/google/javascript/jscomp/AbstractCompilerreportChangeToChangeScope????put'(Ljava/lang/Object;Ljava/lang/Object;)Z????java/util/Listadd
????getParentChangeScopeNodes
????removeNestedChangeScopeNodes
n??*
isFunction
??{getQualifiedNameOfFunction
???isClinitMethodName(Ljava/lang/String;)Z
n??*isCall
n???
getFirstChild
???{getBestLValueName?	$$0clinit
????endsWith?.$clinit
?????$com/google/common/base/Preconditions
checkArgument(ZLjava/lang/Object;)V
???s
getBestLValue?)com/google/javascript/jscomp/CompilerPass	SignatureELjava/util/Map;4Ljava/util/List;B(Lcom/google/javascript/jscomp/AbstractCompiler;Ljava/util/List;)VCodeLineNumberTableLocalVariableTablethis3Lcom/google/javascript/jscomp/J2clClinitPrunerPass;LocalVariableTypeTableMethodParametersf(Lcom/google/javascript/jscomp/AbstractCompiler;Ljava/util/List;)VnewChangedScopesexterns"Lcom/google/javascript/rhino/Node;rootclinitReferences$Lcom/google/common/collect/Multimap;ZLcom/google/common/collect/Multimap;
StackMapTablechangedRootsY(Lcom/google/javascript/rhino/Node;Ljava/util/List;)VclinitReplacementEntryLjava/util/Map$Entry;
changedScopesKLjava/util/Map$Entry;node
clinitNameLjava/lang/String;RuntimeVisibleTypeAnnotations#Lorg/jspecify/annotations/Nullable;~(Lcom/google/javascript/rhino/Node;)Lcom/google/common/collect/Multimap;changedScope	referencereplacement
referencesLjava/util/Collection;:Ljava/util/Collection;?(Lcom/google/common/collect/Multimap;)Ljava/util/List;j(Ljava/util/List;)Ljava/util/List;isClinitMethod%(Lcom/google/javascript/rhino/Node;)ZfnNamefunctionlValue
SourceFileJ2clClinitPrunerPass.javaNestMembers!3com/google/javascript/jscomp/J2clClinitPrunerPass$2#Acom/google/javascript/jscomp/J2clClinitPrunerPass$HierarchicalSetInnerClasses&3com/google/javascript/jscomp/PureFunctionIdentifierDriverRedundantClinitPruner*3com/google/javascript/jscomp/NodeTraversal$CallbackCallbackLookAheadRedundantClinitPrunerEmptyClinitPrunerEntryHierarchicalSet!???????z*?*?Y?	?
*+?*,???0,123? ?????	??:;?[*????*,*??*,*??"*?
?%??*,?+N*-?/:*,?"*?
?%???3Y*??5+,?8??27
8;=?)A*D0F7G>HJLZM?47?[??[??[??0+?7??0+
???	?? !??+,?_T`Wa?*>X??X??X?>	X??*a?,?	??rs??.+??+?xM*?
,?|?**?
,???n?p?+??deghi,j-h? .??.
?#
?%?@n?

-.?o??M*?+??Y*,????,??no{? ????????12?????Y??M*?
?V?ZN-?`??-?e?i:????:?k?n:+??:??:?`?[?e?n:		????:
?	*????(??:	??*?
??+?x??W,
??W?????_,??F?+?7?C?M?l?v?{??????????????????\	v??
lI?	7?Cu?Mk+????????*Mk+?	????M??a?>	??ai?n?a?0nn$???a???
>??m*??
*?ŸȰ????	??????F???

?L*?˙*?θљ?????
?@?

z{?s*?ՙ*?ظ?L+?љ+?????????

???@???


???R*?*޶??*????????@?
?{?N*??*??*??L+?۰???
???
?? "SK@?$J	3%'@()F+	K,S-i&.	? "/




© 2015 - 2024 Weber Informatics LLC | Privacy Policy