com.google.javascript.jscomp.Es6RenameVariablesInParamLists.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
;com/google/javascript/jscomp/Es6RenameVariablesInParamLists compiler /Lcom/google/javascript/jscomp/AbstractCompiler;
*com/google/javascript/jscomp/NodeTraversal getScopeRoot $()Lcom/google/javascript/rhino/Node;
com/google/javascript/rhino/Node getParent
isBlock ()Z
isFunction Mcom/google/javascript/jscomp/Es6RenameVariablesInParamLists$CollectReferences
# $ % collect %(Lcom/google/javascript/rhino/Node;)V
' ( ) getScope &()Lcom/google/javascript/jscomp/Scope;
+ , - . / (com/google/common/collect/HashBasedTable create ,()Lcom/google/common/collect/HashBasedTable;
+ 1 2 3 row #(Ljava/lang/Object;)Ljava/util/Map;
5 6 7 8 9 "com/google/javascript/jscomp/Scope getVarIterable ()Ljava/lang/Iterable; ; < = > ? java/lang/Iterable iterator ()Ljava/util/Iterator; A B C D java/util/Iterator hasNext A F G H next ()Ljava/lang/Object; J com/google/javascript/jscomp/Var
I L M N getName ()Ljava/lang/String; P Q R currFuncReferences Ljava/util/Set; T U V W X
java/util/Set contains (Ljava/lang/Object;)Z Z [ \ apply n(Lcom/google/javascript/jscomp/Es6RenameVariablesInParamLists;Ljava/lang/String;)Ljava/util/function/Function; ^ _ ` a b
java/util/Map computeIfAbsent C(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
d e f builder 6()Lcom/google/javascript/jscomp/NodeTraversal$Builder;
h i j k l 2com/google/javascript/jscomp/NodeTraversal$Builder setCompiler e(Lcom/google/javascript/jscomp/AbstractCompiler;)Lcom/google/javascript/jscomp/NodeTraversal$Builder;
n o p getScopeCreator -()Lcom/google/javascript/jscomp/ScopeCreator;
h r s t setScopeCreator a(Lcom/google/javascript/jscomp/ScopeCreator;)Lcom/google/javascript/jscomp/NodeTraversal$Builder; v 0com/google/javascript/jscomp/Es6RenameReferences
u x y $(Lcom/google/common/collect/Table;)V
h { | } setCallback k(Lcom/google/javascript/jscomp/NodeTraversal$Callback;)Lcom/google/javascript/jscomp/NodeTraversal$Builder;
h ? ? traverseAtScope /(Lcom/google/javascript/jscomp/AbstractScope;)V ? ? ? transpiledFeatures 8Lcom/google/javascript/jscomp/parsing/parser/FeatureSet; ? 3com/google/javascript/jscomp/NodeTraversal$Callback
? ? ? ? ? 0com/google/javascript/jscomp/TranspilationPasses processTranspile ?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;[Lcom/google/javascript/jscomp/NodeTraversal$Callback;)V
? ? ? ? ? -com/google/javascript/jscomp/AbstractCompiler getUniqueNameIdSupplier ()Ljava/util/function/Supplier; ? ? ? ? H java/util/function/Supplier get ? java/lang/String ? ? ? makeConcatWithConstants 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; ? ? ? ? ? 6com/google/javascript/jscomp/parsing/parser/FeatureSet BARE_MINIMUM ? >com/google/javascript/jscomp/parsing/parser/FeatureSet$Feature ? ? ? ? DEFAULT_PARAMETERS @Lcom/google/javascript/jscomp/parsing/parser/FeatureSet$Feature; ? ? ? ? COMPUTED_PROPERTIES
? ? ? ? with {([Lcom/google/javascript/jscomp/parsing/parser/FeatureSet$Feature;)Lcom/google/javascript/jscomp/parsing/parser/FeatureSet; ? 9com/google/javascript/jscomp/NodeTraversal$ScopedCallback ? )com/google/javascript/jscomp/CompilerPass 2(Lcom/google/javascript/jscomp/AbstractCompiler;)V Code LineNumberTable LocalVariableTable this =Lcom/google/javascript/jscomp/Es6RenameVariablesInParamLists; MethodParameters shouldTraverse s(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Z t ,Lcom/google/javascript/jscomp/NodeTraversal; n "Lcom/google/javascript/rhino/Node; parent
enterScope /(Lcom/google/javascript/jscomp/NodeTraversal;)V exitScope oldName Ljava/lang/String; var "Lcom/google/javascript/jscomp/Var; block function collector OLcom/google/javascript/jscomp/Es6RenameVariablesInParamLists$CollectReferences;
blockScope $Lcom/google/javascript/jscomp/Scope; renameTable *Lcom/google/common/collect/HashBasedTable; renameRow Ljava/util/Map; LocalVariableTypeTable rLcom/google/common/collect/HashBasedTable; 5Ljava/util/Map;
StackMapTable visit s(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V process G(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V externs root lambda$exitScope$0 x
SourceFile #Es6RenameVariablesInParamLists.java NestMembers 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; ? &(Ljava/lang/Object;)Ljava/lang/Object; ?
? ? ? ? &(Ljava/lang/String;)Ljava/lang/String; ?
? ? ? ? ? $java/lang/invoke/StringConcatFactory ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite; ? $ InnerClasses CollectReferences Builder Callback Feature ScopedCallback %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup 1 ? ? ? ? ? ? F
*? *+? ? ? + , - ?
? ?
? ? ? ? J ? ? 1 ? * ? ? ? ? ? ? ? ? ?
? ? ? ? ? ? 5 ? ? 5 ? ? ? ? ? ? ? ? ? ? ? ?+?
M,? N,? ?
-? ? ?? Y? !:-? "+? &:? *:,? 0:? 4? : :? @ ? :? E ? I: ? K:
? O
? S ?
*
? Y ? ] W??¸ c*? ? g+? m? q? uY? w? z? ~? ? R 9 :
; <