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

com.google.javascript.jscomp.modules.EsModuleProcessor.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		
6com/google/javascript/jscomp/modules/EsModuleProcessorcompiler/Lcom/google/javascript/jscomp/AbstractCompiler;	metadataGLcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;Ncom/google/javascript/jscomp/modules/EsModuleProcessor$UnresolvedModuleBuilder
?(Lcom/google/javascript/jscomp/modules/EsModuleProcessor;Lcom/google/javascript/jscomp/deps/ModuleLoader$ModulePath;Lcom/google/javascript/rhino/Node;)V	currentModuleBuilderPLcom/google/javascript/jscomp/modules/EsModuleProcessor$UnresolvedModuleBuilder;
*com/google/javascript/jscomp/NodeTraversaltraverse?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/NodeTraversal$Callback;)V
!"#build9()Lcom/google/javascript/jscomp/modules/UnresolvedModule;	%&'()8com/google/javascript/jscomp/modules/EsModuleProcessor$1,$SwitchMap$com$google$javascript$rhino$Token[I
+,-./ com/google/javascript/rhino/NodegetToken%()Lcom/google/javascript/rhino/Token;
12345!com/google/javascript/rhino/Tokenordinal()I
789visitExportQ(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;)V
;<9visitImport
>?@AB+com/google/javascript/jscomp/modules/Exportbuilder7()Lcom/google/javascript/jscomp/modules/Export$Builder;
DEFGH3com/google/javascript/jscomp/modules/Export$Builder
exportNameI(Ljava/lang/String;)Lcom/google/javascript/jscomp/modules/Export$Builder;
+JKLgetSecondChild$()Lcom/google/javascript/rhino/Node;
+NOP	getString()Ljava/lang/String;
DRSH
moduleRequestU*
DWXH
importName
DZ[H	localName
]^_getInput.()Lcom/google/javascript/jscomp/CompilerInput;
abcde*com/google/javascript/jscomp/CompilerInputgetPath=()Lcom/google/javascript/jscomp/deps/ModuleLoader$ModulePath;
Dghi
modulePathr(Lcom/google/javascript/jscomp/deps/ModuleLoader$ModulePath;)Lcom/google/javascript/jscomp/modules/Export$Builder;
Dklm
exportNodeY(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/modules/Export$Builder;
DopqmoduleMetadata~(Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;)Lcom/google/javascript/jscomp/modules/Export$Builder;
Ds"t/()Lcom/google/javascript/jscomp/modules/Export;
vwxadd0(Lcom/google/javascript/jscomp/modules/Export;)Z
+z{L
getFirstChild}	*default*
+??
isFunction()Z
+???isClass
?????%com/google/javascript/jscomp/NodeUtilgetName6(Lcom/google/javascript/rhino/Node;)Ljava/lang/String;
?????com/google/common/base/Strings
isNullOrEmpty(Ljava/lang/String;)Z?default	???DUPLICATE_EXPORT-Lcom/google/javascript/jscomp/DiagnosticType;?java/lang/String
???reporte(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/DiagnosticType;[Ljava/lang/String;)V
+??LgetFirstFirstChild
+??LgetLastChild
D??mnameNode
+??LgetNext???accept?(Lcom/google/javascript/jscomp/modules/EsModuleProcessor;Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Ljava/util/function/Consumer;
????visitLhsNodesInNodeB(Lcom/google/javascript/rhino/Node;Ljava/util/function/Consumer;)V
+???isName
?????$com/google/common/base/Preconditions
checkState(Z)V	+???EXPORT_ALL_FROM'Lcom/google/javascript/rhino/Node$Prop;
+???getBooleanProp*(Lcom/google/javascript/rhino/Node$Prop;)Z
??9visitExportAllFrom	+???EXPORT_DEFAULT
??9visitExportDefault
+???hasTwoChildren
??9visitExportFrom
+???
isExportSpecs
??9visitExportSpecs
????isNameDeclaration%(Lcom/google/javascript/rhino/Node;)Z
???visitExportNameDeclarations(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V
???visitExportFunctionOrClass
???A?+com/google/javascript/jscomp/modules/Import7()Lcom/google/javascript/jscomp/modules/Import$Builder;
???S?3com/google/javascript/jscomp/modules/Import$BuilderI(Ljava/lang/String;)Lcom/google/javascript/jscomp/modules/Import$Builder;
??X?
??[?
??h?r(Lcom/google/javascript/jscomp/deps/ModuleLoader$ModulePath;)Lcom/google/javascript/jscomp/modules/Import$Builder;
????
importNodeY(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/modules/Import$Builder;
????
??"?/()Lcom/google/javascript/jscomp/modules/Import;
?w?0(Lcom/google/javascript/jscomp/modules/Import;)V
visitImportDefaultc(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Ljava/lang/String;)V
+?
isImportSpecs
visitImportSpecs
+
?isImportStar

visitImportStar
addExportNameDeclaration?(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)VJSC_AMBIGUOUS_EXPORT_DEFINITIONThe export "{0}" is ambiguous.
+com/google/javascript/jscomp/DiagnosticTypewarningS(Ljava/lang/String;Ljava/lang/String;)Lcom/google/javascript/jscomp/DiagnosticType;	?AMBIGUOUS_EXPORT_DEFINITION!JSC_CYCLIC_EXPORT_DEFINITION#2Cyclic export detected while resolving name "{0}".
%&error	()?CYCLIC_EXPORT_DEFINITION+JSC_DUPLICATE_EXPORT-Duplicate export of "{0}"./JSC_IMPORTED_AMBIGUOUS_EXPORT1&The requested name "{0}" is ambiguous.	34?IMPORTED_AMBIGUOUS_EXPORT6$JSC_NAMESPACE_IMPORT_CANNOT_USE_STAR8kNamespace imports ('goog:some.Namespace') cannot use import * as. Did you mean to import {0} from ''{1}'';?	:;? NAMESPACE_IMPORT_CANNOT_USE_STAR=#JSC_CANNOT_PATH_IMPORT_CLOSURE_FILE?dCannot import Closure files by path. Use either import 'goog:namespace' or goog.require('namespace')	AB?CANNOT_PATH_IMPORT_CLOSURE_FILED3com/google/javascript/jscomp/NodeTraversal$CallbackFEcom/google/javascript/jscomp/modules/ModuleMapCreator$ModuleProcessorRuntimeVisibleTypeAnnotations#Lorg/jspecify/annotations/Nullable;2(Lcom/google/javascript/jscomp/AbstractCompiler;)VCodeLineNumberTableLocalVariableTablethis8Lcom/google/javascript/jscomp/modules/EsModuleProcessor;MethodParametersprocess?(Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;Lcom/google/javascript/jscomp/deps/ModuleLoader$ModulePath;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/modules/UnresolvedModule;path;Lcom/google/javascript/jscomp/deps/ModuleLoader$ModulePath;script"Lcom/google/javascript/rhino/Node;m7Lcom/google/javascript/jscomp/modules/UnresolvedModule;shouldTraverses(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Zt,Lcom/google/javascript/jscomp/NodeTraversal;nparent
StackMapTablevisitexport	maybeNameLjava/lang/String;childnameexportedNamedeclarationlhs#lambda$visitExportNameDeclaration$0
SourceFileEsModuleProcessor.javaNestMembersnIcom/google/javascript/jscomp/modules/EsModuleProcessor$UnresolvedEsModulepIcom/google/javascript/jscomp/modules/EsModuleProcessor$FindMutableExportsBootstrapMethodss
tuvwx"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;z(Ljava/lang/Object;)V|
}h%(Lcom/google/javascript/rhino/Node;)VInnerClasses?Ecom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata?6com/google/javascript/jscomp/modules/ModuleMetadataMapModuleMetadataUnresolvedModuleBuilder?9com/google/javascript/jscomp/deps/ModuleLoader$ModulePath?.com/google/javascript/jscomp/deps/ModuleLoader
ModulePathCallbackBuilder?%com/google/javascript/rhino/Node$PropProp?5com/google/javascript/jscomp/modules/ModuleMapCreatorModuleProcessorUnresolvedEsModuleFindMutableExports?%java/lang/invoke/MethodHandles$Lookup?java/lang/invoke/MethodHandlesLookup1CE	?)???4?;?B?G
HGHIJF
*?*+??K??	?L
MN
OPQJ?2*+?
*?Y*,-??*?-*?*?? :*?
*??K????%?*?/?L42MN22RS2TU%
VWO
RTXYJ?0?$,?*?0.?#!!!!!??K?,?.?L*0MN0Z[0\U0]U^,O
Z\]_?J?7?$,?*?0.?+"*+,?6?*+,?:??K?$?*?-?3?6?L*7MN7Z[7\U7]U^$O
Z\]?9J?;*??=?C,?I?M?QT?V?Y+?\?`?f,?j*?
?n?r?uW?K2???????)?0?3?6?:?L ;MN;Z[;`UO	Z`?9J+r,?yN|:-?~?
-???-??:???:*??=??C?Q?V?Y+?\?`?f,?j*?
?n?r?u?+,????Y?S???KN??	???%?)?-?2?6?:???C?M?T?W?Z?`?q?L>abrMNrZ[r`UmcU	idb^?+??GO	Z`?9J-y,??N-?r-?y?M:-???M:*??=?C,?I?M?Q?V?Y+?\?`?f,?j-?y??*?
?n?r?u?+,????YS??-??N????KJ?	????$?(?3?7?;?EISVY?_p?xL>^XbUebscUyMNyZ[y`U^?+?j?O	Z`?9J's,??N-?l-?y?M:-???M:*??=?C?Q?V?Y+?\?`?f,?j-?y??*?
?n?r?u?+,????YS??-??N????KJ	
$(,15?CMPSYjrL>X[bOebmcUsMNsZ[s`U^?+?d?O	Z`??JZ-*+,-?????K
!
#L*MNZ[`UfUO
Z`fJZ,????,?M:*??=?C?Q?V?Y+?\?`?f-?j,??*?
?n?r?u?+-????YS???KB&'
()*+,#-'.1/50<1?2B(H3Y5L>ZMNZZ[ZgUZ`UZfU
Mdb^?Y?OZg`f??J"q-?~?
-??????-?y:?M:*??=?C?Q?V?Y+?\?`?f,?j??*?
?n?r?u?+,????YS???KF:;<#='>,?0@4A9B=CGDLESFVGY=_HpJL>qMNqZ[q`UqfUU?U#Ndb^@?\+?O
Z`f89J?g,?????*+,?§V,?Ŷ??*+,?ȧC,?˙*+,?Χ3,?y?љ*+,?ԧ ,?yN-?י
*+,-?ۧ
*+,-?߱K6
M
NOP&Q-R6S@TIVNWUX_Zf]L*NfUgMNgZ[g`U^?+?O	Z`J?6*???-?????,?y?M??+?\?`??,??,?y???????K.abc
def%g)h/i2a5jL*6MN6Z[6?U6SbO
Z?SJ^,?I?y:?R?y?M:???M:*???-??????+?\?`??,???I????????:????KBn	oqr"s&t*u/v4w8xByGzM{PsSp]}LH;Xb"1[b	TcU^MN^Z[^?U^Sb^?	+?SO
Z?SJ?6*???-??T??,?I?M??,??+?\?`??,?I???????K.???
????)?/?2?5?L*6MN6Z[6?U6SbO
Z?S<9J??,???MN,?y???
*+,-??,?I??
*+,-??,?I?	?
*+,-??K"????#?-?7?>?L*?MN?Z[??U7Sb^
??O	Z?hJ\
*+,-??K"L4
MN
Z[
`U
fU
gUiJ?I?? "?$?'*,?$??.0?$?257?$?9<>?$?@?K6
\]_`ef$h*i0l6m<rBsHrjkl
%moqry{~?b???	????C?	%D>??+?@???E??m?o????




© 2015 - 2024 Weber Informatics LLC | Privacy Policy