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

com.google.javascript.jscomp.VariableReferenceCheck.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/LinkedHashSet
	
3com/google/javascript/jscomp/VariableReferenceCheckblocksWithDeclarationsLjava/util/Set;	compiler/Lcom/google/javascript/jscomp/AbstractCompiler;
-com/google/javascript/jscomp/AbstractCompiler
getOptions0()Lcom/google/javascript/jscomp/CompilerOptions;	UNUSED_LOCAL_ASSIGNMENT-Lcom/google/javascript/jscomp/DiagnosticType;
 !"#,com/google/javascript/jscomp/DiagnosticGroupforType](Lcom/google/javascript/jscomp/DiagnosticType;)Lcom/google/javascript/jscomp/DiagnosticGroup;
%&'(),com/google/javascript/jscomp/CompilerOptionsenables1(Lcom/google/javascript/jscomp/DiagnosticGroup;)Z	+,-checkUnusedLocalsZ//com/google/javascript/jscomp/ReferenceCollector1Mcom/google/javascript/jscomp/VariableReferenceCheck$ReferenceCheckingBehavior
0348(Lcom/google/javascript/jscomp/VariableReferenceCheck;)V62com/google/javascript/jscomp/SyntacticScopeCreator
5892(Lcom/google/javascript/jscomp/AbstractCompiler;)V
.;<?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/jscomp/ReferenceCollector$Behavior;Lcom/google/javascript/jscomp/ScopeCreator;)V
.>?@processG(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)VBCDEFjava/util/Listiterator()Ljava/util/Iterator;HIJKLjava/util/IteratorhasNext()ZHNOPnext()Ljava/lang/Object;R&com/google/javascript/jscomp/Reference
QTULisHoistedFunction
QWXY
getBasicBlock+()Lcom/google/javascript/jscomp/BasicBlock;[\]^_
java/util/Setadd(Ljava/lang/Object;)Z
QabLisVarDeclaration
QdefgetGrandparent$()Lcom/google/javascript/rhino/Node;
hijkL com/google/javascript/rhino/NodeisAddedBlock	mno*BLOCKLESS_DECLARATION_FORBIDDEN_STATEMENTS(Lcom/google/common/collect/ImmutableSet;
hqrf	getParent
htuvgetToken%()Lcom/google/javascript/rhino/Token;
xyz{_&com/google/common/collect/ImmutableSetcontains	}~!DECLARATION_NOT_DIRECTLY_IN_BLOCK?java/lang/String
????? com/google/javascript/jscomp/VargetName()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;
???report)(Lcom/google/javascript/jscomp/JSError;)V
???f
getParentNode
h??LisVar
Q??LisLetDeclaration
Q??LisConstDeclaration
???fgetNode
Q?
h??LisCatch
???isRedeclaration,(Lcom/google/javascript/jscomp/BasicBlock;)Z
???fgetNameNode
?????%com/google/javascript/jscomp/VarCheck"hasDuplicateDeclarationSuppressionv(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Z
???LisParam
?????%com/google/javascript/jscomp/NodeUtilisBlockScopedDeclaration%(Lcom/google/javascript/rhino/Node;)Z
????getScope.()Lcom/google/javascript/jscomp/AbstractScope;
Q???&()Lcom/google/javascript/jscomp/Scope;
???r?"com/google/javascript/jscomp/Scope
h??L
isFunction
h??f
getFirstChild
???LisLet
???LisConst
???LisClass
???LisImport	??REDECLARED_VARIABLE_ERROR
???LisGlobal	???VAR_MULTIPLY_DECLARED_ERROR	??REDECLARED_VARIABLE
h???	getString
??_equals
???
locationOf6(Lcom/google/javascript/rhino/Node;)Ljava/lang/String;[C?'com/google/javascript/jscomp/BasicBlock
????provablyExecutesBefore?	
h???getLocation
h??L
isFromExterns
???LisImplicitGoogNamespace
??
Qq
hLisOr
hLisName
?fgetRootNode
h
LisMemberFieldDef
h
LisStaticMember
?hasSameContainerScope/(Lcom/google/javascript/jscomp/AbstractScope;)Zgoog
?LisGoogModuleExports	EARLY_EXPORTS_REFERENCE	EARLY_REFERENCE_ERROR	 EARLY_REFERENCE
?"#LisLocal
?%&'getBestJSDocInfoK(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/JSDocInfo;
)*+,L%com/google/javascript/rhino/JSDocInfohasTypedefType
?./LisFunctionBlockScope
h12fgetPrevious	456
GOOG_SCOPE+Lcom/google/javascript/rhino/QualifiedName;
89:;?)com/google/javascript/rhino/QualifiedNamematches
?=>L
isModuleScope
?@ABgetEnclosingStatementF(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
?DE?isNameDeclaration	GH6GOOG_FORWARD_DECLARE
?JKLisCallToP(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/QualifiedName;)Z	NO6GOOG_REQUIRE_TYPE	QR6GOOG_REQUIRE
hTULisQualifiedNameWJSC_REFERENCE_BEFORE_DECLAREY+Variable referenced before declaration: {0}
[\]^_+com/google/javascript/jscomp/DiagnosticTypewarningS(Ljava/lang/String;Ljava/lang/String;)Lcom/google/javascript/jscomp/DiagnosticType;a#JSC_EXPORTS_REFERENCE_BEFORE_ASSIGNc@Illegal reference to `exports` before assignment `exports = ...`
[ef_errorhJSC_REDECLARED_VARIABLEjRedeclared variable: {0}l"JSC_REFERENCE_BEFORE_DECLARE_ERRORn2Illegal variable reference before declaration: {0}pJSC_REASSIGNED_CONSTANTrConstant reassigned: {0}	tuREASSIGNED_CONSTANTwJSC_REDECLARED_VARIABLE_ERRORy Illegal redeclared variable: {0}{%JSC_DECLARATION_NOT_DIRECTLY_IN_BLOCK}7Block-scoped declaration not directly within block: {0}JSC_UNUSED_LOCAL_ASSIGNMENT?2Value assigned to local variable {0} is never read
[??_disabled?goog.require
8???of?(Ljava/lang/String;)Lcom/google/javascript/rhino/QualifiedName;?goog.requireType?goog.forwardDeclare	?????!com/google/javascript/rhino/TokenIF#Lcom/google/javascript/rhino/Token;	????FOR	????FOR_IN	????FOR_OF	????FOR_AWAIT_OF	????WHILE
?????com/google/common/collect/SetsimmutableEnumSetK(Ljava/lang/Enum;[Ljava/lang/Enum;)Lcom/google/common/collect/ImmutableSet;?
goog.scope?)com/google/javascript/jscomp/CompilerPass	Signature:Ljava/util/Set;MLcom/google/common/collect/ImmutableSet;CodeLineNumberTableLocalVariableTablethis5Lcom/google/javascript/jscomp/VariableReferenceCheck;MethodParametersexterns"Lcom/google/javascript/rhino/Node;rootlookForHoistedFunction:(Ljava/util/List;)Lcom/google/javascript/jscomp/Reference;	reference(Lcom/google/javascript/jscomp/Reference;
referencesLjava/util/List;LocalVariableTypeTable:Ljava/util/List;
StackMapTabled(Ljava/util/List;)Lcom/google/javascript/jscomp/Reference;RuntimeVisibleTypeAnnotations#Lorg/jspecify/annotations/Nullable;checkBlocklessDeclarationo(Lcom/google/javascript/jscomp/Var;Lcom/google/javascript/jscomp/Reference;Lcom/google/javascript/rhino/Node;)Vv"Lcom/google/javascript/jscomp/Var;
referenceNodecheckRedeclaration?(Lcom/google/javascript/jscomp/Var;Lcom/google/javascript/jscomp/Reference;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/Reference;Lcom/google/javascript/jscomp/BasicBlock;)ZdiagnosticTypewarningNodeshadowParamisFunctionDecl	hoistedFn
basicBlock)Lcom/google/javascript/jscomp/BasicBlock;letConstShadowsVarisVarNodeSameAsReferenceNodeshadowCatchVarpreviousDeclarationnewDeclarationncheckEarlyReferenceo(Lcom/google/javascript/jscomp/Var;Lcom/google/javascript/jscomp/Reference;Lcom/google/javascript/rhino/Node;)ZcurrreferenceScopeRootcheckForUnusedLocalVarM(Lcom/google/javascript/jscomp/Var;Lcom/google/javascript/jscomp/Reference;)Vfunctioncalleelhsrhs	statementunusedAssignmentjsDoc'Lcom/google/javascript/rhino/JSDocInfo;inGoogScopes$Lcom/google/javascript/jscomp/Scope;
SourceFileVariableReferenceCheck.javaNestMembers?Ocom/google/javascript/jscomp/VariableReferenceCheck$ReferenceCheckingBehavior$1InnerClassesReferenceCheckingBehavior?8com/google/javascript/jscomp/ReferenceCollector$BehaviorBehavior ? ?u?~R6O6H6,-??no??56
9?n&*?*?Y?	?
*+?*+????$?*??]R^_`%a?&??&??@?j$?.Y*??0Y*?2?5Y*??7?:+,?=??e g#h? $??$??$???	??????6+?AM,?G?',?M?QN-?S?*?
-?V?ZW-??????!"!#/$1&4'? ??6??6???6????H)???????????>,?`?9,?c?g?/?l,?c?p?s?w?*?-?|?Y+??S??????+-,$.=0?*>??>??>??>???=?
??????&
?+?????,???
,????6+??,????6+???????6*???*?-+??????-:
+???-???+??,??????6+???+???ř+????-??6+?˚,+?Κ%+?њ???+?Ԛ???:	?M,???p????+???¶ڙ	?ݧ??:	?!?+???????
??:
*?
	?Y+??SY+????S???????)+??,???*?-???Y+??S????????"7891;G=V>_@bAcBjCqD?F?G?H?I?K?L?M?Q?T?U?V?[^`#a*d9eJdMfOidj}kn????	H?	b???
???-???-??????????????????b?-1P?-G:?-?o@?@?@?<h@?!@?1B[?$
?QhQ?[h?$	?QhQ?	%??????????,*?
??M,?G?,?M??N-+????????vw%x'z*{? 
??,??,????
H???
???E*??*????????	C???	????#?-???
+????+???A,??:???p???
?p:???????+?????,???:?	?
???,??+???¶?]+????P*?,??+??	??(+?˚+?Κ+?њ
+???	????Y+??S???????b?????2?<?S?U?^?n?p??????????????????????????>8??????????????^?????h??h?2?Qhhh??Qhhh??Qhhh??Qhhh[?
??????	?+?!??,???$N-?-?(??6+????:?-?+??p:?0:??3?7??6???




© 2015 - 2024 Weber Informatics LLC | Privacy Policy