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

com.google.javascript.jscomp.GlobalNamespace$BuildGlobalNamespace.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?	Acom/google/javascript/jscomp/GlobalNamespace$BuildGlobalNamespacethis$0.Lcom/google/javascript/jscomp/GlobalNamespace;
	
Ccom/google/javascript/jscomp/NodeTraversal$AbstractPreOrderCallback()V	
curModuleRoot"Lcom/google/javascript/rhino/Node;	curMetadataGLcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;
 com/google/javascript/rhino/NodeisScript()Z	 ,com/google/javascript/jscomp/GlobalNamespaceshouldTraverseScriptLjava/util/function/Predicate;"#$%&java/util/function/Predicatetest(Ljava/lang/Object;)Z
()hasExternsRoot
+,-./7com/google/javascript/jscomp/GlobalNamespace$SourceKindfromScriptNode](Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/GlobalNamespace$SourceKind;	123
sourceKind9Lcom/google/javascript/jscomp/GlobalNamespace$SourceKind;	56root	+893CODE
;<isModuleBody
>?@AB%com/google/javascript/jscomp/NodeUtilisBundledGoogModuleScopeRoot%(Lcom/google/javascript/rhino/Node;)Z
DEFsetupModuleMetadata%(Lcom/google/javascript/rhino/Node;)V
>HIBisBundledGoogModuleCall
KLMNO*com/google/javascript/jscomp/NodeTraversalgetScope&()Lcom/google/javascript/jscomp/Scope;
QRScollectI(Lcom/google/javascript/jscomp/Scope;Lcom/google/javascript/rhino/Node;)V	UVWcompiler/Lcom/google/javascript/jscomp/AbstractCompiler;
YZ[\]-com/google/javascript/jscomp/AbstractCompilergetModuleMap2()Lcom/google/javascript/jscomp/modules/ModuleMap;
_`abc1com/google/javascript/jscomp/ModuleImportResolvergetModuleFromScopeRoot?(Lcom/google/javascript/jscomp/modules/ModuleMap;Lcom/google/javascript/jscomp/CompilerInputProvider;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/modules/Module;
efghi+com/google/javascript/jscomp/modules/ModulemetadataI()Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;
klmno$com/google/common/base/PreconditionscheckNotNull&(Ljava/lang/Object;)Ljava/lang/Object;qEcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata
pstisGoogModulevexports
xyzgetOrCreateName?(Ljava/lang/String;Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;)Lcom/google/javascript/jscomp/GlobalNamespace$Name;
|}~	getParent$()Lcom/google/javascript/rhino/Node;	?????5com/google/javascript/jscomp/GlobalNamespace$NamePropOTHER_OBJECT7Lcom/google/javascript/jscomp/GlobalNamespace$NameProp;	?????.com/google/javascript/jscomp/GlobalNamespace$1,$SwitchMap$com$google$javascript$rhino$Token[I
???getToken%()Lcom/google/javascript/rhino/Token;
?????!com/google/javascript/rhino/Tokenordinal()I
??isClassMembers
??isStaticMember
>???getBestLValueName6(Lcom/google/javascript/rhino/Node;)Ljava/lang/String;
??isMemberFunctionDef	????FUNCTION	????GET_SET
??isObjectLit
???createObjLitStringKeyAnalysisj(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/GlobalNamespace$ObjLitStringKeyAnalysis;
?????Dcom/google/javascript/jscomp/GlobalNamespace$ObjLitStringKeyAnalysis
getNameString()Ljava/lang/String;
????getNameType9()Lcom/google/javascript/jscomp/GlobalNamespace$NameProp;
??isObjectPattern
???getNameForObjectPatternKey
??~
getFirstChild
???getValueType[(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/GlobalNamespace$NameProp;
??~getNext
>??BisFunctionExpression	????CLASS
??isName
>??BisLhsByDestructuring
??BisFirstChildOf
??BisObjectHasOwnPropertyCall
???getQualifiedName	????IS_USED_HAS_OWN_PROPERTY
?????1com/google/javascript/jscomp/GlobalNamespace$NamesetBooleanProperty:(Lcom/google/javascript/jscomp/GlobalNamespace$NameProp;)V
>??BisAssignmentOp
??isQualifiedName
??isExprResult	???GOOG_PROVIDE+Lcom/google/javascript/rhino/QualifiedName;
????B)com/google/javascript/rhino/QualifiedNamematches
??~getSecondChild
??isStringLit
?	getString
createNamesFromProvide(Ljava/lang/String;)V
	getRootNodeZ(Ljava/lang/String;Lcom/google/javascript/jscomp/Scope;)Lcom/google/javascript/rhino/Node;
BisTopLevelScopeRoot	
globalRoot
"com/google/javascript/jscomp/ScopegetClosestHoistScope.()Lcom/google/javascript/jscomp/AbstractScope;
isGlobal
~
handleSetFromGlobal?(Lcom/google/javascript/jscomp/Scope;Lcom/google/javascript/rhino/Node;Ljava/lang/String;Lcom/google/javascript/jscomp/GlobalNamespace$NameProp;Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;)V
 !"handleSetFromLocal?(Lcom/google/javascript/jscomp/Scope;Lcom/google/javascript/rhino/Node;Ljava/lang/String;Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;)V
$%"	handleGet
'(~getOnlyChild
?*+,forObjLitAssignment?(Ljava/lang/String;Lcom/google/javascript/jscomp/GlobalNamespace$NameProp;)Lcom/google/javascript/jscomp/GlobalNamespace$ObjLitStringKeyAnalysis;
k./0
checkArgument(ZLjava/lang/Object;)V
>23B"isObjectDefinePropertiesDefinition
k560
checkState89:makeConcatWithConstants8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
?<=>forObjectDefinePropertyZ(Ljava/lang/String;)Lcom/google/javascript/jscomp/GlobalNamespace$ObjLitStringKeyAnalysis;
?@ABforNonReferenceH()Lcom/google/javascript/jscomp/GlobalNamespace$ObjLitStringKeyAnalysis;
DEFGHjava/lang/StringindexOf(II)I
DJKL	substring(II)Ljava/lang/String;
DNOisEmpty
kQ6R(Z)V	?TU?IS_PROVIDED
WXisBlock
Z[isAssign
]^isDestructuringLhs	?`a?	OBJECTLIT
cd~getLastChild
fghmaybeHandlePrototypePrefix?(Lcom/google/javascript/jscomp/Scope;Lcom/google/javascript/rhino/Node;Ljava/lang/String;Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;)Z
?jkisGetOrSetDefinition
?mn?setNameType	pqr
MODULE_EXPORT'Lcom/google/javascript/rhino/Node$Prop;
tuvgetBooleanProp*(Lcom/google/javascript/rhino/Node$Prop;)Z	?xy?IS_MODULE_PROP
{|BisNestedAssign	~???5com/google/javascript/jscomp/GlobalNamespace$Ref$TypeGET_AND_SET_FROM_GLOBAL7Lcom/google/javascript/jscomp/GlobalNamespace$Ref$Type;
???addOrConfirmRef?(Lcom/google/javascript/jscomp/GlobalNamespace$Name;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/GlobalNamespace$Ref$Type;Lcom/google/javascript/jscomp/Scope;)V	~???SET_FROM_GLOBAL
???getDeclaredTypeKind
????setDeclaredTypeKind
>???getRValueOfLValueF(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;	????
NOT_A_TYPE
??isClass	????CONSTRUCTOR_TYPE
>???getBestJSDocInfoK(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/JSDocInfo;
????%com/google/javascript/rhino/JSDocInfo
isConstructor
??
isFunction
???isInterface	????INTERFACE_TYPE
???hasEnumParameterType	????	ENUM_TYPE	~???GET_AND_SET_FROM_LOCAL	~???SET_FROM_LOCAL
???determineRefTypeForGet?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;Ljava/lang/String;)Lcom/google/javascript/jscomp/GlobalNamespace$Ref$Type;	~???
DIRECT_GET	~???CALL_GET
??BisClassDefiningCall	~???ALIASING_GET
D??&equals	~???DELETE_PROP	~???SUBCLASSING_GET
??~getPrevious
??isCast
???matchesQualifiedName(Ljava/lang/String;)Z?java/lang/IllegalStateException?9?Y(Lcom/google/javascript/rhino/Token;Lcom/google/javascript/rhino/Node;)Ljava/lang/String;
??
????
getRefForNodeV(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/GlobalNamespace$Ref;
????addRef?(Lcom/google/javascript/jscomp/Scope;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/GlobalNamespace$Ref$Type;)V	?????0com/google/javascript/jscomp/GlobalNamespace$Reftype?"existing ref type: %s expected: %s
k?6?:(ZLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
Y???getCodingConvention1()Lcom/google/javascript/jscomp/CodingConvention;????-com/google/javascript/jscomp/CodingConventiongetClassesDefinedByCallh(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/CodingConvention$SubclassRelationship;??getSingletonGetterClassName
isCall
	hasTwoChildren
	isGetProphasOwnProperty
.prototype
D?endsWith
D?length.prototype.
DG(Ljava/lang/String;)I
>BmayBeObjectLitKey	~ !?
PROTOTYPE_GET	#$%nameMapLjava/util/Map;'()*o
java/util/Mapget	,-.nameMapByModule!Lcom/google/common/collect/Table;012*3com/google/common/collect/Table8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
D567lastIndexOf(I)I
D9K:(I)Ljava/lang/String;
?<=>addProperty?(Ljava/lang/String;Lcom/google/javascript/jscomp/GlobalNamespace$SourceKind;)Lcom/google/javascript/jscomp/GlobalNamespace$Name;'@A3put0CADJ(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
?FG?(Lcom/google/javascript/jscomp/GlobalNamespace;Ljava/lang/String;Lcom/google/javascript/jscomp/GlobalNamespace$Name;Lcom/google/javascript/jscomp/GlobalNamespace$SourceKind;)V	IJKglobalNamesLjava/util/List;MNOP&java/util/ListaddRuntimeVisibleTypeAnnotations#Lorg/jspecify/annotations/Nullable;1(Lcom/google/javascript/jscomp/GlobalNamespace;)VCodeLineNumberTableLocalVariableTablethisCLcom/google/javascript/jscomp/GlobalNamespace$BuildGlobalNamespace;MethodParametersshouldTraverses(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Zt,Lcom/google/javascript/jscomp/NodeTraversal;nparent
StackMapTable
moduleRoot	moduleMap0Lcom/google/javascript/jscomp/modules/ModuleMap;e.com/google/javascript/jscomp/modules/ModuleMapnameLjava/lang/String;analysisFLcom/google/javascript/jscomp/GlobalNamespace$ObjLitStringKeyAnalysis;rvaluegrandparentqname
globalName3Lcom/google/javascript/jscomp/GlobalNamespace$Name;
hoistScope$Lcom/google/javascript/jscomp/Scope;scopeisSetZnameMetadatareceiverNode
objLitNodeobjLitParentNode
stringKeyNode
nameStringsubNamespace	namespacedotInewNamerhs	stringKey
patternParentsecondthirdrefTypenameObjkindinfo'Lcom/google/javascript/rhino/JSDocInfo;	valueNodelhs
referenceNodeexistingRefTypenodeexistingRef2Lcom/google/javascript/jscomp/GlobalNamespace$Ref;callNode
convention/Lcom/google/javascript/jscomp/CodingConvention;classesDLcom/google/javascript/jscomp/CodingConvention$SubclassRelationship;	className?Bcom/google/javascript/jscomp/CodingConvention$SubclassRelationshipcalleereceivernumLevelsToRemoveprefixi
parentName
SourceFileGlobalNamespace.javaNestHostBootstrapMethods?
???9?$java/lang/invoke/StringConcatFactory?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;?.?#Unexpected previous sibling of : InnerClassesBuildGlobalNamespaceAbstractPreOrderCallback?6com/google/javascript/jscomp/modules/ModuleMetadataMapModuleMetadata
SourceKindNameNamePropObjLitStringKeyAnalysis?%com/google/javascript/rhino/Node$PropPropRefTypeSubclassRelationship?%java/lang/invoke/MethodHandles$Lookup?java/lang/invoke/MethodHandlesLookup QRQRSTF*+?*?*?
*??U?	??VWXYZ[T
?,??*??,?!??*??'?,??*?,?*?0?,*??4?
*??7?0,?:?
,?=?*,?C?,??
,?G?
*?
*?*+?J,?P?U6
???*?8?C?M?[?c?q?v?{???V*?WX?\]?^?_`	

	Y
\^_EFT?D*??T?XM,??*+?
*,*??T+?^?d?j?p?*??r?*u*??wW?U.??????"?%?.?8?C?V DWXDa9bc`	?d2YaRST??,?{N6?:??,????.?C?CCCCC?CCCCCCC\\\?-???,????,??:6,???	?????:??:-???*,??:??:??:6??-????*,??:*,????:?~??-????.?\\\{???????????????6,??:?	??	*??:??-??,??6*,?ƶ?:???-?{:?
-?ə?6??:??6?:?y-??,?q6??:?f,?ϙ_,?ҙX6?:?M?J,-?ՙB*-?ؙ:,????:	*	*??w:

?޶?-??-??,?6?:,???,??:?/-??&??,?????,?????*,??????????*?+?:*?
??*??
??*?:?H+??:		??*??
?	?*?
?*+,??
*+,??
*+,?#?U:N???
?t???????????????????????????????H?K?Q?d?g?o?r?????	?
????????"?#?$?)?+?,?-?./2347&8':-;0>;?E@NDYEZG[I\LaMbPnRwSxV?W?Z?^?_?`?b?d?e?gV??fg?hi?=fgQj?k?lg	?mn
-fg?9op	?WX?qp?^?_\?fg?rs
???nu6?Ut`?$?t??D?B????$D????f?E????

/)?D??Cp?/p?		Y	q^??Tk+??M,?,*+?&?¸)?+?{N-??-?--?{:?1?9??:??*-?Ʀ??4??+???7M,?;????U>jk	nonst#u)v1w8x@ySzb{g~V>8/uPv)BwkWXkxfyg`?D?6@?YxT?S>??+.`?C>?+?	+?I:?M???P*?wM,?S????*+?w:?S??U.???? ?0?8???B?J?R?V> zg8
fnSWXS{gQ|}J	~n`?ED?
D@?Y{BT??+??+*??
??+*?
??*?
?*?
?V?+*?
?{???U???????V?WX?6`	@Y6??T?E+?{M,???P,?{N-?Y?
-?\?'-??:??????+???7??U&	?????%?2?4?C?V4%EWXE?@_4?`???Y?QR??T
v??+????.?g9
15=F?̰?_????*+?b?°+??M*,??N-??-?,??:*?°??U2?<?@?D?H?Q?V?\?c?e?k?r?V4V?\\?k?vWXv^`<???Y^T j*+,-?e??*-?w:?i?
?l,?o?s??w??*,?{?z??}:*,+???*,??+??*,?????U:??
??%/7BG	Q
T_iVRG
??jWXjqpj^jfgj??jhT?n`
??Yq^f?h??Tnx+??M,?
??N?i,???
??N?[+??:?
??N?I???,???
??N?3???,???
??N????,???
??N???N-?UB	!$#)$0%?&F'U(\)k*r,v/Vp
????-??C??Y??o??$R??xWXx^s?v??`&?
????Y^!"T?M*+,-?e??*-?w:,?o?s??w??*,?{?z?*,??+???*,??+???U&	;<
?@ A(D3FAHLJV>MWXMqpM^MfgMh7?n`
??
Yq^fh%"T?&*+,-?e??*,,-??:**-?w,+???UTU
WY%ZV>&WX&qp&^&fg&h??`
Yq^fh??TEi+?{:??????.?OE?OOOOO?OOOOOOOOOOOlO_?OOH___???OO??:?9+?????:?(*?ř??:???:?+???	?????:??*,-??:??+,?-???˙??:?Ҳ?:??+???*,-??:????:????:????:??+??:???:???י
?&:???+,?-?ڙ?????????.?<44444??:???Y+??+?Ժ??㿲?:?U?*fg(?-?0?9?A?J?R?W?Z?n?q?{?~?????????????????????????????????????????D?I?L?Q?a?f?V?-??>??O??W??n??{???????????????????????I?????iWXi^i?ifgf??c_`@?(B~????D~Y
^?f??T?3+,??:?+,-????:-???-???U?????2VH??3WX3?n3?3??3qp,??`???~@?Y???q?BT?-*??T??M,+??N-??,+?:???U	
"V4-WX-?"????"?g`????D@Y??BT?>+?+?-+???+??M,?
??,??N
,???˙-????U"$V*>WX>?(?$?`?
?@Y?ghT??-??6--?
d?I:?D-?6??-?I:6-.`?C6??-.`?C6???,???6?,??M????**?w,?+???UN0
1
24'5-6/889;:H;M<P=_AfDhGrHwG}K?LVp
?}?g'8?}k?}?WX?qp?^?fg?h;U?}8X?g`/??DpD???Yq^fh|BTV+?Y?+?{????UVVWX_`@Y_yzT??,?*??"+?&??*??+,+?/??N-??+.?46?S+?I:*,?w:+`?8*??0?;N,?*??"+-??W?*??+,+-?BW?L??Y*?+*??0?EN,?#*??H-?LW*??"+-??W?*??+,+-?BW-?UFa)b-c5d:eCfLgaheiwk?m?n?o?p?q?s?wVHCD?gL;_n5??}?WX?fg?h)??n`)P??NDp?D??8?Y	fhQ	R?????????j
?K?	p??	+?@????@?????@??~??@???	???




© 2015 - 2024 Weber Informatics LLC | Privacy Policy