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

com.google.javascript.jscomp.Es6RewriteModules$RenameGlobalVars.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?	?com/google/javascript/jscomp/Es6RewriteModules$RenameGlobalVarsthis$00Lcom/google/javascript/jscomp/Es6RewriteModules;
	
Dcom/google/javascript/jscomp/NodeTraversal$AbstractPostOrderCallback()V	
thisModule-Lcom/google/javascript/jscomp/modules/Module;
 com/google/javascript/rhino/NodegetJSDocInfo)()Lcom/google/javascript/rhino/JSDocInfo;
%com/google/javascript/rhino/JSDocInfogetTypeNodes()Ljava/util/Collection; !"java/util/Collectioniterator()Ljava/util/Iterator;$%&'(java/util/IteratorhasNext()Z$*+,next()Ljava/lang/Object;
./0fixTypeNodeQ(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;)V
23(isName
567	getString()Ljava/lang/String;
9:;<=*com/google/javascript/jscomp/NodeTraversalgetScope&()Lcom/google/javascript/jscomp/Scope;
?@ABC"com/google/javascript/jscomp/ScopegetVar>(Ljava/lang/String;)Lcom/google/javascript/jscomp/AbstractVar;E com/google/javascript/jscomp/Var
DGH(isGlobal
JKLMN+com/google/javascript/jscomp/modules/ModulemetadataI()Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;
PQRST+com/google/javascript/jscomp/ModuleRenaming$getGlobalNameOfEsModuleLocalVariable?(Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;Ljava/lang/String;)Lcom/google/javascript/rhino/QualifiedName;
VWXY7)com/google/javascript/rhino/QualifiedNamejoin
[\]	setString(Ljava/lang/String;)V
_`]setOriginalName
9bcdreportCodeChange%(Lcom/google/javascript/rhino/Node;)V
fghij%com/google/javascript/jscomp/NodeUtilisDeclarationLValue%(Lcom/google/javascript/rhino/Node;)Z
lmnop.com/google/javascript/jscomp/Es6RewriteModulesdeclareGlobalVariableQ(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/NodeTraversal;)V
Jrst
boundNames*()Lcom/google/common/collect/ImmutableMap;
vwxyz&com/google/common/collect/ImmutableMapcontainsKey(Ljava/lang/Object;)Z
9|}7
getSourceName
l??maybeAddAliasToSymbolTable7(Lcom/google/javascript/rhino/Node;Ljava/lang/String;)V
v???get&(Ljava/lang/Object;)Ljava/lang/Object;?,com/google/javascript/jscomp/modules/Binding
???replacet(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/modules/Binding;)Lcom/google/javascript/rhino/Node;
??(isCall
???
getFirstChild$()Lcom/google/javascript/rhino/Node;	???	FREE_CALL'Lcom/google/javascript/rhino/Node$Prop;
???getBooleanProp*(Lcom/google/javascript/rhino/Node$Prop;)Z
???putBooleanProp+(Lcom/google/javascript/rhino/Node$Prop;Z)V
9?c
?????$com/google/common/base/Preconditions
checkState(Z)V
???(isModuleNamespace
?K
????(Ecom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadataisEs6Module
???	getParent
??(	isGetProp	l???	moduleMap0Lcom/google/javascript/jscomp/modules/ModuleMap;
????path=()Lcom/google/javascript/jscomp/deps/ModuleLoader$ModulePath;
?????.com/google/javascript/jscomp/modules/ModuleMap	getModulej(Lcom/google/javascript/jscomp/deps/ModuleLoader$ModulePath;)Lcom/google/javascript/jscomp/modules/Module;
J??t	namespace
P???
getGlobalName[(Lcom/google/javascript/jscomp/modules/Binding;)Lcom/google/javascript/rhino/QualifiedName;
V??(isSimple
V??7getRoot	l???globalTypedScope)Lcom/google/javascript/jscomp/TypedScope;
?????'com/google/javascript/jscomp/TypedScopehasSlot(Ljava/lang/String;)Z	l???
astFactory)Lcom/google/javascript/jscomp/AstFactory;
?????'com/google/javascript/jscomp/AstFactorycreateQName_(Lcom/google/javascript/rhino/StaticScope;Ljava/lang/String;)Lcom/google/javascript/rhino/Node;
????createQNameWithUnknownType6(Ljava/lang/String;)Lcom/google/javascript/rhino/Node;
????typeR(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/AstFactory$Type;
????
createNamed(Ljava/lang/String;Lcom/google/javascript/jscomp/AstFactory$Type;)Lcom/google/javascript/rhino/Node;
??dreplaceWith
???
srcrefTreeF(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
??(isStringLit
9???getInput.()Lcom/google/javascript/jscomp/CompilerInput;
?*com/google/javascript/jscomp/CompilerInputgetPath	lDOT_SPLITTER!Lcom/google/common/base/Splitter;
	

com/google/common/base/SplittersplitToList*(Ljava/lang/CharSequence;)Ljava/util/List;?java/util/List(I)Ljava/lang/Object;java/lang/Stringsize()I
length
 !	substring(I)Ljava/lang/String;#$%makeConcatWithConstants8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
'()maybeSetNewNameu(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Ljava/lang/String;Ljava/lang/String;)V+,-subList(II)Ljava/util/List;
P/01getGlobalNameForJsDoc?(Lcom/google/javascript/jscomp/modules/ModuleMap;Lcom/google/javascript/jscomp/modules/Binding;Ljava/util/List;)Ljava/lang/String;	l345preprocessorSymbolTable6Lcom/google/javascript/jscomp/PreprocessorSymbolTable;
78?	newString
:;?srcref
=>?	setLength(I)V
AB?getNext
DEzequals`(Lcom/google/javascript/jscomp/Es6RewriteModules;Lcom/google/javascript/jscomp/modules/Module;)VCodeLineNumberTableLocalVariableTablethisALcom/google/javascript/jscomp/Es6RewriteModules$RenameGlobalVars;MethodParametersvisits(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)VtypeNode"Lcom/google/javascript/rhino/Node;newNameLjava/lang/String;binding.Lcom/google/javascript/jscomp/modules/Binding;replacementnamevar"Lcom/google/javascript/jscomp/Var;t,Lcom/google/javascript/jscomp/NodeTraversal;nparentinfo'Lcom/google/javascript/rhino/JSDocInfo;
StackMapTablepropertyNamemrootnewNode
globalName+Lcom/google/javascript/rhino/QualifiedName;onlyBaseNamesplittedLjava/util/List;baseNamerestchildLocalVariableTypeTable$Ljava/util/List;node
SourceFileEs6RewriteModules.javaNestHostBootstrapMethodst
uvw$x$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;zInnerClassesRenameGlobalVarsAbstractPostOrderCallback6com/google/javascript/jscomp/modules/ModuleMetadataMapModuleMetadata?%com/google/javascript/rhino/Node$PropProp?9com/google/javascript/jscomp/deps/ModuleLoader$ModulePath?.com/google/javascript/jscomp/deps/ModuleLoader
ModulePath?,com/google/javascript/jscomp/AstFactory$TypeType?%java/lang/invoke/MethodHandles$Lookup?java/lang/invoke/MethodHandlesLookup FGK*+?*?*,?
?H?	??IJKL	MNGL	,?:?/??:?#??)?:*+?-???,?1??,?4:+?8?>?D:?@?F?8*?
?I?O?U:,?Z,?^+,?a,?e?*?,+?k?z?u*?
?q?u?f*?,+?{?~*?
?q????:*,??:?1?$-???-??,?-?????-????,?e?*?,+?k+???Hz???-?4?7?>?D?R?_?c?k?p?v?|?????????????????????????????Ip-OPp!QR?FST?=UPD?VRR?WXJKYZ[P\P]^_8?$??YD?b??9L
Y[\??G??+?1??,???S,?????I+??????+???4N*???,??????:??-?u???-????M+??L???,??N-?˚M-??:*????**????ՙ*???*???-?U?ߧ*???-?U??:?*???-??+???:+??+??W+?4?^?HZ????"?*?=?I?V?[?^?c?j?p?????????????I\	*1`R=apAbR?cP?JK?[P?STc~de?cP_?V?BVM??L	[S/0G?,????*???+??????N,?4:??:??::????:+?8?>?D:?)?F?!*+,-?I?O?U?"?&?u?p-?q?u?d-?q????:	*???	??*?.:
*+,
?&*??2?%?6,?9:??<*?+?{?~,?^,??N-?*+-?--?@N???Hv
)6;FR`ms{???!?"?$?#?%?'?,?-?.?25658I?
?fP?SST	?6dR
??VR)?gh6?iR;?jR`?WXkPJKYZOPl)?gm_C?R9J?8D?q?9??L	YO()G?-?C?,?Z,-?^+???H;	<=>@I4JKYZnPVRQR_LYnVQopqlrsy{:l|9}	?~?	??@?????????




© 2015 - 2024 Weber Informatics LLC | Privacy Policy