com.google.javascript.jscomp.GatherModuleMetadata$ModuleMetadataBuilder.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 ? Gcom/google/javascript/jscomp/GatherModuleMetadata$ModuleMetadataBuilder this$0 3Lcom/google/javascript/jscomp/GatherModuleMetadata;
java/lang/Object ()V
,com/google/common/collect/LinkedHashMultiset create 0()Lcom/google/common/collect/LinkedHashMultiset; googNamespaces .Lcom/google/common/collect/LinkedHashMultiset;
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 path ?(Lcom/google/javascript/jscomp/deps/ModuleLoader$ModulePath;)Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata$Builder;
$ % & rootNode s(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata$Builder; ( ) * + , Acom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleType SCRIPT CLcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleType;
. / 0
moduleType ?(Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleType;)Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata$Builder;
2 3 4 usesClosure R(Z)Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata$Builder;
6 7 4
isTestOnly 9 : ; metadataBuilder OLcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata$Builder;
= > ? @ A $com/google/common/base/Preconditions checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object;
C / D E()Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleType; F G H ambiguous Z J K L M N 1com/google/javascript/jscomp/GatherModuleMetadata MIXED_MODULE_TYPE -Lcom/google/javascript/jscomp/DiagnosticType; P java/lang/String ( R S T description Ljava/lang/String;
V W X Y Z *com/google/javascript/jscomp/NodeTraversal report e(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/DiagnosticType;[Ljava/lang/String;)V \ ] ^ declaredModuleId "Lcom/google/javascript/rhino/Node; ` a ^ declaresLegacyNamespace
c d e googNamespacesBuilder 7()Lcom/google/common/collect/ImmutableMultiset$Builder;
g h i j k 3com/google/common/collect/ImmutableMultiset$Builder addAll K(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableMultiset$Builder; m n H
hasModuleBody ( p q ,
ES6_MODULE J s t u compiler /Lcom/google/javascript/jscomp/AbstractCompiler; J w x N $DECLARE_MODULE_ID_OUTSIDE_ES6_MODULE
z { | } ~ $com/google/javascript/jscomp/JSError make ?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/DiagnosticType;[Ljava/lang/String;)Lcom/google/javascript/jscomp/JSError;
? ? ? Y ? -com/google/javascript/jscomp/AbstractCompiler )(Lcom/google/javascript/jscomp/JSError;)V ( ? ? , GOOG_MODULE ( ? ? , LEGACY_GOOG_MODULE ? ? ? ? N /com/google/javascript/jscomp/ClosureCheckModule &DECLARE_LEGACY_NAMESPACE_IN_NON_MODULE
? ? ? build I()Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata; Signature BLcom/google/common/collect/LinkedHashMultiset; ?(Lcom/google/javascript/jscomp/GatherModuleMetadata;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/deps/ModuleLoader$ModulePath;)V Code LineNumberTable LocalVariableTable this ILcom/google/javascript/jscomp/GatherModuleMetadata$ModuleMetadataBuilder; ;Lcom/google/javascript/jscomp/deps/ModuleLoader$ModulePath; MethodParameters RuntimeVisibleTypeAnnotations #Lorg/jspecify/annotations/Nullable; ?(Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleType;Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;)V type t ,Lcom/google/javascript/jscomp/NodeTraversal; n
StackMapTable recordDeclareModuleId %(Lcom/google/javascript/rhino/Node;)V recordDeclareLegacyNamespace isScript ()Z
SourceFile GatherModuleMetadata.java NestHost InnerClasses ModuleMetadataBuilder ? 6com/google/javascript/jscomp/modules/ModuleMetadataMap ModuleMetadata Builder ? 9com/google/javascript/jscomp/deps/ModuleLoader$ModulePath ? .com/google/javascript/jscomp/deps/ModuleLoader
ModulePath
ModuleType ? +com/google/common/collect/ImmutableMultiset G H n H ] ^ a ^ : ; ? ? ? ? ? .*+? *? *?
? *? -? ,? #? '? -? 1? 5? 8? ? *
? ? ? ? ? ? ? # ? ' ? - ? ? . ? ? . % ^ . ! ? ?
% ! ? ? / ? ? ? N+?