com.google.javascript.jscomp.PreprocessorSymbolTable.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 ?
java/lang/Object ()V java/util/LinkedHashMap
4com/google/javascript/jscomp/PreprocessorSymbolTable symbols Ljava/util/Map;
+com/google/common/collect/ArrayListMultimap create /()Lcom/google/common/collect/ArrayListMultimap; refs $Lcom/google/common/collect/Multimap; root "Lcom/google/javascript/rhino/Node; ! " #
java/util/Map get &(Ljava/lang/Object;)Ljava/lang/Object; % -com/google/javascript/rhino/jstype/SimpleSlot
' ( ) getSlot C(Ljava/lang/String;)Lcom/google/javascript/rhino/jstype/SimpleSlot;
$ + , - getName ()Ljava/lang/String; / 0 1 " 2 "com/google/common/collect/Multimap *(Ljava/lang/Object;)Ljava/util/Collection;
4 5 6 7 8 java/util/Collections unmodifiableCollection .(Ljava/util/Collection;)Ljava/util/Collection; : ; < values ()Ljava/util/Collection;
> ? @ getQualifiedName 6(Lcom/google/javascript/rhino/Node;)Ljava/lang/String;
B C D addReference 7(Lcom/google/javascript/rhino/Node;Ljava/lang/String;)V
F G H I # $com/google/common/base/Preconditions checkNotNull K L M apply ()Ljava/util/function/Function; O P Q computeIfAbsent C(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object; S >com/google/javascript/jscomp/PreprocessorSymbolTable$Reference
R U V T(Lcom/google/javascript/rhino/jstype/SimpleSlot;Lcom/google/javascript/rhino/Node;)V / X Y Z put '(Ljava/lang/Object;Ljava/lang/Object;)Z
\ ] ^ _ ` com/google/javascript/rhino/Node isStringLit ()Z
\ b c - getString
\ e ? -
g h )
getOwnSlot
j k l getParentScope 7()Lcom/google/javascript/rhino/jstype/StaticTypedScope;
n o p getScope f(Lcom/google/javascript/rhino/jstype/SimpleSlot;)Lcom/google/javascript/rhino/jstype/StaticTypedScope;
r s t
getReferences E(Lcom/google/javascript/rhino/jstype/SimpleSlot;)Ljava/lang/Iterable;
$ v w A(Ljava/lang/String;Lcom/google/javascript/rhino/jstype/JSType;Z)V y 3com/google/javascript/rhino/jstype/StaticTypedScope { -com/google/javascript/rhino/StaticSymbolTable Signature RLjava/util/Map; xLcom/google/common/collect/Multimap; %(Lcom/google/javascript/rhino/Node;)V Code LineNumberTable LocalVariableTable this 6Lcom/google/javascript/jscomp/PreprocessorSymbolTable; MethodParameters getRootNode $()Lcom/google/javascript/rhino/Node;
getTypeOfThis -()Lcom/google/javascript/rhino/jstype/JSType; RuntimeVisibleTypeAnnotations #Lorg/jspecify/annotations/Nullable; name Ljava/lang/String; symbol /Lcom/google/javascript/rhino/jstype/SimpleSlot; ?(Lcom/google/javascript/rhino/jstype/SimpleSlot;)Ljava/lang/Iterable;
getAllSymbols ()Ljava/lang/Iterable; G()Ljava/lang/Iterable; slot node n
StackMapTable ? java/lang/String H(Ljava/lang/String;)Lcom/google/javascript/rhino/jstype/StaticTypedSlot; <(Ljava/lang/String;)Lcom/google/javascript/rhino/StaticSlot; +()Lcom/google/javascript/rhino/StaticScope; S(Lcom/google/javascript/rhino/StaticSlot;)Lcom/google/javascript/rhino/StaticScope; >(Lcom/google/javascript/rhino/StaticSlot;)Ljava/lang/Iterable; lambda$addReference$0 k ?Ljava/lang/Object;Lcom/google/javascript/rhino/jstype/StaticTypedScope;Lcom/google/javascript/rhino/StaticSymbolTable;
SourceFile PreprocessorSymbolTable.java NestMembers ? Jcom/google/javascript/jscomp/PreprocessorSymbolTable$CachedInstanceFactory 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; # ?
? ? ) ) InnerClasses Reference CachedInstanceFactory ? %java/lang/invoke/MethodHandles$Lookup ? java/lang/invoke/MethodHandles Lookup 0 x z | } | ~ ? d *? *? Y? ?
*? ? *+? ? ? 3 , . / 4 5 ? ? ? ? ? ? ? / *? ? ? 9 ? ? ? ? ? ? , ? ? > ? ? ? ? ? k l ? , ? ? C ? ? ? ? ? ( ) ? B *?
+? ? $? ? H ? ? ? ? ? ? ? h ) ? : *+? &? ? M ? ? ? ? ? ? ? s t ? E *? +? *? . ? 3? ? R ? ? ? ? ? ? ? | ? ? ? ? 7
*?
? 9 ? 3? ? W ?
? ? | ? o p ? 6 *? ? \ ? ? ? ? ? ? ? C ? C *+*+? =? A? ?
`
a ? ? ? ? ? ? C D ? ? 6,? EW*?
,? J ? N W*? ,? RY*?
,? ? $+? T? W W? ? d f h 5 i ? 6 ? ? 6 ? 6 ? ? ? ? ? ? @ ? T +? [?
+? a? +? d? ? p ? ? ? ? ? C ? ? ? A h ? ? 0 *+? f? ? &