com.google.javascript.jscomp.MustBeReachingVariableDef.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of closure-compiler-unshaded Show documentation
Show all versions of closure-compiler-unshaded Show documentation
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!
???? 7q
-com/google/javascript/jscomp/DataFlowAnalysis 2(Lcom/google/javascript/jscomp/ControlFlowGraph;)V
6com/google/javascript/jscomp/MustBeReachingVariableDef compiler /Lcom/google/javascript/jscomp/AbstractCompiler; escaped Ljava/util/Set; allVarsInFn Ljava/util/Map; >com/google/javascript/jscomp/MustBeReachingVariableDef$MustDef
java/util/Map values ()Ljava/util/Collection;
(Ljava/util/Collection;)V
! " ()V $ Bcom/google/javascript/jscomp/MustBeReachingVariableDef$MustDefJoin
# !
' ( C(Lcom/google/javascript/jscomp/MustBeReachingVariableDef$MustDef;)V
* + , computeMustDef ?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/MustBeReachingVariableDef$MustDef;Z)V . / 0 1 2 8com/google/javascript/jscomp/MustBeReachingVariableDef$2 ,$SwitchMap$com$google$javascript$rhino$Token [I
4 5 6 7 8 com/google/javascript/rhino/Node getToken %()Lcom/google/javascript/rhino/Token;
: ; < = > !com/google/javascript/rhino/Token ordinal ()I
@ A B C D %com/google/javascript/jscomp/NodeUtil getConditionExpression F(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
4 F G H
getFirstChild $()Lcom/google/javascript/rhino/Node;
4 J K H getNext
@ M N O isNameDeclaration %(Lcom/google/javascript/rhino/Node;)Z
4 Q R H getLastChild
4 T U V isName ()Z
4 X Y Z getString ()Ljava/lang/String;
\ ] ^ addToDefIfLocal ?(Ljava/lang/String;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/MustBeReachingVariableDef$MustDef;)V
4 ` a V isDestructuringLhs
4 c d V isDestructuringPattern
4 f g H getSecondChild
4 i j V hasChildren
l m n o p $com/google/common/base/Preconditions
checkState (ZLjava/lang/Object;)V
@ r s O isLhsByDestructuring u arguments
w x y z { java/lang/String equals (Ljava/lang/Object;)Z
} ~ ( escapeParameters
@ ? ? O isAssignmentOp
@ ? ? O isNormalGet
4 ? ? H getFirstFirstChild
4 ? ? V isDec
4 ? ? V isInc ? ? ? get &(Ljava/lang/Object;)Ljava/lang/Object; ? com/google/javascript/jscomp/Var ? ? ? reachingDef Ljava/util/LinkedHashMap;
? ? ? ? ? java/util/LinkedHashMap entrySet ()Ljava/util/Set; ? ? ? ? ?
java/util/Set iterator ()Ljava/util/Iterator; ? ? ? ? V java/util/Iterator hasNext ? ? ? ? next ()Ljava/lang/Object; ? java/util/Map$Entry ? ? ? ? getValue ? Acom/google/javascript/jscomp/MustBeReachingVariableDef$Definition ? ? ? depends ? ? ? { contains ? ? ? ? setValue
? ? ? ? put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
? ? ? %(Lcom/google/javascript/rhino/Node;)V
? ? ? computeDependence h(Lcom/google/javascript/jscomp/MustBeReachingVariableDef$Definition;Lcom/google/javascript/rhino/Node;)V ? ? ? java/util/Collection
? ? ? isParameter %(Lcom/google/javascript/jscomp/Var;)Z
? ? ? V isParam ? 8com/google/javascript/jscomp/MustBeReachingVariableDef$1
? ? ? ~(Lcom/google/javascript/jscomp/MustBeReachingVariableDef;Lcom/google/javascript/jscomp/MustBeReachingVariableDef$Definition;)V
? ? ? ? ? *com/google/javascript/jscomp/NodeTraversal traverse ?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/NodeTraversal$Callback;)V
? ? ? getCfg 1()Lcom/google/javascript/jscomp/ControlFlowGraph;
? ? ? ? { -com/google/javascript/jscomp/ControlFlowGraph hasNode
l ? ? ?
checkArgument (Z)V
? ? ? ? getNode ^(Ljava/lang/Object;)Lcom/google/javascript/jscomp/graph/LinkedDirectedGraph$LinkedDiGraphNode; ? ? ? ? ? ,com/google/javascript/jscomp/graph/GraphNode
getAnnotation 1()Lcom/google/javascript/jscomp/graph/Annotation; ? =com/google/javascript/jscomp/DataFlowAnalysis$LinearFlowState
? ? ? ? getIn
? ?
? ? ? getDef y(Ljava/lang/String;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/MustBeReachingVariableDef$Definition; ? ? node "Lcom/google/javascript/rhino/Node; ? unknownDependencies Z
? getScope .()Lcom/google/javascript/jscomp/AbstractScope; "com/google/javascript/jscomp/Scope
V isCatchScope
createEntryLattice B()Lcom/google/javascript/jscomp/MustBeReachingVariableDef$MustDef;
createInitialEstimateLattice
flowThrough ?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/MustBeReachingVariableDef$MustDef;)Lcom/google/javascript/jscomp/MustBeReachingVariableDef$MustDef;
createFlowJoiner F()Lcom/google/javascript/jscomp/MustBeReachingVariableDef$MustDefJoin; Signature 3Ljava/util/Set; ELjava/util/Map; (Lcom/google/javascript/jscomp/ControlFlowGraph;Lcom/google/javascript/jscomp/AbstractCompiler;Ljava/util/Set;Ljava/util/Map;)V Code LineNumberTable LocalVariableTable this 8Lcom/google/javascript/jscomp/MustBeReachingVariableDef; cfg /Lcom/google/javascript/jscomp/ControlFlowGraph; LocalVariableTypeTable SLcom/google/javascript/jscomp/ControlFlowGraph; MethodParameters ?(Lcom/google/javascript/jscomp/ControlFlowGraph;Lcom/google/javascript/jscomp/AbstractCompiler;Ljava/util/Set;Ljava/util/Map;)V isForward n input @Lcom/google/javascript/jscomp/MustBeReachingVariableDef$MustDef; output lhs rhs c name obj target cfgNode conditional
StackMapTable otherDef CLcom/google/javascript/jscomp/MustBeReachingVariableDef$Definition; pair Ljava/util/Map$Entry;
definition Ljava/lang/String; rValue def var "Lcom/google/javascript/jscomp/Var; |Ljava/util/Map$Entry; RuntimeVisibleTypeAnnotations #Lorg/jspecify/annotations/Nullable; v dep value useNode .Lcom/google/javascript/jscomp/graph/GraphNode; state ?Lcom/google/javascript/jscomp/DataFlowAnalysis$LinearFlowState; ?Lcom/google/javascript/jscomp/graph/GraphNode; ?Lcom/google/javascript/jscomp/DataFlowAnalysis$LinearFlowState;
getDefNode X(Ljava/lang/String;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node; dependsOnOuterScopeVars F(Lcom/google/javascript/jscomp/MustBeReachingVariableDef$Definition;)Z s 5()Lcom/google/javascript/jscomp/graph/LatticeElement; z(Ljava/lang/Object;Lcom/google/javascript/jscomp/graph/LatticeElement;)Lcom/google/javascript/jscomp/graph/LatticeElement; <()Lcom/google/javascript/jscomp/DataFlowAnalysis$FlowJoiner; ?Lcom/google/javascript/jscomp/DataFlowAnalysis;
SourceFile MustBeReachingVariableDef.java NestMembers InnerClasses MustDef MustDefJoin Entry
Definitionc 3com/google/javascript/jscomp/NodeTraversal$Callback Callbackf Hcom/google/javascript/jscomp/graph/LinkedDirectedGraph$LinkedDiGraphNodeh 6com/google/javascript/jscomp/graph/LinkedDirectedGraph LinkedDiGraphNode LinearFlowStatel 4com/google/javascript/jscomp/ControlFlowGraph$Branch Brancho 8com/google/javascript/jscomp/DataFlowAnalysis$FlowJoiner
FlowJoiner 0 ! " ? *+? *,? *-?
*? ? # 9 :
; <