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

com.google.javascript.jscomp.CheckClosureImports$Checker.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?	8com/google/javascript/jscomp/CheckClosureImports$Checkerthis$02Lcom/google/javascript/jscomp/CheckClosureImports;
	
Acom/google/javascript/jscomp/NodeTraversal$AbstractModuleCallbackj(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/jscomp/modules/ModuleMetadataMap;)V	moduleMetadataMap8Lcom/google/javascript/jscomp/modules/ModuleMetadataMap;	0com/google/javascript/jscomp/CheckClosureImportsnamespacesSeenLjava/util/Set;
Ecom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadatagoogNamespaces/()Lcom/google/common/collect/ImmutableMultiset;
 !"+com/google/common/collect/ImmutableMultiset
elementSet*()Lcom/google/common/collect/ImmutableSet;$%&'(
java/util/SetaddAll(Ljava/util/Collection;)Z
*+,-. com/google/javascript/rhino/Node	getParent$()Lcom/google/javascript/rhino/Node;
*012isCall()Z
456
kindOfCalld(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/CheckClosureImports$ClosureImport;
89:checkImport?(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;Lcom/google/javascript/jscomp/CheckClosureImports$ClosureImport;)V
*<=.
getFirstChild	?@AGOOG_MODULE_GET"Lcom/google/javascript/rhino/Node;
*CDEmatchesQualifiedName%(Lcom/google/javascript/rhino/Node;)Z
GHIcheckGoogModuleGet?(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;)V
*KL2isName
NOPcheckValidImportCodeReferenceQ(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;)V
RSTUV$com/google/common/base/Preconditions
checkState(Z)V	XYAGOOG_REQUIRE	[\]^_>com/google/javascript/jscomp/CheckClosureImports$ClosureImportREQUIRE@Lcom/google/javascript/jscomp/CheckClosureImports$ClosureImport;	abAGOOG_FORWARD_DECLARE	[de_FORWARD_DECLARE	ghAGOOG_REQUIRE_TYPE	[jk_REQUIRE_TYPE	mnAGOOG_REQUIRE_DYNAMIC	[pq_REQUIRE_DYNAMIC
stuvw*com/google/javascript/jscomp/NodeTraversalgetScope&()Lcom/google/javascript/jscomp/Scope;
*yz{	getString()Ljava/lang/String;
}~??"com/google/javascript/jscomp/ScopegetVar>(Ljava/lang/String;)Lcom/google/javascript/jscomp/AbstractVar;? com/google/javascript/jscomp/Var
???.getNameNode
????E%com/google/javascript/jscomp/NodeUtilisDeclarationLValue
*??2isStringKey
*??.getGrandparent
???EisNameDeclaration
*??2hasOneChild
*??2hasChildren
*??.getLastChild
s??2inModuleHoistScope	?????3com/google/javascript/jscomp/ClosurePrimitiveErrorsMODULE_USES_GOOG_MODULE_GET-Lcom/google/javascript/jscomp/DiagnosticType;?java/lang/String
s???reporte(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/DiagnosticType;[Ljava/lang/String;)V
??2isEs6Module
??2isGoogModule	???compiler/Lcom/google/javascript/jscomp/AbstractCompiler;
?????-com/google/javascript/jscomp/AbstractCompiler
getOptions0()Lcom/google/javascript/jscomp/CompilerOptions;	?????,com/google/javascript/jscomp/CompilerOptionsmoduleResolutionMode?Lcom/google/javascript/jscomp/deps/ModuleLoader$ResolutionMode;	?????=com/google/javascript/jscomp/deps/ModuleLoader$ResolutionModeWEBPACK
s??2
inGlobalScope
???EisNormalOrOptChainGetProp
*??2isDestructuringLhs
*??2isAssign
*??2isObjectPattern	????INVALID_GET_CALL_SCOPE
*??2hasTwoChildren
*??.getSecondChild
*??2isStringLit	???INVALID_CLOSURE_IMPORT_CALL?goog.module.get
?????6com/google/javascript/jscomp/modules/ModuleMetadataMapgetModulesByGoogNamespace*()Lcom/google/common/collect/ImmutableMap;
?????&com/google/common/collect/ImmutableMapget&(Ljava/lang/Object;)Ljava/lang/Object;	????MISSING_MODULE_OR_PROVIDE	?????1com/google/javascript/jscomp/ClosureRewriteModuleINVALID_GET_ALIAS
???.getNode
?getRValueOfLValueF(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
?isCallToG(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Z
?	
equals(Ljava/lang/Object;)Z
R
V
checkArgument
*.getNext
?lastIndexOf(I)I
?	substring(I)Ljava/lang/String;
?2isEmpty
?charAt(I)C
!"#$%com/google/common/base/AsciiisUpperCase(C)Z
!'()toLowerCase(C)C
!+,)toUpperCase./0makeConcatWithConstants'(CLjava/lang/String;)Ljava/lang/String;	2345?/com/google/javascript/jscomp/ClosureCheckModule"INCORRECT_SHORTNAME_CAPITALIZATION
s782inGlobalHoistScope
s:;2
inModuleScope
=>2isModule
*@A2isExprResult	?CD? INVALID_CLOSURE_CALL_SCOPE_ERROR
[FG{callName	IJ?"ONE_CLOSURE_IMPORT_PER_DECLARATION
[LM2aliasMustBeConstant
*OP2isLet	RS?LET_CLOSURE_IMPORT
*UV2isConst	XY?0LHS_OF_CLOSURE_IMPORT_MUST_BE_CONST_IN_ES_MODULE
[[\2allowDestructuring
^_EisValidDestructuringImport	ab?$INVALID_CLOSURE_IMPORT_DESTRUCTURING	de?NO_CLOSURE_IMPORT_DESTRUCTURING
ghicheckShortNamec(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Ljava/lang/String;)V	?kl?-MISSING_MODULE_OR_PROVIDE_FOR_FORWARD_DECLARE
[no2
mustBeOrdered
qrsverifyRequireOrder?(Ljava/lang/String;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;)V	uvwx?.com/google/javascript/jscomp/Es6RewriteModulesSHOULD_IMPORT_ES6_MODULE?(Lcom/google/javascript/jscomp/CheckClosureImports;Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/jscomp/modules/ModuleMetadataMap;)VCodeLineNumberTableLocalVariableTablethis:Lcom/google/javascript/jscomp/CheckClosureImports$Checker;MethodParametersenterModulel(Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;Lcom/google/javascript/rhino/Node;)V
currentModuleGLcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;moduleScopeRootvisit?(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;Lcom/google/javascript/rhino/Node;)Vt,Lcom/google/javascript/jscomp/NodeTraversal;nparent
StackMapTableRuntimeVisibleTypeAnnotations#Lorg/jspecify/annotations/Nullable;callNodenameNodevar"Lcom/google/javascript/jscomp/Var;declarationNameNodedecltargetgetSubExprRootinvalidZ	aliasNameLjava/lang/String;aliasVaraliasVarNodeRhscall	namespacerequiredModulemaybeAssignisFillingAnAlias	stringKeydestructuringLhs
objectPatternnewStartCharC
correctedName
shortNameNode	shortNamelastSegmentdeclarationlhs
importTypeatTopLevelScopevalidAssignment	isAliased
SourceFileCheckClosureImports.javaNestHostBootstrapMethods?
???/?$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;?InnerClassesCheckerAbstractModuleCallbackModuleMetadata
ClosureImport?.com/google/javascript/jscomp/deps/ModuleLoaderResolutionMode?%java/lang/invoke/MethodHandles$Lookup?java/lang/invoke/MethodHandlesLookup 	yz[*+?*,-?*-?
?{????| }~??
???zW*??+???#W?{
??| }~???A	????z?Q-??,?):,?/?4*,?3:?*+,-?7?,?;?>?B?
*+,-?F?,?J?	*+,?M?{2??,9@
JP
|H'5_Q}~Q??Q?AQ??Q?AF?A??&*[????????56z?M+?/?Q+?;?W?B??Z?+?;?`?B??c?+?;?f?B??i?+?;?l?B??o??{*
%)6:GK|M}~M?A????OPz^?+?r,?x?|??N-?-??,??-??:??????)?????????):???$????;????;???/??*?;???3:???{J"$%(")/*0.;/F0M1W2_3j4v5w8?:?;?=|H?}~?????A}??"j?AM??A?5_?"	???*D*?**?[	??HIzj?+???+,???????-????-????*???????åu+?șn,:?)?˙
?):???6?):?J??Ι	6?%?љ?;:?J??ԙ6?+,??????,?ڙ
,?ݶ??+,????Y?S???,?ݶx:*?
?????:?+,????YS???,?):?љ?;?J??6-???
-????6?x?s,?)?;?x:	+?r	?|??:

?+,???????
????:??`??+,??????????x??+,????????{?-@ABEF&G2O9Q<RGSQVTW[XkYqZy[?\?]?a?b?g?h?i?l?m?o?p?q?t?uv-w7xC{Q|V}b~c?m?}???????????|???A<h?ATP??[I?ACd??	QV??
m:?A?}~?????A??????????????A???-{>??L?'*?*?*???0??*@?@?7???*?
???_Ez?=+?θ+?;M,?Ԛ?,?;N-? -????-?;?J??-?N????{2???????%?'?1?3?;?|*!?A=}~=?A1?A??*?*??hiz3?,?x:--.?`?:??????? ?? ?K?? ???&???*6??-:+,?1??YSYS???{.???&?'?<?H?T?_?n???|R_%??n???}~?????A?????q????&??,H&
???9:zq?+?6?
+?9??6?<6?
-????6-?)??6	???o?+,?B?????,?ڙ
,?ݶ??+,????Y?ES?????	??-?):

???+,?H??Y?ES????K?F
?N?+,?Q??Y?ES???'
?T????+,?W??Y?ES??
?;:?ΙD?Z?$*?]?A+
?`??Y?ES???)+
?c??Y?ES???*+,???x?f,?ݶx:
*?
??
???:?9?c?	??+,?j??Y
S???+,????Y
S????m?*?
,+?p?Z???????+,?t?????{?+???/?8?J?V?W?h?|?}??????????????????????????-?E?S?\?m?r?z?????????????????|????A
?W?A?}~?????A??A?????_????>?/???8???	\???
mu???5@?@??,*&#?7*?
?A?#????????????2?s?	??	[?D
???@???




© 2015 - 2024 Weber Informatics LLC | Privacy Policy