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

com.google.javascript.jscomp.DeadAssignmentsElimination.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/NodeTraversal$AbstractCfgCallback()V		
7com/google/javascript/jscomp/DeadAssignmentsEliminationcompiler/Lcom/google/javascript/jscomp/AbstractCompiler;java/util/ArrayDeque

	
functionStackLjava/util/Deque;
$com/google/common/base/PreconditionscheckNotNull&(Ljava/lang/Object;)Ljava/lang/Object;
-com/google/javascript/jscomp/AbstractCompilergetLifeCycleStage@()Lcom/google/javascript/jscomp/AbstractCompiler$LifeCycleStage;
!"#$%ABCcontainsFunctionZ
EFGisRemovableAssign%(Lcom/google/javascript/rhino/Node;)Z	>IJCcontainsRemovableAssign
+LM%inFunctionBlockScope
>1PQRaddFirst(Ljava/lang/Object;)V
TUVeliminateDeadAssignments/(Lcom/google/javascript/jscomp/NodeTraversal;)V1XY=removeFirst
[\)
checkArgument
+^_`getScopeRoot$()Lcom/google/javascript/rhino/Node;
6bc`	getParent
efGhasScopeChanged
+hijgetScope&()Lcom/google/javascript/jscomp/Scope;
lmncj"com/google/javascript/jscomp/Scopep2com/google/javascript/jscomp/LiveVariablesAnalysis
lrstgetVarCount()I
vwxgetControlFlowGraph`(Lcom/google/javascript/jscomp/AbstractCompiler;)Lcom/google/javascript/jscomp/ControlFlowGraph;z2com/google/javascript/jscomp/SyntacticScopeCreator
y|}2(Lcom/google/javascript/jscomp/AbstractCompiler;)V
????%com/google/javascript/jscomp/NodeUtilgetAllVarsDeclaredInFunction?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/jscomp/ScopeCreator;Lcom/google/javascript/jscomp/Scope;)Lcom/google/javascript/jscomp/NodeUtil$AllVarsDeclaredInFunction;
o??(Lcom/google/javascript/jscomp/ControlFlowGraph;Lcom/google/javascript/jscomp/Scope;Lcom/google/javascript/jscomp/Scope;Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/jscomp/ScopeCreator;Lcom/google/javascript/jscomp/NodeUtil$AllVarsDeclaredInFunction;)V	???liveness4Lcom/google/javascript/jscomp/LiveVariablesAnalysis;
o??analyze
o???getAllVariables()Ljava/util/Map;
???tryRemoveDeadAssignmentsm(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/jscomp/ControlFlowGraph;Ljava/util/Map;)V
??GisAssignmentOp
6??`
getFirstChild
6??%isName
6??%isInc
6??%isDec
?????-com/google/javascript/jscomp/ControlFlowGraphgetNodes()Ljava/util/Collection;?????java/lang/Iterableiterator()Ljava/util/Iterator;????%java/util/IteratorhasNext???=next?6com/google/javascript/jscomp/graph/DiGraph$DiGraphNode????
getAnnotation1()Lcom/google/javascript/jscomp/graph/Annotation;?=com/google/javascript/jscomp/DataFlowAnalysis$LinearFlowState???=getValue	?????9com/google/javascript/jscomp/DeadAssignmentsElimination$1,$SwitchMap$com$google$javascript$rhino$Token[I
6???getToken%()Lcom/google/javascript/rhino/Token;
????t!com/google/javascript/rhino/Tokenordinal
???getConditionExpressionF(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
???tryRemoveAssignment?(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/DataFlowAnalysis$LinearFlowState;Ljava/util/Map;)V
6??%isVanillaFor
6??%hasChildren
????(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/DataFlowAnalysis$LinearFlowState;Ljava/util/Map;)V
??GisNameDeclaration
6??%isConst
???getRValueOfLValue
6??`getNext
??GisAnyFor
6???	getString()Ljava/lang/String;
l??%isFunctionBlockScope
l??%isBlockScope??
java/util/MapcontainsKey(Ljava/lang/Object;)Z?get com/google/javascript/jscomp/Var
o	
getEscapedLocals()Ljava/util/Set;

java/util/Setcontains
?getName
java/lang/Stringequals
6%isAssign
6`detach
6 !"replaceWith%(Lcom/google/javascript/rhino/Node;)V
$%"reportChangeToEnclosingScope
o'()getVarIndex(Ljava/lang/String;)I
?+,=getOut.Fcom/google/javascript/jscomp/LiveVariablesAnalysis$LiveVariableLattice
-012isLive(I)Z
?45=getIn
789#isVariableStillLiveWithinExpressionY(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;Ljava/lang/String;)Z
;<=getOpFromAssignmentOpG(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Token;
6?@j(Lcom/google/javascript/rhino/Token;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V
6BC%isExprResult
EFGHIcom/google/javascript/rhino/IRnumber%(D)Lcom/google/javascript/rhino/Node;
6KL?srcref
ENO?voidNode
6QR%isComma
6TU`getLastChild
EWX`empty
EZ[?
exprResult
6]^"insertAfter`java/lang/IllegalStateExceptionbUnknown statement
_de(Ljava/lang/String;)V
?ghGisEnteringNewCfgNode	jklmnHcom/google/javascript/jscomp/DeadAssignmentsElimination$VariableLiveness
MAYBE_LIVEJLcom/google/javascript/jscomp/DeadAssignmentsElimination$VariableLiveness;
pqrisVariableReadBeforeKill?(Lcom/google/javascript/rhino/Node;Ljava/lang/String;)Lcom/google/javascript/jscomp/DeadAssignmentsElimination$VariableLiveness;	jtunKILL
wxycheckHookBranchReadBeforeKill?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;Ljava/lang/String;)Lcom/google/javascript/jscomp/DeadAssignmentsElimination$VariableLiveness;	j{|nREAD
~?isNameDeclOrSimpleAssignLhsG(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Z
?(?(ZLjava/lang/Object;)V
6??`getSecondChild?)com/google/javascript/jscomp/CompilerPass	Signature_Ljava/util/Deque;CodeLineNumberTableLocalVariableTablethis9Lcom/google/javascript/jscomp/DeadAssignmentsElimination;MethodParametersprocessG(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Vexterns"Lcom/google/javascript/rhino/Node;rootvisits(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Vt,Lcom/google/javascript/jscomp/NodeTraversal;nparent
StackMapTableenterScopeWithCfgexitScopeWithCfgcurrentFunctionLLcom/google/javascript/jscomp/DeadAssignmentsElimination$BailoutInformation;
blockScope$Lcom/google/javascript/jscomp/Scope;
functionScopecfg/Lcom/google/javascript/jscomp/ControlFlowGraph;scopeCreator4Lcom/google/javascript/jscomp/SyntacticScopeCreator;allVarsDeclaredInFunctionALcom/google/javascript/jscomp/NodeUtil$AllVarsDeclaredInFunction;allVarsInFnLjava/util/Map;LocalVariableTypeTableSLcom/google/javascript/jscomp/ControlFlowGraph;ELjava/util/Map;state?Lcom/google/javascript/jscomp/DataFlowAnalysis$LinearFlowState;cfgNode8Lcom/google/javascript/jscomp/graph/DiGraph$DiGraphNode;nodesLjava/lang/Iterable;?Lcom/google/javascript/jscomp/DataFlowAnalysis$LinearFlowState;?Lcom/google/javascript/jscomp/graph/DiGraph$DiGraphNode;?Ljava/lang/Iterable<+Lcom/google/javascript/jscomp/graph/DiGraph$DiGraphNode;>;?(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/jscomp/ControlFlowGraph;Ljava/util/Map;)V(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/DataFlowAnalysis$LinearFlowState;Ljava/util/Map;)VoplhsrhsnameLjava/lang/String;scopevar"Lcom/google/javascript/jscomp/Var;indexIcexprRootisDeclarationNodeA(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/DataFlowAnalysis$LinearFlowState;Ljava/util/Map;)Vsiblingvariablev1v2firstchildtrueCase	falseCase
SourceFileDeadAssignmentsElimination.javaNestMembersInnerClassesAbstractCfgCallbackLifeCycleStage?3com/google/javascript/jscomp/NodeTraversal$CallbackCallbackBailoutInformation??com/google/javascript/jscomp/NodeUtil$AllVarsDeclaredInFunctionAllVarsDeclaredInFunction?*com/google/javascript/jscomp/graph/DiGraphDiGraphNode?-com/google/javascript/jscomp/DataFlowAnalysisLinearFlowStateLiveVariableLatticeVariableLiveness?4com/google/javascript/jscomp/ControlFlowGraph$BranchBranch ?????
}?U*?*+?*?
Y????34	56???????o!+?W,?W*??? ?&*?,*?*??:;
<= >? !??!??!???	??????@*??0??,?5?*??:?>?@?*,?D?*??:?>?H??BC
EF'G/H?J?*@??@??@??@???
?
????V?]+?K?*??>Y?N?O??NOQ?????????V?`+?K?*+?S*??WW??UVWY????????UV??		?+?K?Z*??0???&*?+?]?a?d??*??:?>M,?@??,?H??+?gN-?k:d-?q?q`??**??u:?yY*??{:*??~:*?oY-*?????*????*????:*+????^\]`,a-d:hAiBnIoJrOsUtXudvezo{||?}?~?????????\	??????:???Ol??Uf??oL??|????2???
???oL???
???@?>?ll??FG?f%+???
+?????+???
+????????%??%???
@??????	?,??:??:????????:????:???6:???Ͳ??ʶ?.?w
777GGGG___*+??-?ק?z?ۙ?r*+??-?ק?b?ޙ?Z*+??-?ק?J*+-?ק?=??B??%?1?=?B?E????????????????????R1???=???%???????????????????41???%?????????????3????5??6?B?+????
????????}*+,,-???
?
??4??????????????????????????h,?a:??6,???,???,????????,?,??:??:		?*+	-????:	????*+??-???	??a?????????:
+?g:????????&
????
??:*??????	?8	???0	????? ,??	?W,	?*?	?#?*????&6
?*?-
?/???3?-
?/?*,-??6??,??	?W,	???,???)	?W?W?6Y,?:	?>:,???,???
,???Q?A?,?D,?J?M??e,?P?,?S?,?W?M?ۙ??,?
,?V??2??!	?W	?Y?\	?a	?JW??_Ya?c?*??#?,??:?%??:	?f?*+-??	:??ܱ?A??
?'?/?0???F?K?W?^?k?z?????????????????????

$%3CDYb"c%j&p'y(?)?*?+?,?-?.?/?0?1?2?379:
;<%?0B9C:EEFLGTH`JdKgL?????????F???	????
?????a??3??
L??	@'??h??h??h??h??h??h??b??
[?C?h??h???j?'6C6? 66?l@?9?,
"
?	+66??6?6?6?????????89???+,?òi:??+?a?ʶ?.?h   B+???m*+??-?o:?s?Z?i:?R+???K+?????A*+??+????-?v:?,+??:?!*-?o:?i??
??:????z???s??+?aL??>??fab
c8j?kAlEkJmRnZwkxmyxx?~??????????????????????>?#??
??n?????????????
?7j!%?6?			??
???qr?m?+?f??i?+???G,+???<++?a?}?-+?a?+?a??+??N*-,?o:?z???s??z???+?ʶ?.?qM*+??,?oN*+?S,?o:-?i?-??z??z??i?*+??,?o:?i??*+??+?S,?v?+??:?!*,?o:?i????:???i???&????(?6?;?C?K?N?R?V??????????????????????????????????????????????????????f
;??C?n?$?n??n??n??n?#????????????P
?B6j?)?jj??j?
?66?	6?	??xy??<*+-?o:*,-?o:?z??z??z??s??s??s??i????? ?$?4?8??><??<??<??<??4?n,?n?
? jj?
???????j>?Z+?	!?@?+?	>??????	????-o?j?@???@




© 2015 - 2024 Weber Informatics LLC | Privacy Policy