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

com.google.javascript.jscomp.ScopedAliases.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/common/collect/ImmutableSetof*()Lcom/google/common/collect/ImmutableSet;		
Ccom/google/javascript/jscomp/ScopedAliases$InvalidModuleGetHandlingPRESERVEELcom/google/javascript/jscomp/ScopedAliases$InvalidModuleGetHandling;
*com/google/javascript/jscomp/ScopedAliases(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/jscomp/PreprocessorSymbolTable;Lcom/google/javascript/jscomp/CompilerOptions$AliasTransformationHandler;Ljava/util/Set;Lcom/google/javascript/jscomp/ScopedAliases$InvalidModuleGetHandling;)V
java/lang/Object()V
&com/google/common/collect/HashMultisetcreate*()Lcom/google/common/collect/HashMultiset;	 !scopedAliasNames$Lcom/google/common/collect/Multiset;	#$%compiler/Lcom/google/javascript/jscomp/AbstractCompiler;	'()preprocessorSymbolTable6Lcom/google/javascript/jscomp/PreprocessorSymbolTable;	+,-transformationHandlerILcom/google/javascript/jscomp/CompilerOptions$AliasTransformationHandler;	/01closureNamespacesLjava/util/Set;	34invalidModuleGetHandling62com/google/javascript/jscomp/ScopedAliases$Builder
5892(Lcom/google/javascript/jscomp/AbstractCompiler;)V;4com/google/javascript/jscomp/ScopedAliases$Traversal
:=>/(Lcom/google/javascript/jscomp/ScopedAliases;)V
@ABCD*com/google/javascript/jscomp/NodeTraversaltraverse?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/NodeTraversal$Callback;)V
:FGH	hasErrors()ZJjava/util/ArrayList
:LMNgetAliasUsages()Ljava/util/List;
IPQ(Ljava/util/Collection;)VSTUVHjava/util/ListisEmpty
ISYZ[iterator()Ljava/util/Iterator;]^_`Hjava/util/IteratorhasNext]bcdnext()Ljava/lang/Object;f5com/google/javascript/jscomp/ScopedAliases$AliasUsage	:hi1deletedAliasVars
eklmreferencesOtherAlias(Ljava/util/Set;)ZSopqadd(Ljava/lang/Object;)Z
est9
applyAliasSvwxsize()ISz{|get(I)Ljava/lang/Object;	e~?aliasVar"Lcom/google/javascript/jscomp/Var;
????? com/google/javascript/jscomp/VargetNode$()Lcom/google/javascript/rhino/Node;	???GOOG_SCOPE_ALIAS_CYCLE-Lcom/google/javascript/jscomp/DiagnosticType;?java/lang/String
????getName()Ljava/lang/String;
?????$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/AbstractCompilerreport)(Lcom/google/javascript/jscomp/JSError;)V
:???getAliasDefinitionsToDelete()Ljava/util/Collection;?Y?java/util/Collection? com/google/javascript/rhino/Node
????reportChangeToEnclosingScope%(Lcom/google/javascript/rhino/Node;)V
????	getParent
?????%com/google/javascript/jscomp/NodeUtilisNameDeclaration%(Lcom/google/javascript/rhino/Node;)Z
???HhasOneChild
????detach
:??N
getScopeCalls
????getLastChild
????replaceWith
????markFunctionsDeletedT(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/AbstractCompiler;)V
????
tryMergeBlock&(Lcom/google/javascript/rhino/Node;Z)Z	?????,com/google/javascript/jscomp/ScopedAliases$1,$SwitchMap$com$google$javascript$rhino$Token[I
????getToken%()Lcom/google/javascript/rhino/Token;
????x!com/google/javascript/rhino/Tokenordinal
????
getFirstChild
???isValidAliasRhs	???GOOG_MODULE_GET+Lcom/google/javascript/rhino/QualifiedName;
????isCallToP(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/QualifiedName;)Z
???HhasChildren
???getAliasedNamespace6(Lcom/google/javascript/rhino/Node;)Ljava/lang/String;
????	getString???makeConcatWithConstants8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
?????$com/google/common/base/Preconditions
checkState(ZLjava/lang/Object;)V
???HhasTwoChildren?java/lang/RuntimeException??
?(Ljava/lang/String;)V$jscomp$scope$
?	

startsWith(Ljava/lang/String;)ZJSC_GOOG_SCOPE_MUST_BE_ALONE;The call to goog.scope must be alone in a single statement.
+com/google/javascript/jscomp/DiagnosticTypeerrorS(Ljava/lang/String;Ljava/lang/String;)Lcom/google/javascript/jscomp/DiagnosticType;	?GOOG_SCOPE_MUST_BE_ALONE&JSC_GOOG_SCOPE_MUST_BE_IN_GLOBAL_SCOPE3The call to goog.scope must be in the global scope.	?"GOOG_SCOPE_MUST_BE_IN_GLOBAL_SCOPE !JSC_GOOG_SCOPE_HAS_BAD_PARAMETERS"|The call to goog.scope must take only a single parameter.  It must be an anonymous function that itself takes no parameters.	$%?GOOG_SCOPE_HAS_BAD_PARAMETERS'JSC_GOOG_SCOPE_REFERENCES_THIS):The body of a goog.scope function cannot reference 'this'.	+,?GOOG_SCOPE_REFERENCES_THIS.JSC_GOOG_SCOPE_USES_RETURN06The body of a goog.scope function cannot use 'return'.	23?GOOG_SCOPE_USES_RETURN5JSC_GOOG_SCOPE_USES_THROW75The body of a goog.scope function cannot use 'throw'.	9:?GOOG_SCOPE_USES_THROW<JSC_GOOG_SCOPE_ALIAS_REDEFINED>1The alias {0} is assigned a value more than once.	@A?GOOG_SCOPE_ALIAS_REDEFINEDCJSC_GOOG_SCOPE_ALIAS_CYCLEEThe aliases {0} has a cycle.GJSC_GOOG_SCOPE_NON_ALIAS_LOCALI>The local variable {0} is in a goog.scope and is not an alias.	KL?GOOG_SCOPE_NON_ALIAS_LOCALNJSC_GOOG_SCOPE_INVALID_VARIABLEP1The variable {0} cannot be declared in this scope	RS?GOOG_SCOPE_INVALID_VARIABLEUgoog.module.get
WXYZ)com/google/javascript/rhino/QualifiedName?(Ljava/lang/String;)Lcom/google/javascript/rhino/QualifiedName;\)com/google/javascript/jscomp/CompilerPassSCOPING_METHOD_NAMELjava/lang/String;
ConstantValuea
goog.scopeSCOPED_ALIASES_PREFIX
uniqueIdInput,Lcom/google/javascript/jscomp/CompilerInput;	Signature8Lcom/google/common/collect/Multiset;#Ljava/util/Set;?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/jscomp/PreprocessorSymbolTable;Lcom/google/javascript/jscomp/CompilerOptions$AliasTransformationHandler;)VCodeLineNumberTableLocalVariableTablethis,Lcom/google/javascript/jscomp/ScopedAliases;MethodParameters
DeprecatedRuntimeVisibleAnnotationsLjava/lang/Deprecated;RuntimeVisibleTypeAnnotations#Lorg/jspecify/annotations/Nullable;LocalVariableTypeTable(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/jscomp/PreprocessorSymbolTable;Lcom/google/javascript/jscomp/CompilerOptions$AliasTransformationHandler;Ljava/util/Set;Lcom/google/javascript/jscomp/ScopedAliases$InvalidModuleGetHandling;)Vbuildere(Lcom/google/javascript/jscomp/AbstractCompiler;)Lcom/google/javascript/jscomp/ScopedAliases$Builder;processG(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V
aliasUsage7Lcom/google/javascript/jscomp/ScopedAliases$AliasUsage;cycleVarnewQueueLjava/util/List;aliasDefinition"Lcom/google/javascript/rhino/Node;expressionWithScopeCallscopeClosureBlock	scopeCallaliasWorkQueueexternsroot	traversal6Lcom/google/javascript/jscomp/ScopedAliases$Traversal;ILjava/util/List;
StackMapTablerhsisAliasDefinitionnameNodeisScopedAliasesname
SourceFileScopedAliases.javaNestMembers?6com/google/javascript/jscomp/ScopedAliases$Traversal$2?6com/google/javascript/jscomp/ScopedAliases$Traversal$1?:com/google/javascript/jscomp/ScopedAliases$AliasedTypeNode?6com/google/javascript/jscomp/ScopedAliases$AliasedNodeBootstrapMethods?
?????$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;?.?Invalid alias RHS:InnerClassesInvalidModuleGetHandling?Gcom/google/javascript/jscomp/CompilerOptions$AliasTransformationHandler?,com/google/javascript/jscomp/CompilerOptionsAliasTransformationHandlerBuilder	Traversal?3com/google/javascript/jscomp/NodeTraversal$CallbackCallback
AliasUsageAliasedTypeNodeAliasedNode?%java/lang/invoke/MethodHandles$Lookup?java/lang/invoke/MethodHandlesLookup []^_`b^_$%(),-cd??%?,?3?:?A???L?S??? !ef01eg4	hib*+,-???
?j??
?
?k*lm$%(),-n
$(,opqr	si?'*?*??*+?"*,?&*-?**?.*?2?j"?????? ?&?k>'lm'$%'()',-'01'4t'0gn$(,04eur	svwi3	?5Y*?7?j?k	$%n$xyi?	w?:Y*?,@.B6Dk8???$n?
??i\*???*??L+?ܬjIJ	LMk?????	n?
??i?c??*?ж?.?J*/*?ٸ?*????*??*?߸?*??*??*??*????Y*???jQ$S5U:WEXMYU[kc???$n?	?
i2*??jyk?^n??i??
????!??#&(??*-/??146??8;=???BD???FH??JMO??QT?V?߱jV]^bcgh$m*n0r6s<vBwHzN{T~Z`?f?l?r?x????	?:????e5??????b?@???	5?:??@?	e?
???
??
?????




© 2015 - 2024 Weber Informatics LLC | Privacy Policy