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

com.google.javascript.jscomp.deps.NodeModuleResolver.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!
????7gjava/util/TreeSetcompare()Ljava/util/Comparator;
	
(Ljava/util/Comparator;)V
java/lang/Iterableiterator()Ljava/util/Iterator;java/util/IteratorhasNext()Znext()Ljava/lang/Object;java/lang/String
 
startsWith(Ljava/lang/String;)Z
"#$length()I
&'(	substring(I)Ljava/lang/String;*/node_modules/
,-.split'(Ljava/lang/String;)[Ljava/lang/String;0234makeConcatWithConstants8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;6789:java/util/SortedSetadd(Ljava/lang/Object;)Z<3=&(Ljava/lang/String;)Ljava/lang/String;
?@ABC,com/google/common/collect/ImmutableSortedSetcopyOfSortedE(Ljava/util/SortedSet;)Lcom/google/common/collect/ImmutableSortedSet;
EFG	H0com/google/javascript/jscomp/deps/ModuleResolver?(Lcom/google/common/collect/ImmutableSet;Lcom/google/common/collect/ImmutableList;Lcom/google/javascript/jscomp/ErrorHandler;Lcom/google/javascript/jscomp/deps/ModuleLoader$PathEscaper;)V
JKLMN4com/google/javascript/jscomp/deps/NodeModuleResolverbuildNodeModulesFoldersRegistryX(Ljava/lang/Iterable;Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableSortedSet;	JPQRnodeModulesFolders.Lcom/google/common/collect/ImmutableSortedSet;
TUVWX&com/google/common/collect/ImmutableMapof*()Lcom/google/common/collect/ImmutableMap;	JZ[\packageJsonMainEntries(Lcom/google/common/collect/ImmutableMap;
J^_`buildPackageJsonMainEntries9(Ljava/util/Map;)Lcom/google/common/collect/ImmutableMap;
Tbcdbuilder2()Lcom/google/common/collect/ImmutableMap$Builder;fghij
java/util/MapentrySet()Ljava/util/Set;l
m
java/util/Setojava/util/Map$EntrynqrgetKey
tuvw .com/google/javascript/jscomp/deps/ModuleLoaderisAmbiguousIdentifier<nz{getValue
}~??.com/google/common/collect/ImmutableMap$BuilderputV(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap$Builder;
}??XbuildOrThrow
t?? isAbsoluteIdentifier
t?? isRelativeIdentifier
J??4"resolveJsModuleNodeFileOrDirectory
J??4resolveJsModuleFromRegistry	J???errorHandler+Lcom/google/javascript/jscomp/ErrorHandler;	?????'com/google/javascript/jscomp/CheckLevelWARNING)Lcom/google/javascript/jscomp/CheckLevel;	t???LOAD_WARNING-Lcom/google/javascript/jscomp/DiagnosticType;
?????$com/google/javascript/jscomp/JSErrormake|(Ljava/lang/String;IILcom/google/javascript/jscomp/DiagnosticType;[Ljava/lang/String;)Lcom/google/javascript/jscomp/JSError;?????)com/google/javascript/jscomp/ErrorHandlerreportR(Lcom/google/javascript/jscomp/CheckLevel;Lcom/google/javascript/jscomp/JSError;)V	J???FILE_EXTENSIONS_TO_SEARCH[Ljava/lang/String;2
J??4canonicalizePath
T??:containsKey
T???get&(Ljava/lang/Object;)Ljava/lang/Object;?$jscomp$browser$skiplisted
??:equals
J??4locate
J??4resolveJsModuleFile
J??4resolveJsModuleNodeDirectory?/
?? endsWith
?'?(II)Ljava/lang/String;	J???FILES_TO_SEARCH?
/package.json
???2()Lcom/google/common/collect/UnmodifiableIterator;2
????java/lang/Integer(II)I
???	compareTo(Ljava/lang/String;)I?.js?.json?.i.js?.js.i.js?	/index.js?/index.json	SignatureNLcom/google/common/collect/ImmutableMap;BLcom/google/common/collect/ImmutableSortedSet;CodeLineNumberTableLocalVariableTablemoduleRootPathLjava/lang/String;iInodeModulesDirs
parentPath
modulePathmodulePathsLjava/lang/Iterable;moduleRootPathsregistryLjava/util/SortedSet;LocalVariableTypeTable(Ljava/lang/Iterable;)Ljava/util/SortedSet;
StackMapTable?MethodParameters?(Ljava/lang/Iterable;Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableSortedSet;?(Lcom/google/common/collect/ImmutableSet;Lcom/google/common/collect/ImmutableList;Ljava/util/Map;Lcom/google/javascript/jscomp/ErrorHandler;Lcom/google/javascript/jscomp/deps/ModuleLoader$PathEscaper;)Vthis6Lcom/google/javascript/jscomp/deps/NodeModuleResolver;(Lcom/google/common/collect/ImmutableSet;)Lcom/google/common/collect/ImmutableList;Ljava/util/Map;pathEscaper;=Lcom/google/common/collect/ImmutableList;5Ljava/util/Map;&com/google/common/collect/ImmutableSet'com/google/common/collect/ImmutableList:com/google/javascript/jscomp/deps/ModuleLoader$PathEscaper(Lcom/google/common/collect/ImmutableSet;Lcom/google/common/collect/ImmutableList;Ljava/util/Map;Lcom/google/javascript/jscomp/ErrorHandler;Lcom/google/javascript/jscomp/deps/ModuleLoader$PathEscaper;)VentryKeypackageJsonMainEntryLjava/util/Map$Entry;0Lcom/google/common/collect/ImmutableMap$Builder;;Ljava/util/Map$Entry;VLcom/google/common/collect/ImmutableMap$Builder;?(Ljava/util/Map;)Lcom/google/common/collect/ImmutableMap;getPackageJsonMainEntries()Ljava/util/Map;7()Ljava/util/Map;resolveJsModuleL(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;II)Ljava/lang/String;loadAddress
scriptAddress
moduleAddress
sourcenamelinenocolnoRuntimeVisibleTypeAnnotations#Lorg/jspecify/annotations/Nullable;moduleAddressCandidatecanonicalizedCandidatePath	extensionfullModulePathnodeModulesFoldernormalizedScriptAddress(lambda$buildNodeModulesFoldersRegistry$0'(Ljava/lang/String;Ljava/lang/String;)Iab
comparison()V
SourceFileNodeModuleResolver.javaNestMembers>??FN
f(hFiPj\k_mbnkooq|r?s?v?w?q?y?{?RF??r:??kA??o=??(?????????
??? ????
??9?6?.??!?6?	???	??+*+,?D*+,?I?O-?
*?S?Y?**-?]?Y???
???!?*??>+	+?
+?+[+??+
 +?+?+[?!Jf???[?
?_`?Z?aM+?e?kN-???-??n:?p?:?s??x:,?y??|W???,????"??$?0?8?A?R?U??40"?$.Z	Z[Vc $.Z[Vc?}?0n?[? !?/*?Y????	?"#$??
H,???
,???*+,??:?*+,??:?"*????-???Y,S??????&	????!?&?=?@?E??R%?H	H&?H'?H(?H)?H*?!'%?
?#&'()*+,?4?
j??N-?66?Y-2:,??:*+??:*?Y???*?Y???:?????*+??:		?	???????2??"?+?7?E?O?Q?Z?_?b?h??H"@-?+7.?Z%?	J/?j	j&?j'???E??	&'+,?4?v*+,??N-?
*+,??N-???????*	&?'?
%??	&'+,?4??l,ȶʙ,,?!d??M>?о?N*+,??2????:?1??2Ӷ??!*?Y???*+*?Y????°???????.?	???1?6?C?Oad?j?413%?S??l	l&?l'???I??	&'+,?4?+n+?s?ȧ/+??N*?O??:??G??:-?????,??:*+??:?*+??:???????2
4=@JSXafi l"?HJ0?S%?451?n	n&?n'?Y2?%A??!? ??	&'+,
34?n+?!*?!??=??*+?ެ?STUX? 5?6?7??89?S7?Y/SY?SY?SY?SY?S???Y?SY?SY?S?б?
( 0:;<=?*@GILMSMUMWMYM[]*t^D	}T_	nf`	=Jabdf




© 2015 - 2024 Weber Informatics LLC | Privacy Policy