com.google.javascript.jscomp.RenameProperties$ProcessProperties.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 ?com/google/javascript/jscomp/RenameProperties$ProcessProperties this$0 /Lcom/google/javascript/jscomp/RenameProperties;
Dcom/google/javascript/jscomp/NodeTraversal$AbstractPostOrderCallback ()V /com/google/javascript/jscomp/RenameProperties$1 ,$SwitchMap$com$google$javascript$rhino$Token [I
com/google/javascript/rhino/Node getToken %()Lcom/google/javascript/rhino/Token;
!com/google/javascript/rhino/Token ordinal ()I
! " maybeMarkCandidate %(Lcom/google/javascript/rhino/Node;)V
$ % & getLastChild $()Lcom/google/javascript/rhino/Node;
( ) * isStringLit ()Z , - . / 0 -com/google/javascript/jscomp/RenameProperties quotedNames Ljava/util/Set;
2 3 4 getString ()Ljava/lang/String; 6 7 8 9 :
java/util/Set add (Ljava/lang/Object;)Z
< = &
getFirstChild , ? @ A compiler /Lcom/google/javascript/jscomp/AbstractCompiler;
C D E F G -com/google/javascript/jscomp/AbstractCompiler getCodingConvention 1()Lcom/google/javascript/jscomp/CodingConvention; I J K L M -com/google/javascript/jscomp/CodingConvention isPropertyRenameFunction %(Lcom/google/javascript/rhino/Node;)Z , O P Q callNodeToParentMap Ljava/util/Map; S T U V W
java/util/Map put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
Y Z [ countCallCandidates Q(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;)V
] ^ * isQuotedStringKey
` a b c d $com/google/common/base/Preconditions
checkState (Z)V
f g h i M %com/google/javascript/jscomp/NodeUtil !isEs6ConstructorMemberFunctionDef , k l 0
externedNames
f n o M isFunctionDeclaration q JSCompiler_renameProperty
s t u v : java/lang/String equals , x y z toRemove Ljava/util/List; | 7 } java/util/List
? * isName
? ? & getParent
? ? * isVar
f ? ? M isFunctionExpression
? ? * isAssign
? ? * isGetProp
? ? * isExprResult
f ? ? M isStatementBlock 6 ? ? : contains , ? ? z stringNodesToRename
? ? ? countPropertyOccurrence (Ljava/lang/String;)V
? ? 4 getOriginalName
? ? & getSecondChild , ? ? ? BAD_CALL -Lcom/google/javascript/jscomp/DiagnosticType;
? ? ? ? ? *com/google/javascript/jscomp/NodeTraversal report e(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/DiagnosticType;[Ljava/lang/String;)V , ? ? ? DOT_SPLITTER !Lcom/google/common/base/Splitter;
? ? ? ? ? com/google/common/base/Splitter split .(Ljava/lang/CharSequence;)Ljava/lang/Iterable; ? ? ? ? ? java/lang/Iterable iterator ()Ljava/util/Iterator; ? ? ? ? * java/util/Iterator hasNext ? ? ? ? next ()Ljava/lang/Object;
? ? ? ? ? 'com/google/javascript/rhino/TokenStream isJSIdentifier (Ljava/lang/String;)Z , ? ? ? BAD_ARG , ? ? Q propertyMap ? ? ? apply ()Ljava/util/function/Function; S ? ? ? computeIfAbsent C(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object; ? 6com/google/javascript/jscomp/RenameProperties$Property ? ? ? ? numOccurrences I 2(Lcom/google/javascript/jscomp/RenameProperties;)V Code LineNumberTable LocalVariableTable this ALcom/google/javascript/jscomp/RenameProperties$ProcessProperties; MethodParameters visit s(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V child "Lcom/google/javascript/rhino/Node; fnName name Ljava/lang/String; varNode
exprResult t ,Lcom/google/javascript/jscomp/NodeTraversal; n parent
StackMapTable callNode firstArg prop 8Lcom/google/javascript/jscomp/RenameProperties$Property;
SourceFile RenameProperties.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; &(Ljava/lang/Object;)Ljava/lang/Object;
? ?
L(Ljava/lang/String;)Lcom/google/javascript/jscomp/RenameProperties$Property; InnerClasses ProcessProperties AbstractPostOrderCallback Property %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup ? ? 4
*+? *? ? ? ! ?
? ? ? ? ? ? ? ??
,? ? .? ? 9 9 9 A A i ? ? ? ? ?*,? ?s,? #:?h? '?`*? ? +? 1? 5 W?K,? ;:*? ? >? B? H ?1*? ? N,-? R W*+,? X?,? \? ? ? _,? e? *? ? j,? 1? 5 W? ?*,? ? ?,? \? *? ? +,? 1? 5 W? ?*,? ? ?,? m? ',? ;? 1:p? r? *? ? w,? { W? ?-? ~? .p-? 1? r? "-? ?:? ?? *? ? w-? { W? g,? ?? `-? ?? Y-? ;? ?? O*? ? >? B-? ;? H ? 9-? ?:? ?? (? ?? ?? ? ;? ?? *? ? w? { W? ? ? ? ) % D) I* L0 R1 _2 t8 z9 ?: ?; ?@ ?A ?B ?D ?F ?J ?M ?O ?Q ?VWXY#[0\9]?^G_Ua`bgdjewh{i?j?k?l?m?n?p?v ? \ R " ? ? z , ? ? ? ? ? ? ? ? - ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? D'1
@'.? ` ?
? ? ? ! " ? ? )+? 1M*? ? j,? ? ? *? ? ?+? { W*,? ?? ? ? ? #? (? ? ) ? ? ) ? ? $ ? ? ? ? ( s ? ? Z [ ? K ?,? ;? ?N-? ,? ;? 1N,? ?:? '? +,? ?? sY-S? ??? ?? 1? ?? ? :? ? ? D? ? ? s:? ɚ +,? ?? sY-S? ????*? ? j? ? ? *? ????? ? > ? ? ? ? ? "? 2? 3? [? c? s? v? ?? ?? ?? ? > [ 2 ? ? ? ? ? ? ? ? ? ? ? ? ? ? w ? ? ? ? s? ? ?? 0 s? ? ? ? ? ? ? ? g !*? ? ?+? ? ? ? ? ?M,Y? ?`? ߱ ? ? ? ? ? ! ? ? ! ? ? ? ? ? ? ? ? ? , ? * , ? ? ,
© 2015 - 2024 Weber Informatics LLC | Privacy Policy