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

com.google.javascript.jscomp.ScopedAliases$Traversal.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/ScopedAliases	4com/google/javascript/jscomp/ScopedAliases$Traversalthis$0,Lcom/google/javascript/jscomp/ScopedAliases;


Dcom/google/javascript/jscomp/NodeTraversal$AbstractPostOrderCallback()Vjava/util/ArrayList
	aliasDefinitionsToDeleteLjava/util/List;	
scopeCalls	aliasUsagesjava/util/LinkedHashMap
	 !"aliasesLjava/util/Map;$java/util/LinkedHashSet
#	'()
injectedDeclsLjava/util/Set;	+,)deletedAliasVars.$jscomp
01234&com/google/common/collect/ImmutableSetof<(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet;
#6
7(Ljava/util/Collection;)V	9:)forbiddenLocals	<=>hasNamespaceShadowsZ	@A>	hasErrors	CDEtransformationBLcom/google/javascript/jscomp/CompilerOptions$AliasTransformation;	GHIscopeFunctionBody"Lcom/google/javascript/rhino/Node;
KLMinGoogScopeBody()Z
OPQRM com/google/javascript/rhino/NodeisCall
OTUV
getFirstChild$()Lcom/google/javascript/rhino/Node;X
goog.scope
OZ[\matchesQualifiedName(Ljava/lang/String;)Z
O^_VgetGrandparent
abcisCallToScopeMethod%(Lcom/google/javascript/rhino/Node;)Z
efghM*com/google/javascript/jscomp/NodeTraversalinGlobalHoistScope
ejkVgetScopeRoot
mnofindScopeMethodCallF(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;	qrstransformationHandlerILcom/google/javascript/jscomp/CompilerOptions$AliasTransformationHandler;
OuvwgetSourceFileName()Ljava/lang/String;
yz{getSourceRegionP(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/SourcePosition;}~??Gcom/google/javascript/jscomp/CompilerOptions$AliasTransformationHandlerlogAliasTransformation?(Ljava/lang/String;Lcom/google/javascript/rhino/SourcePosition;)Lcom/google/javascript/jscomp/CompilerOptions$AliasTransformation;
e???getScope&()Lcom/google/javascript/jscomp/Scope;
???findAliases'(Lcom/google/javascript/jscomp/Scope;)V
O??VgetLastChild
??cisGoogScopeFunctionBody
???renameNamespaceShadows/(Lcom/google/javascript/jscomp/NodeTraversal;)V????
java/util/Setclear???
java/util/Map
???findNamespaceShadows
???reportInvalidVariables
e??VgetEnclosingFunction
O??MisBlock
O??V	getParent
O??M
isFunction
?????"com/google/javascript/jscomp/ScopegetVarIterable()Ljava/lang/Iterable;?????java/lang/Iterableiterator()Ljava/util/Iterator;????Mjava/util/IteratorhasNext????next()Ljava/lang/Object;? com/google/javascript/jscomp/Var
???VgetNameNode
????c%com/google/javascript/jscomp/NodeUtilisFunctionDeclaration
???VgetNode	???GOOG_SCOPE_INVALID_VARIABLE-Lcom/google/javascript/jscomp/DiagnosticType;?java/lang/String
???wgetName
???reporte(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/DiagnosticType;[Ljava/lang/String;)V
O??MisScript
O??VgetNext?java/lang/Integer???
O???	getLineno()I
O???	getCharno?6com/google/javascript/jscomp/ScopedAliases$Traversal$1
??
?9(Lcom/google/javascript/jscomp/ScopedAliases$Traversal;)V
?????*com/google/javascript/rhino/SourcePositionsetPositionInformation(IIII)V	???compiler/Lcom/google/javascript/jscomp/AbstractCompiler;
???$com/google/javascript/jscomp/JSErrormake?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/DiagnosticType;[Ljava/lang/String;)Lcom/google/javascript/jscomp/JSError;
?-com/google/javascript/jscomp/AbstractCompiler)(Lcom/google/javascript/jscomp/JSError;)V
?	cisNameDeclaration
cisAliasDefinition
recordAlias%(Lcom/google/javascript/jscomp/Var;)V
?MisBleedingFunction
OMisParamList
?cisClassDeclaration
?cisHoistedFunctionDeclaration
?VgetInitialValue
O!"#getJSDocInfo)()Lcom/google/javascript/rhino/JSDocInfo;
%&'()-com/google/javascript/rhino/JSDocInfo$Builder
maybeCopyFromX(Lcom/google/javascript/rhino/JSDocInfo;)Lcom/google/javascript/rhino/JSDocInfo$Builder;
+,-./%com/google/javascript/rhino/JSDocInfogetType0()Lcom/google/javascript/rhino/JSTypeExpression;
%123recordReturnType1(Lcom/google/javascript/rhino/JSTypeExpression;)Z
%563
recordType
%89#build
O;<=setJSDocInfoK(Lcom/google/javascript/rhino/JSDocInfo;)Lcom/google/javascript/rhino/Node;
?!
O@Aw	getString	CDEscopedAliasNames$Lcom/google/common/collect/Multiset;GHIJK"com/google/common/collect/Multisetadd(Ljava/lang/Object;)Z
MNOgetUniqueIdSupplier1()Lcom/google/javascript/jscomp/UniqueIdSupplier;	QRS
uniqueIdInput,Lcom/google/javascript/jscomp/CompilerInput;
UVWXY-com/google/javascript/jscomp/UniqueIdSuppliergetUniqueId@(Lcom/google/javascript/jscomp/CompilerInput;)Ljava/lang/String;[\]makeConcatWithConstants8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;_
abcdecom/google/javascript/rhino/IRname6(Ljava/lang/String;)Lcom/google/javascript/rhino/Node;
aghVempty
Ojkosrcref
OmnoreplaceWith%(Lcom/google/javascript/rhino/Node;)V
qroreportChangeToEnclosingScope
atuovar
OwxVdetach
?z{|
newVarNodeX(Ljava/lang/String;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
O~osrcrefTreeIfMissing
O???setOriginalName(Ljava/lang/String;)V
O??oaddChildToFront
O??oinsertBefore?H
????newName?(Lcom/google/javascript/jscomp/AbstractCompiler;Ljava/lang/String;Lcom/google/javascript/rhino/Node;Ljava/lang/String;)Lcom/google/javascript/rhino/Node;	???GOOG_SCOPE_NON_ALIAS_LOCAL?H?java/util/List	???invalidModuleGetHandlingELcom/google/javascript/jscomp/ScopedAliases$InvalidModuleGetHandling;
????MCcom/google/javascript/jscomp/ScopedAliases$InvalidModuleGetHandlingshouldDelete
??ccontainsInvalidGoogModuleGet????put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
???getAliasedNamespace6(Lcom/google/javascript/rhino/Node;)Ljava/lang/String;?????@com/google/javascript/jscomp/CompilerOptions$AliasTransformationaddAlias'(Ljava/lang/String;Ljava/lang/String;)V
????indexOf(I)I
????	substring(II)Ljava/lang/String;???KcontainsKey	?????,com/google/javascript/jscomp/ScopedAliases$1,$SwitchMap$com$google$javascript$rhino$Token[I
O???getToken%()Lcom/google/javascript/rhino/Token;
?????!com/google/javascript/rhino/Tokenordinal
O??VgetSecondChild	??)closureNamespaces???Kcontains?java/lang/IllegalStateException?\?
??
?
???cisFunctionBlock
?????$com/google/common/base/Preconditions
checkState(ZLjava/lang/Object;)V?Ecom/google/javascript/jscomp/MakeDeclaredNamesUnique$TargettedRenamer?Fcom/google/javascript/jscomp/MakeDeclaredNamesUnique$ContextualRenamer
?
??
?P(Lcom/google/javascript/jscomp/MakeDeclaredNamesUnique$Renamer;Ljava/util/Set;)V???????MisExprResult	@A?GOOG_SCOPE_MUST_BE_ALONE	CD?"GOOG_SCOPE_MUST_BE_IN_GLOBAL_SCOPE
OFGMhasTwoChildren	IJ?GOOG_SCOPE_HAS_BAD_PARAMETERS
?L??
?NOogetFunctionParameters
OQRMhasChildren
eTUVgetInput.()Lcom/google/javascript/jscomp/CompilerInput;
XYZvalidateScopeCalls(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V	?\]^NAME#Lcom/google/javascript/rhino/Token;
?`abgetVar>(Ljava/lang/String;)Lcom/google/javascript/jscomp/AbstractVar;?de&(Ljava/lang/Object;)Ljava/lang/Object;
?ghKequals
jkl
getOptions0()Lcom/google/javascript/jscomp/CompilerOptions;
nopqM,com/google/javascript/jscomp/CompilerOptionspreservesDetailedSourceInfo
OstMisName
?vwcisLValue	yz?GOOG_SCOPE_ALIAS_REDEFINED	|}?GOOG_SCOPE_USES_RETURN	??GOOG_SCOPE_REFERENCES_THIS	???GOOG_SCOPE_USES_THROW
???cisBleedingFunctionName
???renameBleedingFunctionNameQ(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;)V?6com/google/javascript/jscomp/ScopedAliases$AliasedNode
??
?G(Lcom/google/javascript/jscomp/Var;Lcom/google/javascript/rhino/Node;)V
+???getTypeNodes()Ljava/util/Collection;???java/util/Collection
??ofixTypeNode
O??MisStringLit
????length?:com/google/javascript/jscomp/ScopedAliases$AliasedTypeNode
???9com/google/javascript/jscomp/NodeTraversal$ScopedCallback	Signature4Ljava/util/List;ILjava/util/List;ELjava/util/Map;3Ljava/util/Set;3Ljava/util/Set;#Ljava/util/Set;RuntimeVisibleTypeAnnotations#Lorg/jspecify/annotations/Nullable;/(Lcom/google/javascript/jscomp/ScopedAliases;)VCodeLineNumberTableLocalVariableTablethis6Lcom/google/javascript/jscomp/ScopedAliases$Traversal;MethodParametersgetAliasDefinitionsToDelete<()Ljava/util/Collection;getAliasUsages()Ljava/util/List;K()Ljava/util/List;
getScopeCalls6()Ljava/util/List;
StackMapTablen	scopeRoot
enterScopet,Lcom/google/javascript/jscomp/NodeTraversal;scopeMethodCall	exitScopeparentv"Lcom/google/javascript/jscomp/Var;enclosingFunctionBodytestNodeendLineIendCharpos,Lcom/google/javascript/rhino/SourcePosition;LocalVariableTypeTablepLcom/google/javascript/rhino/SourcePosition;?(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/SourcePosition;error	arguments[Ljava/lang/String;/Lcom/google/javascript/rhino/JSDocInfo$Builder;	isHoistedgrandparentvaluevarNode
varDocInfo'Lcom/google/javascript/rhino/JSDocInfo;Ljava/lang/String;uniqueId
globalNamenewDeclisVarisFunctionDeclscope$Lcom/google/javascript/jscomp/Scope;	qNameRootaliasVarinitialValue
qualifiedName	rootIndex	namespace
expressionsrenamer>Lcom/google/javascript/jscomp/MakeDeclaredNamesUnique$Renamer;
uniquifier6Lcom/google/javascript/jscomp/MakeDeclaredNamesUnique;fnNamesuffixcb5Lcom/google/javascript/jscomp/NodeTraversal$Callback;anonymousFnNodevisit
lexicalVarnodetypeinfoendIndexbaseNamechildtypeNode
SourceFileScopedAliases.javaNestHostBootstrapMethods
\$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;$jscomp$scope$$
Unrecognized alias rhs $jscomp$scopedAliases$InnerClasses	TraversalAbstractPostOrderCallbackAliasTransformationAliasTransformationHandlerBuilderInvalidModuleGetHandlingTargettedRenamerContextualRenamerRenamer3com/google/javascript/jscomp/NodeTraversal$CallbackCallbackAliasedNodeAliasedTypeNodeScopedCallback5com/google/javascript/jscomp/ScopedAliases$AliasUsage
AliasUsage!%java/lang/invoke/MethodHandles$Lookup#java/lang/invoke/MethodHandlesLookup 
???????!"??()??,)??:)??=>A>DE??HI??
???p*+?*?	*?Y??*?Y??*?Y??*?Y??*?#Y?%?&*?#Y?%?**?#Y-?/?5?8*?;*??*?B*?F??2?	???*?5?@?K?[?`?e?j??p??????/*????????????/*????????????/*?????????AM?/*????????LM?B
*?F??????
???@?c?T*?J?+*?F?????????I?@??bc?X+?N?+?SW?Y?????????I?@??no?i+?]M*,?`?,?????
??? ???I?I??O????????B+?d??*+?i?lM,?/**??p,?t*,?x?|?B*+????*,?????F??*
??????&?.?6?A?? B??B??1?I?	?8O??????O*+?i???5*?F*+??*?&??*???*?8??*?B*?;?*?J?
*+??*+????2?????'?0?5?=?D?I?N?O??O???=?????x+?iM+????N*-???e,???^,?????T+??????:???<????:?Ŷ?:?ș*?Ͳ???Y??S?٧????.
&J	T
\tw?>T ?IJ*??x??x??s?I
k?I??4OO?????z{?X+MN-?
,?ݙ,??N,??M???-??-??6-??-??6??Y*??:+??+??????*
+:DU ?HX??X?IV?IT?I+-??:??D???D????OO
C?
C????????f*???+,-???*????$%&?*???I?????
???????+????M,???,????N-??:??:????????6??6??
?*-?
??-????????????u?6??:	-?:
:? ?C? ?$:?? ?*?0W?? ?*?4W?7?:W?:W-?>:??:
*??B
?FW*????L*??P?T:
?Z:???I?^?`:??f:?iW?l*????p?s?i:?l?
?	
?vW:
?y?:?}:?iW
???
	???
??
?*????p*?&??W-??*???
????*-?
?*????Y??S?٧?????9)*#+*-D.K/X0`1j4u7?8?9?:?;?>???@?A?C?E?F?I?K?LMO#S0_5`@bEdMeTf`hlisjvk{n?p?u?v?w?x?z?{?|?}????????????????????6??=?IE.?I?h?>?a?I	?[?I
?X?I?
???d?
???#????^?I#??I*??ID??>K??>??????????
??6?OO@?	
?>
???OOOOO%
??I???OOOOO+????O?0
?0O?*???OO???????A?+?M*?+?Ź?W*??????*,???*?*+??W?+??N*?-+??W,??:*?B-??.??6?'??:*????*?8??W??>???(?3?4?9?E?K?W?`?f?p?~????Hp??????????I9Rd?K@??`+????4O?U?????c??[??+????.?B$?*+?S???+?ɶ?M*???,???????Y+???ֿ??$?&?/?7?M?? 7??[??[?I?$??@???????F*?;??+??M,????N-???(-????:*?8?ֹ??	*?;???ձ?&	???
?+?<?A?B?E??*+??F??F??
9??????*??????r+?i??+?i??*?;?_??Y??Y??*?8??M*?8??N-???-????:,??????,????N*???+?i??-???.???(?F?O?R?]?f?n?q??4F	??(I??]??r??r????2??????????T,??N*???????:?Y*-,?:?*?????+?#?'+???+,-?/?0??*
???'?1?6?:?A?G?S??>T??T??T?IOd?;??'-???	??YZ?1?*??3?*??3,?S?7-??
???+?2?>?E?TZdlu??
?4Z6?I????????I??I?? O?
?
????Z??	s*?+?S?P*,?`?
*+,,???W*?J??,??::?[?P,??:+???_??:?7*??c?f?$:*????i?m?,?r?	,??*+???????{?',?u? ??,??*,?x??Y,??S?ٲ???.?F(7*,?{?Զ٧!*,?~?Զ٧*,???Զ٧,???	*+,???*???Y,????W,? :?;*?&,???.????:??????O:*???????$$%+.6<Jbf!}"?'?(?)?+?-?1?3?4?6?7?9:	GHLS/X5YGZi[o\r^?f
<Gd?J9??i?Is??s??s?Is?I+H?^.E??5>???!
?]??#!?#+???
????o?Fz+???_+??M,.??>?,??>,??:*??c??:?*???Y+????W*????i?m?+,??+?SM,?*,??,??M????>abcdeg%h5i:jNn^ocrlsqryu?HWd?P??%>??5.??h?Iz??z?I?(???0???O?O??????	
?
e	?n	}n	?%+	?@?????????e	e?
?
?e	
 "$




© 2015 - 2024 Weber Informatics LLC | Privacy Policy