All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.javascript.jscomp.MakeDeclaredNamesUnique$ContextualRenameInverter.class Maven / Gradle / Ivy

Go to download

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()Vjava/util/ArrayDeque
	
Mcom/google/javascript/jscomp/MakeDeclaredNamesUnique$ContextualRenameInverterscopeContextStackLjava/util/Deque;bcom/google/javascript/jscomp/MakeDeclaredNamesUnique$ContextualRenameInverter$VariableInfoStackMap
R(Lcom/google/javascript/jscomp/MakeDeclaredNamesUnique$ContextualRenameInverter;)V	variablesStackedByNamedLcom/google/javascript/jscomp/MakeDeclaredNamesUnique$ContextualRenameInverter$VariableInfoStackMap;	compiler/Lcom/google/javascript/jscomp/AbstractCompiler;
 !"*com/google/javascript/jscomp/NodeTraversaltraverse?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/NodeTraversal$Callback;)V
$%&indexOfSeparator(Ljava/lang/String;)I
()*+,java/lang/String	substring(II)Ljava/lang/String;.Fcom/google/javascript/jscomp/MakeDeclaredNamesUnique$ContextualRenamer0$jscomp$
(23&lastIndexOf
567
inGlobalScope()Z
9:;getScope&()Lcom/google/javascript/jscomp/Scope;
=>?@A'com/google/common/collect/ImmutableListbuilder3()Lcom/google/common/collect/ImmutableList$Builder;
CDEFG"com/google/javascript/jscomp/ScopegetVarIterable()Ljava/lang/Iterable;IJKLMjava/lang/Iterableiterator()Ljava/util/Iterator;OPQR7java/util/IteratorhasNextOTUVnext()Ljava/lang/Object;X com/google/javascript/jscomp/Var
Z[\createDeclaredVariableInfo?(Lcom/google/javascript/jscomp/Var;)Lcom/google/javascript/jscomp/MakeDeclaredNamesUnique$ContextualRenameInverter$DeclaredVariableInfo;
^_`ab/com/google/common/collect/ImmutableList$BuilderaddE(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList$Builder;
defpushVariableInfo_(Lcom/google/javascript/jscomp/MakeDeclaredNamesUnique$ContextualRenameInverter$VariableInfo;)VhijkVjava/util/DequepeekmZcom/google/javascript/jscomp/MakeDeclaredNamesUnique$ContextualRenameInverter$ScopeContext
^opqbuild+()Lcom/google/common/collect/ImmutableList;
lst?(Lcom/google/javascript/jscomp/Scope;Lcom/google/common/collect/ImmutableList;Lcom/google/javascript/jscomp/MakeDeclaredNamesUnique$ContextualRenameInverter$ScopeContext;)Vhvwxpush(Ljava/lang/Object;)V
Wz{|getName()Ljava/lang/String;~Zcom/google/javascript/jscomp/MakeDeclaredNamesUnique$ContextualRenameInverter$RenamingInfo
}??v(Lcom/google/javascript/jscomp/MakeDeclaredNamesUnique$ContextualRenameInverter;Ljava/lang/String;Ljava/lang/String;)V?bcom/google/javascript/jscomp/MakeDeclaredNamesUnique$ContextualRenameInverter$DeclaredVariableInfo
????(Lcom/google/javascript/jscomp/Var;Lcom/google/javascript/jscomp/MakeDeclaredNamesUnique$ContextualRenameInverter$RenamingInfo;)Vh??Vpop
?????$com/google/common/base/PreconditionscheckNotNull&(Ljava/lang/Object;)Ljava/lang/Object;	l???referencedVariablesLjava/util/Set;?J?
java/util/Set?Zcom/google/javascript/jscomp/MakeDeclaredNamesUnique$ContextualRenameInverter$VariableInfo
l??frecordPotentialConflicts	l???declaredVariableInfos)Lcom/google/common/collect/ImmutableList;
=?L?2()Lcom/google/common/collect/UnmodifiableIterator;
?z
???popVariableInfop(Ljava/lang/String;)Lcom/google/javascript/jscomp/MakeDeclaredNamesUnique$ContextualRenameInverter$VariableInfo;?8Declared variable "%s" was not the top of the name stack
????
checkState((ZLjava/lang/String;Ljava/lang/Object;)V
???tryToInvertNameh??7isEmpty
??clear
?????%com/google/javascript/jscomp/NodeUtilisReferenceName%(Lcom/google/javascript/rhino/Node;)Z
????7 com/google/javascript/rhino/NodeisImportStar
???|	getString
???getOrCreateCurrentVariableInfo????addReferenceNode%(Lcom/google/javascript/rhino/Node;)V
l??faddReferencedVariableInfo?dcom/google/javascript/jscomp/MakeDeclaredNamesUnique$ContextualRenameInverter$UndeclaredVariableInfo
???(Ljava/lang/String;)V?9com/google/javascript/jscomp/NodeTraversal$ScopedCallback?)com/google/javascript/jscomp/CompilerPass	SignatureoLjava/util/Deque;2(Lcom/google/javascript/jscomp/AbstractCompiler;)VCodeLineNumberTableLocalVariableTablethisOLcom/google/javascript/jscomp/MakeDeclaredNamesUnique$ContextualRenameInverter;MethodParametersprocessG(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Vexterns"Lcom/google/javascript/rhino/Node;jsgetOriginalName&(Ljava/lang/String;)Ljava/lang/String;nameLjava/lang/String;indexI
StackMapTable
enterScope/(Lcom/google/javascript/jscomp/NodeTraversal;)VvariableInfodLcom/google/javascript/jscomp/MakeDeclaredNamesUnique$ContextualRenameInverter$DeclaredVariableInfo;var"Lcom/google/javascript/jscomp/Var;t,Lcom/google/javascript/jscomp/NodeTraversal;scope$Lcom/google/javascript/jscomp/Scope;declaredVariablesBuilder1Lcom/google/common/collect/ImmutableList$Builder;parent\Lcom/google/javascript/jscomp/MakeDeclaredNamesUnique$ContextualRenameInverter$ScopeContext;LocalVariableTypeTable?Lcom/google/common/collect/ImmutableList$Builder;invertedNamerenamingInfo\Lcom/google/javascript/jscomp/MakeDeclaredNamesUnique$ContextualRenameInverter$RenamingInfo;currentName	exitScopereferencedVariable\Lcom/google/javascript/jscomp/MakeDeclaredNamesUnique$ContextualRenameInverter$VariableInfo;variableNameoldStackTopdeclaredVariableInfoscopeContextshouldTraverses(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Znvisits(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)VnodecreateUndeclaredVariableInfo
SourceFileMakeDeclaredNamesUnique.javaNestHost4com/google/javascript/jscomp/MakeDeclaredNamesUniqueInnerClassesContextualRenameInverterVariableInfoStackMap3com/google/javascript/jscomp/NodeTraversal$CallbackCallbackContextualRenamerBuilderDeclaredVariableInfoVariableInfoScopeContextRenamingInfoUndeclaredVariableInfoScopedCallback ????
??e!*?*?Y?	?
*?Y*??*+???	?
 ?!??!????L
*?,*???
	? 
??
??
???	??	???\*?#<?*?	*?'??
??????
?
E(??
%&?1*/?1??????????/s+?4??+?8M??,?':?}Y*,?:?:??Y+????"67
9=>#?&@)B?H
??#??4??4??/?
*%?)????&(?}????w?+?4??*?
???l???lM,????N-?N?-?S??:,?????,????N-?N?;-?S??:??:*???:??????????*?
???
*?????>????9???B?^?e?p????????????H9e#?p^*??????????4?lO??O?0?(?@?l??	?J????*????
????
?
???B*?
?g?l:?1,???
,???#,??:*???:,???̱?&	???!?'?-?2:A?H'??2?B??B??B
?B??4??	?!l?
?
???=	??Y+?Ѱ?j?	??	????Z	-^=?
?l
}? 
?!	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy