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

com.google.javascript.jscomp.VariableReferenceCheck$ReferenceCheckingBehavior.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!
????7c	Mcom/google/javascript/jscomp/VariableReferenceCheck$ReferenceCheckingBehaviorthis$05Lcom/google/javascript/jscomp/VariableReferenceCheck;
	
java/lang/Object()Vjava/util/LinkedHashSet

		varsInFunctionBodyLjava/util/Set;
*com/google/javascript/jscomp/NodeTraversalgetScope&()Lcom/google/javascript/jscomp/Scope;
"com/google/javascript/jscomp/ScopeisFunctionBlockScope()Z!"#$
java/util/Setclear
&'(getVarIterable()Ljava/lang/Iterable;*+,-.java/lang/Iterableiterator()Ljava/util/Iterator;0123java/util/IteratorhasNext0567next()Ljava/lang/Object;9 com/google/javascript/jscomp/Var
8;<=getName()Ljava/lang/String;!?@Aadd(Ljava/lang/Object;)ZCDEFG)com/google/javascript/jscomp/ReferenceMap
getReferencesV(Lcom/google/javascript/jscomp/Var;)Lcom/google/javascript/jscomp/ReferenceCollection;
IJKgetRootNode$()Lcom/google/javascript/rhino/Node;
MNOP com/google/javascript/rhino/Node
isFunction
8RSisDefaultParam
UVWcheckDefaultParamX(Lcom/google/javascript/jscomp/Var;Lcom/google/javascript/jscomp/Scope;Ljava/util/Set;)V	YZ[\]0com/google/javascript/jscomp/ReferenceCollection
referencesLjava/util/List;
_`acheckShadowParamY(Lcom/google/javascript/jscomp/Var;Lcom/google/javascript/jscomp/Scope;Ljava/util/List;)V
cdecheckVar5(Lcom/google/javascript/jscomp/Var;Ljava/util/List;)V	ghijk6com/google/javascript/jscomp/AbstractScope$ImplicitVarEXPORTS8Lcom/google/javascript/jscomp/AbstractScope$ImplicitVar;
mnohasOwnImplicitSlot;(Lcom/google/javascript/jscomp/AbstractScope$ImplicitVar;)Z
qrsmakeImplicitVar\(Lcom/google/javascript/jscomp/AbstractScope$ImplicitVar;)Lcom/google/javascript/jscomp/Var;
uvwcheckGoogModuleExportsP(Lcom/google/javascript/jscomp/Var;Lcom/google/javascript/jscomp/ReferenceMap;)V	yz{|}3com/google/javascript/jscomp/VariableReferenceCheckcompiler/Lcom/google/javascript/jscomp/AbstractCompiler;
8?K
getParentNode
M??KgetSecondChild?Ocom/google/javascript/jscomp/VariableReferenceCheck$ReferenceCheckingBehavior$1
????(Lcom/google/javascript/jscomp/VariableReferenceCheck$ReferenceCheckingBehavior;Ljava/util/Set;Lcom/google/javascript/jscomp/Scope;)V
???traverse?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/NodeTraversal$Callback;)V
???getVar>(Ljava/lang/String;)Lcom/google/javascript/jscomp/AbstractVar;
8??isParam
8??.()Lcom/google/javascript/jscomp/AbstractScope;?+?java/util/List?&com/google/javascript/jscomp/Reference
???isVarDeclaration
???isHoistedFunction
???KgetNode
8??KgetNameNode	y???REDECLARED_VARIABLE-Lcom/google/javascript/jscomp/DiagnosticType;?java/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
Y??isNeverAssigned
???isLvalue
y???checkEarlyReferenceo(Lcom/google/javascript/jscomp/Var;Lcom/google/javascript/jscomp/Reference;Lcom/google/javascript/rhino/Node;)Z	y??blocksWithDeclarations
y???lookForHoistedFunction:(Ljava/util/List;)Lcom/google/javascript/jscomp/Reference;
????
getBasicBlock+()Lcom/google/javascript/jscomp/BasicBlock;
???
isDeclaration
y???checkRedeclaration?(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;)Z
y???checkBlocklessDeclarationo(Lcom/google/javascript/jscomp/Var;Lcom/google/javascript/jscomp/Reference;Lcom/google/javascript/rhino/Node;)V
???KgetGrandparent
M??isExport
8??isConst	y???REASSIGNED_CONSTANT
8??isLet
?
?????%com/google/javascript/jscomp/NodeUtil
isEnhancedFor%(Lcom/google/javascript/rhino/Node;)Z	y???EARLY_REFERENCE_ERROR????get(I)Ljava/lang/Object;
M?
M??isForIn
M??KgetFirstFirstChild
?isLocal
?isLetDeclaration
?isConstDeclaration
M	
isFromExterns
?K	getParent
MisDec
MisInc
??isCompoundAssignmentOp
??isExpressionResultUsed	ycheckUnusedLocalsZ
y checkForUnusedLocalVarM(Lcom/google/javascript/jscomp/Var;Lcom/google/javascript/jscomp/Reference;)V"8com/google/javascript/jscomp/ReferenceCollector$Behavior	Signature#Ljava/util/Set;8(Lcom/google/javascript/jscomp/VariableReferenceCheck;)VCodeLineNumberTableLocalVariableTablethisOLcom/google/javascript/jscomp/VariableReferenceCheck$ReferenceCheckingBehavior;MethodParametersafterExitScopeZ(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/jscomp/ReferenceMap;)Vv"Lcom/google/javascript/jscomp/Var;referenceCollection2Lcom/google/javascript/jscomp/ReferenceCollection;t,Lcom/google/javascript/jscomp/NodeTraversal;referenceMap+Lcom/google/javascript/jscomp/ReferenceMap;scope$Lcom/google/javascript/jscomp/Scope;
StackMapTableparamLocalVariableTypeTablel(Lcom/google/javascript/jscomp/Var;Lcom/google/javascript/jscomp/Scope;Ljava/util/Set;)Vr(Lcom/google/javascript/jscomp/Reference;
functionScope
maybeParam:Ljava/util/List;?(Lcom/google/javascript/jscomp/Var;Lcom/google/javascript/jscomp/Scope;Ljava/util/List;)V	reference
exportsVardecldeclNode"Lcom/google/javascript/rhino/Node;gplhsOfForInLoop
referenceNode
basicBlock)Lcom/google/javascript/jscomp/BasicBlock;isAssignmenthasSeenDeclaration	hasErrorsisReadunusedAssignment	hoistedFnS'com/google/javascript/jscomp/BasicBlock_(Lcom/google/javascript/jscomp/Var;Ljava/util/List;)V
SourceFileVariableReferenceCheck.javaNestHostInnerClassesReferenceCheckingBehavior[*com/google/javascript/jscomp/AbstractScopeImplicitVar^3com/google/javascript/jscomp/NodeTraversal$CallbackCallbacka/com/google/javascript/jscomp/ReferenceCollectorBehavior !#$%&G*+?*?*?
Y???'r	st()*+,-&??+?N-???*?? -?%?):?/?!?4?8:*??:?>W???-?%?):?/?_?4?8:,?B:?A-?H?L??Q?*-*??T-?H?L?*-?X?^*?X?b???-?f?l?*-?f?p,?t?'Jyz{|6}E~H?i?s?x?????????????????(H6./sC01iM./?)*?23?45?678%? 0?'?
0?A8Y?
?+	24VW&?*??x+?~????Y*-,?????'????(*)*9/67:$+
96#;`a&(?,+?:???8:?q???i??,?`-??:?/?N?4??:??????/??+???#*??x??????Y+?:S????????'"?
?#?A?S?]?}???(>A<<=?)*?./?>7?\]
t?/:?\@8?+80?%??+?+
.>\#Avw&?T,+?BN-?
-????-?X??:?/?-?4??:????*?+????W??ϱ'&	????5?=?@?P?S?(45B=T)*TC/T45L\18?Y?
0? ??+	C4de&K*??Ĺ >66:*?,??:?>,??:?/???4??:		????	??:
	??:	??6?	????6
?C>*?+	
??6*????>W*?+	
??	?ڶݙ?6???*?+	
??6?/+???(	??? *??x
????Y+?:S????+??
+???:+??	??.	??H?? *??x
????Y+?:S????
??,????:??:??:???????6????/????????????	:	?
?
?	?
??	?
??	????6?6??F*??????
*?+??'?1??????!?&?(?F?M?P?W?^?e?y?~??????????????????????)?FKW^e~??	??
???????(?W?D=^?EFeGF~fHW?IF
^?JKe??yqL
F?B=	)*./\]MN?O?P=!?Q=:\@8??(8????0???!MR@?F0
6?4?MM@?$ ?
8???0?MR?	8???0?"+	.\#TUVWyX*yYgZ\@?]_	!`b	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy