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

com.google.javascript.jscomp.deps.ModuleLoader.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/deps/ModuleNames.com/google/javascript/jscomp/deps/ModuleLoader6com/google/javascript/jscomp/deps/ModuleLoader$Builder
	
()V

java/lang/Object	errorHandler+Lcom/google/javascript/jscomp/ErrorHandler;
$com/google/common/base/PreconditionscheckNotNull&(Ljava/lang/Object;)Ljava/lang/Object;)com/google/javascript/jscomp/ErrorHandler		pathResolver=Lcom/google/javascript/jscomp/deps/ModuleLoader$PathResolver; ;com/google/javascript/jscomp/deps/ModuleLoader$PathResolver		#$%pathEscaper(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableSet;	?@AfactoryFLcom/google/javascript/jscomp/deps/ModuleLoader$ModuleResolverFactory;CDEFGDcom/google/javascript/jscomp/deps/ModuleLoader$ModuleResolverFactorycreate?(Lcom/google/common/collect/ImmutableSet;Lcom/google/common/collect/ImmutableList;Lcom/google/javascript/jscomp/ErrorHandler;Lcom/google/javascript/jscomp/deps/ModuleLoader$PathEscaper;)Lcom/google/javascript/jscomp/deps/ModuleResolver;	IJKmoduleResolver2Lcom/google/javascript/jscomp/deps/ModuleResolver;
MNOPQ0com/google/javascript/jscomp/deps/ModuleResolvergetPackageJsonMainEntries()Ljava/util/Map;S9com/google/javascript/jscomp/deps/ModuleLoader$ModulePath
UVapplyXjava/lang/String
&Z[\escape&(Ljava/lang/String;)Ljava/lang/String;
^_`	normalize:(Ljava/lang/String;Ljava/lang/Iterable;)Ljava/lang/String;
Rb	cE(Lcom/google/javascript/jscomp/deps/ModuleLoader;Ljava/lang/String;)Ve./
Wghi
startsWith(Ljava/lang/String;)Zk../m/
opiisAbsoluteIdentifier
rsiisRelativeIdentifier
Wuvwcontains(Ljava/lang/CharSequence;)Z
yz{|}!com/google/common/collect/Streamsstream/(Ljava/lang/Iterable;)Ljava/util/stream/Stream;????java/util/stream/Streammap8(Ljava/util/function/Function;)Ljava/util/stream/Stream;
????java/util/ObjectsrequireNonNull?V?[(Lcom/google/javascript/jscomp/deps/ModuleLoader$PathEscaper;)Ljava/util/function/Function;?V?()Ljava/util/function/Function;	???BEST_MATCH_PATH_ORDERINGLjava/util/Comparator;
?????,com/google/common/collect/ImmutableSortedSettoImmutableSortedSet4(Ljava/util/Comparator;)Ljava/util/stream/Collector;???collect0(Ljava/util/stream/Collector;)Ljava/lang/Object;
????asList+()Lcom/google/common/collect/ImmutableList;??V?O(Lcom/google/javascript/jscomp/deps/ModuleLoader;)Ljava/util/function/Function;????sorted1(Ljava/util/Comparator;)Ljava/util/stream/Stream;
?????+com/google/common/collect/ImmutableMultisettoImmutableMultiset()Ljava/util/stream/Collector;
????size()I
????
elementSet*()Lcom/google/common/collect/ImmutableSet;
???&com/google/common/collect/ImmutableSet?*Duplicate module paths after resolving: %s
???
checkState((ZLjava/lang/String;Ljava/lang/Object;)V
??iisAmbiguousIdentifier??\makeConcatWithConstants-???iterator()Ljava/util/Iterator;?????java/util/IteratorhasNext()Z????next()Ljava/lang/Object;
W???length
W???	substring(I)Ljava/lang/String;?????java/nio/file/Pathof;(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;????	getParent()Ljava/nio/file/Path;??.????toString()Ljava/lang/String;?\?"java/lang/IllegalArgumentException?/Relative path between URIs cannot be calculated
??	?(Ljava/lang/String;)V????
relativize*(Ljava/nio/file/Path;)Ljava/nio/file/Path;	??NOOP_ERROR_HANDER
M??setErrorHandler.(Lcom/google/javascript/jscomp/ErrorHandler;)VJSC_MODULE_CONFLICTQFile cannot be a combination of goog.provide, goog.module, and/or ES6 module: {0}
	
+com/google/javascript/jscomp/DiagnosticTypewarningS(Ljava/lang/String;Ljava/lang/String;)Lcom/google/javascript/jscomp/DiagnosticType;	
MODULE_CONFLICT-Lcom/google/javascript/jscomp/DiagnosticType;JSC_JS_MODULE_LOAD_WARNINGFailed to load module "{0}"

error	LOAD_WARNINGJSC_INVALID_MODULE_PATH3Invalid module path "{0}" for resolution mode "{1}"	INVALID_MODULE_PATH!"#
applyAsInt$()Ljava/util/function/ToIntFunction;%&'()java/util/ComparatorcomparingInt:(Ljava/util/function/ToIntFunction;)Ljava/util/Comparator;%+,-reversed()Ljava/util/Comparator;%/0-naturalOrder%234
thenComparing.(Ljava/util/Comparator;)Ljava/util/Comparator;678report-()Lcom/google/javascript/jscomp/ErrorHandler;
:;<builder:()Lcom/google/javascript/jscomp/deps/ModuleLoader$Builder;
>?@??'com/google/common/collect/ImmutableList
BCDsetModuleRootsN(Ljava/lang/Iterable;)Lcom/google/javascript/jscomp/deps/ModuleLoader$Builder;
FGD	setInputs	IJKLA7com/google/javascript/jscomp/deps/BrowserModuleResolverFACTORY
NOP
setFactory?(Lcom/google/javascript/jscomp/deps/ModuleLoader$ModuleResolverFactory;)Lcom/google/javascript/jscomp/deps/ModuleLoader$Builder;
RSTbuild2()Lcom/google/javascript/jscomp/deps/ModuleLoader;	VWXEMPTY0Lcom/google/javascript/jscomp/deps/ModuleLoader;MODULE_SLASHLjava/lang/String;
ConstantValueDEFAULT_FILENAME_PREFIXJSC_BROWSER_SKIPLISTED_MARKER_$jscomp$browser$skiplisted	Signature=Lcom/google/common/collect/ImmutableList;*Ljava/util/Comparator;CodeLineNumberTable;(Lcom/google/javascript/jscomp/deps/ModuleLoader$Builder;)VLocalVariableTablethis8Lcom/google/javascript/jscomp/deps/ModuleLoader$Builder;modulePaths(Lcom/google/common/collect/ImmutableSet;LocalVariableTypeTable;MethodParameters7()Ljava/util/Map;RuntimeInvisibleAnnotations1Lcom/google/common/annotations/VisibleForTesting;resolveO(Ljava/lang/String;)Lcom/google/javascript/jscomp/deps/ModuleLoader$ModulePath;pathname
StackMapTableisPathIdentifierroots(Ljava/lang/Iterable;g(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableList;dupeModulePaths-Lcom/google/common/collect/ImmutableMultiset;ILjava/lang/Iterable<+Lcom/google/javascript/jscomp/deps/DependencyInfo;>;ALcom/google/common/collect/ImmutableMultiset;?(Ljava/lang/Iterable<+Lcom/google/javascript/jscomp/deps/DependencyInfo;>;)Lcom/google/common/collect/ImmutableSet;trailing
moduleRootnormalizedPathN(Ljava/lang/String;Ljava/lang/Iterable;)Ljava/lang/String;relativePathFrom8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;fromUriPath	toUriPathfromPathLjava/nio/file/Path;toPath
fromFoldercalculatedPathgetErrorHandlerlambda$static$3R(Lcom/google/javascript/jscomp/CheckLevel;Lcom/google/javascript/jscomp/JSError;)Vlevel)Lcom/google/javascript/jscomp/CheckLevel;&Lcom/google/javascript/jscomp/JSError;lambda$resolvePaths$2nlambda$resolvePaths$1plambda$createRootPaths$0
SourceFileModuleLoader.javaNestMembers?=com/google/javascript/jscomp/deps/ModuleLoader$ResolutionMode?=com/google/javascript/jscomp/deps/ModuleLoader$PathResolver$2?=com/google/javascript/jscomp/deps/ModuleLoader$PathResolver$1?,*?3*?*?(?B?H?d&	??? ?.?@?O?a?i?f jgXj;hOijkOilm;PQc2*?H?L?d?fgX`nopqrcV"?RY**?(*?!+?T?W?Y*?3?]?a?d?f"gX"sZms	sicN*d?f?*j?f???d?ftZu@mt	pic1*l?f?d?ftZmt	?icI*?n?*?q???d?ftZu@mt	vic1*l?t?d?ftZmt12c?<+?x*?!?~*?(Y??W???~???~???????????d%-8;f<gX<w,k<wxmw`y<=cq+?x???~*?!?~*?(Y??W???~*???~???~??????????M,??,???????,??,???d6

	0:BGSTilf qgXq9,Sz{kq9|Sz}u
?e?@m9`~_`c?Y*M,???
,??M+??N-???:-???W:,?f?#,?ն?:l?f?l?նذ???*?d*
 !	"&+'4*?+I,T/W1f4?Z+)?ZYsZY5,W?ZkY5xu?W??>?L@YA[B`CjFyG?H?Jf>??Z??Z	??????~??y?Zu?/???)?"Wm	???cm+?
*????*+?*?H*????dNOQSTfgXum?8c/*??dWfgX
??c5?d?f???
?\cI*???*???*?df?Zu@W?\c=	+*?3?]?df	gX	?Z
?\cI*???*???*?df?Zu@W?
c?`??????? ?$?*?.?1???5???9?=?A?=?E?H?M?Q?U?d>23?@BC$?)?<?D?G?M?V?Y?_????
?C??&??R?T	?????????????????????????????????Z??D	&?D	C?	R???@?@?@?@?@???




© 2015 - 2024 Weber Informatics LLC | Privacy Policy