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

com.google.javascript.jscomp.GlobalNamespace.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!
????7?
,com/google/javascript/jscomp/GlobalNamespace?(Lcom/google/javascript/jscomp/diagnostic/LogFile;Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V
	
java/lang/Object()V
 com/google/javascript/rhino/Node
com/google/javascript/rhino/IRrootG([Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;	
globalRoot"Lcom/google/javascript/rhino/Node;java/util/LinkedHashMap
		spreadSiblingCacheLjava/util/LinkedHashMap;	 !"	generatedZ$java/util/ArrayList
#		'()globalNamesLjava/util/List;	+,-nameMapLjava/util/Map;
/0123(com/google/common/collect/HashBasedTablecreate,()Lcom/google/common/collect/HashBasedTable;	567nameMapByModule!Lcom/google/common/collect/Table;9:;test ()Ljava/util/function/Predicate;	=>?shouldTraverseScriptLjava/util/function/Predicate;	ABCdecisionsLog1Lcom/google/javascript/jscomp/diagnostic/LogFile;	EFGcompiler/Lcom/google/javascript/jscomp/AbstractCompiler;	IJexternsRoot	L
NOPQR-com/google/javascript/jscomp/AbstractCompiler
getOptions0()Lcom/google/javascript/jscomp/CompilerOptions;
TUVWX,com/google/javascript/jscomp/CompilerOptions#getAssumeStaticInheritanceIsNotUsed()Z	Z["enableImplicitlyAliasedValues
]^_	getParent$()Lcom/google/javascript/rhino/Node;
abc
getTopVarName&(Ljava/lang/String;)Ljava/lang/String;
efghi"com/google/javascript/jscomp/ScopegetVar>(Ljava/lang/String;)Lcom/google/javascript/jscomp/AbstractVar;k com/google/javascript/jscomp/Varmnopq
java/util/Mapget&(Ljava/lang/Object;)Ljava/lang/Object;s1com/google/javascript/jscomp/GlobalNamespace$Name	uvwxy5com/google/javascript/jscomp/GlobalNamespace$NamePropIS_PROVIDED7Lcom/google/javascript/jscomp/GlobalNamespace$NameProp;
r{|}getBooleanProperty:(Lcom/google/javascript/jscomp/GlobalNamespace$NameProp;)Z
j?XisLocal
j??_getScopeRoot
???
getOwnSlotG(Ljava/lang/String;)Lcom/google/javascript/jscomp/GlobalNamespace$Name;
??ensureGenerated
r???getRefs()Ljava/util/Collection;
?????java/util/CollectionsunmodifiableCollection.(Ljava/util/Collection;)Ljava/util/Collection;
???getNameIndex()Ljava/util/Map;m???values
??process?Acom/google/javascript/jscomp/GlobalNamespace$BuildGlobalNamespace
???1(Lcom/google/javascript/jscomp/GlobalNamespace;)V?????
java/util/Setiterator()Ljava/util/Iterator;????Xjava/util/IteratorhasNext????next()Ljava/lang/Object;?6com/google/javascript/jscomp/GlobalNamespace$AstChange	???node
??XisQualifiedName
?????%com/google/javascript/jscomp/NodeUtilmayBeObjectLitKey%(Lcom/google/javascript/rhino/Node;)Z	????scope$Lcom/google/javascript/jscomp/Scope;
???scanFromNode?(Lcom/google/javascript/jscomp/GlobalNamespace$BuildGlobalNamespace;Lcom/google/javascript/jscomp/Scope;Lcom/google/javascript/rhino/Node;)V
??XisName
??X	isGetProp
??_getPrevious
??XisObjectPattern
??_
getFirstChild
??XisStringKey
??_getNext
????collectI(Lcom/google/javascript/jscomp/Scope;Lcom/google/javascript/rhino/Node;)V
?????*com/google/javascript/jscomp/NodeTraversalbuilder6()Lcom/google/javascript/jscomp/NodeTraversal$Builder;
?????2com/google/javascript/jscomp/NodeTraversal$BuildersetCompilere(Lcom/google/javascript/jscomp/AbstractCompiler;)Lcom/google/javascript/jscomp/NodeTraversal$Builder;
????setCallbackk(Lcom/google/javascript/jscomp/NodeTraversal$Callback;)Lcom/google/javascript/jscomp/NodeTraversal$Builder;
??XhasExternsRoot
????
traverseRootsG(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V
????traverse%(Lcom/google/javascript/rhino/Node;)V
??java/lang/StringindexOf(I)I
?	substring(II)Ljava/lang/String;
	
q$com/google/common/base/PreconditionscheckNotNull
pcom/google/common/collect/Table8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
XisObjectLit

checkState(ZLjava/lang/Object;)V
njava/lang/Boolean
XbooleanValue
 _getLastChild
"#XisSpread
%&'valueOf(Z)Ljava/lang/Boolean;
)*put	,-./07com/google/javascript/jscomp/GlobalNamespace$SourceKindCODE9Lcom/google/javascript/jscomp/GlobalNamespace$SourceKind;
r23?(Lcom/google/javascript/jscomp/GlobalNamespace;Ljava/lang/String;Lcom/google/javascript/jscomp/GlobalNamespace$Name;Lcom/google/javascript/jscomp/GlobalNamespace$SourceKind;)V
56_getGrandparent
89XisExprResult
;<?getSlot
>??
getAllSymbols
ABCgetScope^(Lcom/google/javascript/jscomp/GlobalNamespace$Name;)Lcom/google/javascript/rhino/StaticScope;
EFG
getReferencesI(Lcom/google/javascript/jscomp/GlobalNamespace$Name;)Ljava/lang/Iterable;Igoog.provide
KLMNO)com/google/javascript/rhino/QualifiedNameof?(Ljava/lang/String;)Lcom/google/javascript/rhino/QualifiedName;	QRSGOOG_PROVIDE+Lcom/google/javascript/rhino/QualifiedName;U'com/google/javascript/rhino/StaticScopeW-com/google/javascript/rhino/StaticSymbolTable	SignaturePLjava/util/LinkedHashMap;
sourceKindRuntimeVisibleTypeAnnotations#Lorg/jspecify/annotations/Nullable;ELjava/util/List;VLjava/util/Map;?Lcom/google/common/collect/Table;BLjava/util/function/Predicate;?(Lcom/google/javascript/jscomp/diagnostic/LogFile;Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;)VCodeLineNumberTableLocalVariableTablethis.Lcom/google/javascript/jscomp/GlobalNamespace;MethodParametersT(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;)Vv(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V
StackMapTablel/com/google/javascript/jscomp/diagnostic/LogFile setShouldTraverseScriptPredicate!(Ljava/util/function/Predicate;)VLocalVariableTypeTableE(Ljava/util/function/Predicate;)VgetRootNodeZ(Ljava/lang/String;Lcom/google/javascript/jscomp/Scope;)Lcom/google/javascript/rhino/Node;providedName3Lcom/google/javascript/jscomp/GlobalNamespace$Name;nameLjava/lang/String;sv"Lcom/google/javascript/jscomp/Var;getParentScope+()Lcom/google/javascript/rhino/StaticScope;slot}(Lcom/google/javascript/jscomp/GlobalNamespace$Name;)Ljava/lang/Iterable;M()Ljava/util/Collection;
getNameForest()Ljava/util/List;G()Ljava/util/List;X()Ljava/util/Map;scanNewNodes(Ljava/util/Set;)Vinfo8Lcom/google/javascript/jscomp/GlobalNamespace$AstChange;newNodesLjava/util/Set;CLcom/google/javascript/jscomp/GlobalNamespace$BuildGlobalNamespace;ILjava/util/Set;L(Ljava/util/Set;)Vkeypatternnparent	traversal4Lcom/google/javascript/jscomp/NodeTraversal$Builder;
firstDotIndexIgetNameFromModule?(Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;Ljava/lang/String;)Lcom/google/javascript/jscomp/GlobalNamespace$Name;moduleMetadataGLcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;*declarationHasFollowingObjectSpreadSiblingsiblingdeclarationcachedLjava/lang/Boolean;toCachecreateNameForTestingRuntimeInvisibleAnnotations1Lcom/google/common/annotations/VisibleForTesting;getOutermostObjectLitF(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;objLitGrandparent	objLitKeyoutermostObjectLit#isQnameDeclarationWithoutAssignment<(Ljava/lang/String;)Lcom/google/javascript/rhino/StaticSlot;()Ljava/lang/Iterable;S(Lcom/google/javascript/rhino/StaticSlot;)Lcom/google/javascript/rhino/StaticScope;>(Lcom/google/javascript/rhino/StaticSlot;)Ljava/lang/Iterable;lambda$new$0?Ljava/lang/Object;Lcom/google/javascript/rhino/StaticScope;Lcom/google/javascript/rhino/StaticSymbolTable;
SourceFileGlobalNamespace.javaNestMembers?.com/google/javascript/jscomp/GlobalNamespace$1?Dcom/google/javascript/jscomp/GlobalNamespace$ObjLitStringKeyAnalysis?0com/google/javascript/jscomp/GlobalNamespace$Ref?5com/google/javascript/jscomp/GlobalNamespace$Ref$Type?9com/google/javascript/jscomp/GlobalNamespace$InlinabilityBootstrapMethods?
?????"java/lang/invoke/LambdaMetafactorymetafactory?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;?(Ljava/lang/Object;)Z?
????InnerClassesNameNamePropBuildGlobalNamespace	AstChangeBuilder?3com/google/javascript/jscomp/NodeTraversal$CallbackCallback
SourceKindObjLitStringKeyAnalysisRefInlinability?Ecom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata?6com/google/javascript/jscomp/modules/ModuleMetadataMapModuleMetadataType?%java/lang/invoke/MethodHandles$Lookup?java/lang/invoke/MethodHandlesLookup TVFG["JXYZ0!"BC[\RS()X],-X^67X_>?X`!abU	*+,-??c
??d*	ef	BC	FG	g
BFhbK	*+,??c
??d 	ef	FG	g	FibU	*+,-??c
??d*	ef	FG	J	g
FJb3n*?*???*?Y??*?*?#Y?%?&*?Y??**?.?4*?8?<*+?@*,?D*-?H*?K*,?M?S???Y?c>?RSUq*t5w<zE?J?O?T?Z?\?m?d4nefnBCnFGnJnj5?ikN?kNgBFJ[\\mnbP*+??o>`g>Xp?XbB
*?H???c?d
efj@q_b2*?K?\?c?defqrb?M+?`L,+?d?jN-?+*?*+?l?r:??t?z?
*???-?~?
-???*??c&	????!?1?8?9?:?d4!stMefMuvMw??xyj?8jr@?
Cg	uw[\z{b,?c?def<?b:*+???c?defuvgu??bJ*??*?*+?l?r?c
??defuvguFGbD*??+?????c
??def|tg|X}BCb6*?c?def|tg|??b?*??*???????c
??defX~?bG*??*???c???defj?b7	*??*?&?c
d	efX???b7	*??*?*?c
d	efX???b?P??Y*??M+??N-???9-????:?????????????*,?????ŧ?ıc2	4$5:6=8L9O:d*$(??PefP??	G??oP??j????,??g?X???bm-?\:-?ɚ
-?̙?̙*+,-?\?ŧ@-???9-?϶ҙ/-??:??:??ؙ*+,????:???+,-?ޱc.>?C)D:G@HLITJ\HfNlOdHG?@&?mefm??m??m?g?j???	g
????b?:??*?D???Y*????L*??+*?H*?K???+*?K??*??cTVW,Y4\9]d:ef$??j	?,?
bcb_*.??<?*?	*??c
fgduv??j
?E?gu??bg+?W,?W*??*?4+,??r?ckl
mnd ef??uvg	?u[
\??ba+?\?+?*?+??M,?,??>+?\?:?%?!?>*??$?(W??:???*?+????c2z|}~ ?"?+?0?8?:?H?R?d4+'?aefa?J??"??"j? ?
?[@J\g???bB?rY*+?+?1?cdefuvgu????b?'+?\M,?,?,?4N-?-??-M?,????c	
	
	
		"	$	d*?'ef'?"?j?
??g?
??bP*?*?̙*?\?7???c	d?j@g?[	\A??b0*+???cKdefguA<?b0*+?:?cKdefguA??b/*?=?cKdefAB?b3	*+?r?@?cKd	efg|AF?b3	*+?r?D?cKd	efg|
??b,?czd??b"
H?J?P?c^X????
??u??r???,??????rr?u?@??????????	,?@???????@???	???@???




© 2015 - 2024 Weber Informatics LLC | Privacy Policy