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

com.google.javascript.jscomp.FindModuleDependencies.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?
java/lang/Object()V		
5com/google/javascript/jscomp/CompilerInput$ModuleTypeNONE7Lcom/google/javascript/jscomp/CompilerInput$ModuleType;	3com/google/javascript/jscomp/FindModuleDependencies
moduleType	dynamicImportScope$Lcom/google/javascript/jscomp/Scope;	compiler/Lcom/google/javascript/jscomp/AbstractCompiler;	supportsEs6ModulesZ	 supportsCommonJsModules	"#$inputPathByWebpackId(Lcom/google/common/collect/ImmutableMap;
&'()* com/google/javascript/rhino/NodeisScript()Z
,-./0$com/google/common/base/Preconditions
checkArgument(Z)V
23456.com/google/javascript/jscomp/Es6RewriteModulesisEs6ModuleRoot%(Lcom/google/javascript/rhino/Node;)Z	89ES6
&;<=
getInputId'()Lcom/google/javascript/rhino/InputId;
?@ABC-com/google/javascript/jscomp/AbstractCompilergetInputS(Lcom/google/javascript/rhino/InputId;)Lcom/google/javascript/jscomp/CompilerInput;
EFGHI*com/google/javascript/jscomp/CompilerInputgetRequires+()Lcom/google/common/collect/ImmutableList;	KLMNO8com/google/javascript/jscomp/deps/DependencyInfo$RequireBASE:Lcom/google/javascript/jscomp/deps/DependencyInfo$Require;
QRSTU'com/google/common/collect/ImmutableListcontains(Ljava/lang/Object;)Z
EWXYaddOrderedRequire=(Lcom/google/javascript/jscomp/deps/DependencyInfo$Require;)Z
[\]^_*com/google/javascript/jscomp/NodeTraversaltraverse?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/NodeTraversal$Callback;)V
abcconvertToEs6Module&(Lcom/google/javascript/rhino/Node;Z)Z
EefggetPath=()Lcom/google/javascript/jscomp/deps/ModuleLoader$ModulePath;
ijklm9com/google/javascript/jscomp/deps/ModuleLoader$ModulePathtoString()Ljava/lang/String;
opqrU&com/google/common/collect/ImmutableMap
containsValue	tuIMPORTED_SCRIPT
iwxmtoModuleName
Ez{|
addProvide(Ljava/lang/String;)V
E~?setJsModuleType:(Lcom/google/javascript/jscomp/CompilerInput$ModuleType;)V
E??0setHasFullParseDependencyInfo
&??*
isFunction
????
getOptions0()Lcom/google/javascript/jscomp/CompilerOptions;	?????,com/google/javascript/jscomp/CompilerOptionsmoduleResolutionMode?Lcom/google/javascript/jscomp/deps/ModuleLoader$ResolutionMode;
?????3com/google/javascript/jscomp/ProcessCommonJSModulesisCommonJsDynamicImportCallbackd(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/deps/ModuleLoader$ResolutionMode;)Z
[???getScope&()Lcom/google/javascript/jscomp/Scope;
????6%com/google/javascript/jscomp/NodeUtilisControlStructure
???6isStatementBlock
&??*isExprResult
&???getFirstFirstChild$()Lcom/google/javascript/rhino/Node;	???GOOG_PROVIDE+Lcom/google/javascript/rhino/QualifiedName;
????6)com/google/javascript/rhino/QualifiedNamematches	???GOOG_MODULE	??GOOG
???6isGoogRequireDynamicCall
[?B?.()Lcom/google/javascript/jscomp/CompilerInput;
&???getLastChild
&??m	getString
E??|addRequireDynamicImports
&??*isExport	&???EXPORT_DEFAULT'Lcom/google/javascript/rhino/Node$Prop;
&???getBooleanProp*(Lcom/google/javascript/rhino/Node$Prop;)Z
&??*hasTwoChildren
???addEs6ModuleImportToGraphQ(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;)V
&??*isImport
&???getToken%()Lcom/google/javascript/rhino/Token;	?????!com/google/javascript/rhino/TokenDYNAMIC_IMPORT#Lcom/google/javascript/rhino/Token;
&???
getFirstChild
&??*isString
&??mgetSourceFileName
&???	getLineno()I
&???	getCharno
i???resolveJsModulec(Ljava/lang/String;Ljava/lang/String;II)Lcom/google/javascript/jscomp/deps/ModuleLoader$ModulePath;
E???addDynamicRequire(Ljava/lang/String;)Z
?isCommonJsExport?(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/deps/ModuleLoader$ResolutionMode;)Z	COMMONJS
??isCommonJsImport
?
getCommonJsImportPathu(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/deps/ModuleLoader$ResolutionMode;)Ljava/lang/String;
?getEnclosingFunctionF(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
KcommonJs`(Ljava/lang/String;Ljava/lang/String;)Lcom/google/javascript/jscomp/deps/DependencyInfo$Require;
[*inGlobalHoistScope
?6isGoogRequireCall
&?getSecondChild
& *isStringLit"goog.
$%&'?java/lang/String
startsWith
K)*+googRequireSymbolN(Ljava/lang/String;)Lcom/google/javascript/jscomp/deps/DependencyInfo$Require;
-./getEs6ModuleNameFromImportNodeb(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;)Ljava/lang/String;
K12	es6Import4goog:
$67?length
$9:;	substring(I)Ljava/lang/String;
i=>?resolveModuleAsPathO(Ljava/lang/String;)Lcom/google/javascript/jscomp/deps/ModuleLoader$ModulePath;AOcom/google/javascript/jscomp/FindModuleDependencies$FindGoogProvideOrGoogModule
@
@DE*isFound	?GH?MODULE_BODY
&JK&(Lcom/google/javascript/rhino/Token;)V
&MNsrcref
&PQ?removeChildren
&STUaddChildrenToBack%(Lcom/google/javascript/rhino/Node;)V
&WXUaddChildToBackZgoog.module
?\]^of?(Ljava/lang/String;)Lcom/google/javascript/rhino/QualifiedName;`goog.provideb9com/google/javascript/jscomp/NodeTraversal$ScopedCallbackRuntimeVisibleTypeAnnotations#Lorg/jspecify/annotations/Nullable;	SignatureNLcom/google/common/collect/ImmutableMap;\(Lcom/google/javascript/jscomp/AbstractCompiler;ZZLcom/google/common/collect/ImmutableMap;)VCodeLineNumberTableLocalVariableTablethis5Lcom/google/javascript/jscomp/FindModuleDependencies;LocalVariableTypeTableMethodParameters?(Lcom/google/javascript/jscomp/AbstractCompiler;ZZLcom/google/common/collect/ImmutableMap;)Vprocessroot"Lcom/google/javascript/rhino/Node;input,Lcom/google/javascript/jscomp/CompilerInput;
StackMapTableshouldTraverses(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Zt,Lcom/google/javascript/jscomp/NodeTraversal;nparentvisits(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)VmaybeGetProppathLjava/lang/String;
modulePath;Lcom/google/javascript/jscomp/deps/ModuleLoader$ModulePath;	namespaceresolutionMode?=com/google/javascript/jscomp/deps/ModuleLoader$ResolutionMode
enterScope/(Lcom/google/javascript/jscomp/NodeTraversal;)V	exitScope
moduleName
importNameisNamespaceImportfinderQLcom/google/javascript/jscomp/FindModuleDependencies$FindGoogProvideOrGoogModule;skipGoogProvideModuleCheck
moduleNode
SourceFileFindModuleDependencies.javaNestMembersInnerClasses
ModuleType?0com/google/javascript/jscomp/deps/DependencyInfoRequire?3com/google/javascript/jscomp/NodeTraversal$CallbackCallback?.com/google/javascript/jscomp/deps/ModuleLoader
ModulePathResolutionMode?%com/google/javascript/rhino/Node$PropPropFindGoogProvideOrGoogModuleScopedCallback!a???? cd#$ef
gh?&*?*??
*?*+?*?*?*?!?i"=56>?@A%Bj4&kl&&& &#$m&#fn #eopUh ?+?%?++?1?
*?7?
*?+?:?>M,?D?J?P?,?J?VW*?+*?Z*?
?7?
*+?`W?,*?
??"*?!?*?!,?d?h?n?
*?s?
,,?d?v?y,*?
?},???iBdefh!o.p6s?uIvSwiyuz|}?~???j ?kl?qr!tstu? E(nqvwh?0*??*,???#,*????????*??*+????i?????&?.?j*0kl0xy0zr0{ru.n
xz{|}h??*?????:-?-???
-???3,???,,??:?!??????????*???
?,???+??,???¶?*??.,?ș'*?7?
,?˶ϙ?,?ә*+,?֧?*??,?ڙ*?7?
*+,?֧?*??O,?ݲ?E,???;,???:+???d,??,??,????:?+???v??W??*???*?
???+,???
*??
?h,??_,?	:+???d,??,??,????:?8*??,?
???+???v??W?+???v??VW-?U-???
+??G,??@,??9,???/,???:!?#?+???J?VW+???(?VW?i?8?????%?+?5?F?M?N?U?c?q?x????????????????????????????????
??!?+?4?<?=?@?F?V?[?c?h?n?~?????????????????????jp+#~r?,????<T?V:???#???kl?xy?zr?{r???u1???'&?!?O$?B$i??6$?n
xz{??h5?i?jklxynx??hV+??*??*??i???jklxyunx??h?0*+,?,N-!?#?+???J?VW+??-,???¸0?VW?i????/?j*0kl0xy0zr)??u?$n	xz./h?R,????N-3?#6?-3?5?8?+???d-,??,??,????:?+???d-?<:?v?i.????!"%*:?L	j>:??RklRxyRzrJ??A?u?!$?*in	xzbch?E+?1????@Y?BN*?+-?Z-?C???&Y?F?I+?LN-+?O?R+-?V?i.	
%'6>Cj4??EklEqrE?6?ru	n	q??h/Y?[??_?[???i
/	0???@?BE?@K??	?[?	i?????@?&?@@?
a[?	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy