com.google.javascript.jscomp.modules.ModuleMapCreator$ModuleRequestResolverImpl.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of closure-compiler-unshaded Show documentation
Show all versions of closure-compiler-unshaded Show documentation
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 ? Ocom/google/javascript/jscomp/modules/ModuleMapCreator$ModuleRequestResolverImpl this$0 7Lcom/google/javascript/jscomp/modules/ModuleMapCreator;
java/lang/Object ()V
Ecom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata builder Q()Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata$Builder;
Mcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata$Builder rootNode s(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata$Builder;
path ?(Lcom/google/javascript/jscomp/deps/ModuleLoader$ModulePath;)Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata$Builder; ! " Acom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleType
ES6_MODULE CLcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleType;
$ % &
moduleType ?(Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleType;)Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata$Builder;
( ) *
isTestOnly R(Z)Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata$Builder;
, - * usesClosure
/ 0 1 build I()Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata; 3 Qcom/google/javascript/jscomp/modules/ModuleMapCreator$ModuleRequestResolverImpl$1
2 5 6 ?(Lcom/google/javascript/jscomp/modules/ModuleMapCreator$ModuleRequestResolverImpl;Lcom/google/javascript/jscomp/deps/ModuleLoader$ModulePath;Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;)V 8 9 : ; < 5com/google/javascript/jscomp/modules/ModuleMapCreator nonEsModuleProcessor ;Lcom/google/javascript/jscomp/modules/NonEsModuleProcessor;
> ? @ addGoogNamespace c(Ljava/lang/String;)Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata$Builder; B C " GOOG_PROVIDE
E F G H I 9com/google/javascript/jscomp/modules/NonEsModuleProcessor process ?(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;
K L M N O +com/google/javascript/jscomp/modules/Import
modulePath =()Lcom/google/javascript/jscomp/deps/ModuleLoader$ModulePath;
K Q R S
moduleRequest ()Ljava/lang/String;
U V W resolveForClosure K(Ljava/lang/String;)Lcom/google/javascript/jscomp/modules/UnresolvedModule;
K Y Z [
importNode $()Lcom/google/javascript/rhino/Node;
] ^ _ resolve ?(Ljava/lang/String;Lcom/google/javascript/jscomp/deps/ModuleLoader$ModulePath;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/modules/UnresolvedModule;
a Q b +com/google/javascript/jscomp/modules/Export
a L
a e f [
exportNode 8 h i j #unresolvedModulesByClosureNamespace Ljava/util/Map; l m n apply p(Lcom/google/javascript/jscomp/modules/ModuleMapCreator$ModuleRequestResolverImpl;)Ljava/util/function/Function; p q r s t
java/util/Map computeIfAbsent C(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object; v 5com/google/javascript/jscomp/modules/UnresolvedModule
x y z { | 2com/google/javascript/jscomp/modules/GoogEsImports isGoogImportSpecifier (Ljava/lang/String;)Z
x ~ ? #getClosureIdFromGoogImportSpecifier &(Ljava/lang/String;)Ljava/lang/String;
? ? ? ? S com/google/javascript/rhino/Node getSourceFileName
? ? ? ? getLineno ()I
? ? ? ? getCharno
? ? ? ? ? 9com/google/javascript/jscomp/deps/ModuleLoader$ModulePath resolveJsModule c(Ljava/lang/String;Ljava/lang/String;II)Lcom/google/javascript/jscomp/deps/ModuleLoader$ModulePath;
? ? ? ? resolveModuleAsPath O(Ljava/lang/String;)Lcom/google/javascript/jscomp/deps/ModuleLoader$ModulePath; 8 ? ? j unresolvedModules
? ? ? S toModuleName p ? ? ? containsKey (Ljava/lang/Object;)Z
? ? ? %getFallbackForMissingNonClosureModule t(Lcom/google/javascript/jscomp/deps/ModuleLoader$ModulePath;)Lcom/google/javascript/jscomp/modules/UnresolvedModule; p ? ? ? put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; p ? ? ? get &(Ljava/lang/Object;)Ljava/lang/Object; ? :com/google/javascript/jscomp/modules/ModuleRequestResolver :(Lcom/google/javascript/jscomp/modules/ModuleMapCreator;)V Code LineNumberTable LocalVariableTable this QLcom/google/javascript/jscomp/modules/ModuleMapCreator$ModuleRequestResolverImpl; MethodParameters ;Lcom/google/javascript/jscomp/deps/ModuleLoader$ModulePath; metadata GLcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata; "getFallbackForMissingClosureModule namespace Ljava/lang/String; f(Lcom/google/javascript/jscomp/modules/Import;)Lcom/google/javascript/jscomp/modules/UnresolvedModule; i -Lcom/google/javascript/jscomp/modules/Import;
StackMapTable RuntimeVisibleTypeAnnotations #Lorg/jspecify/annotations/Nullable; f(Lcom/google/javascript/jscomp/modules/Export;)Lcom/google/javascript/jscomp/modules/UnresolvedModule; e -Lcom/google/javascript/jscomp/modules/Export; module 7Lcom/google/javascript/jscomp/modules/UnresolvedModule; forLineInfo "Lcom/google/javascript/rhino/Node;
requestedPath
SourceFile ModuleMapCreator.java NestHost BootstrapMethods ?
? ? ? ? ? "java/lang/invoke/LambdaMetafactory metafactory ?(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; ? ?
? ? W W InnerClasses ModuleRequestResolverImpl ? 6com/google/javascript/jscomp/modules/ModuleMetadataMap ModuleMetadata Builder ? .com/google/javascript/jscomp/deps/ModuleLoader
ModulePath
ModuleType ? %java/lang/invoke/MethodHandles$Lookup ? java/lang/invoke/MethodHandles Lookup 0 ? ? ? 4
*+? *? ? ? - ?
? ? ? ? ? ? ? (?
? +? ? ? #? '? +? .M? 2Y*+,? 4? ? " 0 1 2 3 4 5 6 8 ? ( ? ? ( ? ? ? ? ? W ? ? -*? ? 7?
+? =? '? A? #? ? ? +? .? D? ? *
m n o p q r s ! t $ u ) m ? - ? ? - ? ? ? ? ^ ? ? f !+? J? *+? P? T?*+? P+? J+? X? \? ? | } ? ! ? ? ! ? ? ? ? ? ? ? ^ ? ? E *+? `+? c+? d? \? ? ? ? ? ? ? ? ? ? ? ? V W ? K *? ? g+*? k ? o ? u? ? ? ? ? ? ? ? ? ? ? ? ^ _ ? ( {+? w? +? }:*? T?,+-? ?-? ?-? ?? ?:? =,+? ?:*? ? ?? ?? ? ? "*? ?:*? ? ?? ?? ? W?*? ? ?? ?? ? ? u? ? > ? ?
? ? ? ? ? " ? ' ? , ? 3 ? G ? O ? c ? f ? ? H
? ? O ? ? { ? ? { R ? { N ? { ? ? ' T ? ? ? ? Q ? ?
R N ? ? ? ? ? ? 8 ? ? ? ? ? ? : 8 ? ? ? ? ? ? ? ? ?@ 2 ? ? ?
© 2015 - 2024 Weber Informatics LLC | Privacy Policy