com.google.javascript.jscomp.RemoveUnusedCode$Assign.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!
???? 7 ? 4com/google/javascript/jscomp/RemoveUnusedCode$Assign this$0 /Lcom/google/javascript/jscomp/RemoveUnusedCode;
com/google/javascript/rhino/Node
getFirstChild $()Lcom/google/javascript/rhino/Node;
7com/google/javascript/jscomp/RemoveUnusedCode$Removable ?(Lcom/google/javascript/jscomp/RemoveUnusedCode;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/RemoveUnusedCode$RemovableBuilder;)V
%com/google/javascript/jscomp/NodeUtil isAssignmentOp %(Lcom/google/javascript/rhino/Node;)Z
$com/google/common/base/Preconditions
checkArgument (ZLjava/lang/Object;)V ! " # $ 2com/google/javascript/jscomp/RemoveUnusedCode$Kind VARIABLE 4Lcom/google/javascript/jscomp/RemoveUnusedCode$Kind; & 4got property node for simple variable assignment: %s
( ) ((ZLjava/lang/String;Ljava/lang/Object;)V + +missing VarInfo for variable assignment: %s - missing property node / 0 $ NAMED_PROPERTY
2 3 4 isGetProp ()Z 6 "property name is not a GETPROP: %s 8 9 :
assignNode "Lcom/google/javascript/rhino/Node; < = $ kind ? @ A varInfo 7Lcom/google/javascript/jscomp/RemoveUnusedCode$VarInfo;
C D getLocalAssignedValue
F G isExpressionResultUsed
I J getLastChild
L M N O P -com/google/javascript/jscomp/RemoveUnusedCode "maybeUnwrapQnameOrDefaultValueNode h(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
R S evaluatesToLocalValue
U V 4 isNamedPropertyAssignment
X Y 4 isComputedPropertyAssignment [ \ $ COMPUTED_PROPERTY ^ _ ` a 4 5com/google/javascript/jscomp/RemoveUnusedCode$VarInfo hasFunctionOrClassLiteralValue c d :
targetNode
f g 4 isName
L i j alreadyRemoved
l m getParent
o p q r s -com/google/javascript/jscomp/AbstractCompiler reportChangeToEnclosingScope %(Lcom/google/javascript/rhino/Node;)V
u v getSecondChild
L x y mayHaveSideEffects
{ | 4 isGetElem
~ detach
? ? ? ? P com/google/javascript/rhino/IR comma
? ? ? srcref F(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
L ? ? ? replaceNodeWith G(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V
L ? ? s removeExpressionCompletely ? ? ? makeConcatWithConstants 6(Lcom/google/javascript/rhino/Node;)Ljava/lang/String; RuntimeVisibleTypeAnnotations #Lorg/jspecify/annotations/Nullable;!(Lcom/google/javascript/jscomp/RemoveUnusedCode;Lcom/google/javascript/jscomp/RemoveUnusedCode$RemovableBuilder;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/RemoveUnusedCode$Kind;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/RemoveUnusedCode$VarInfo;)V Code LineNumberTable LocalVariableTable this 6Lcom/google/javascript/jscomp/RemoveUnusedCode$Assign; builder @Lcom/google/javascript/jscomp/RemoveUnusedCode$RemovableBuilder; propertyNode
StackMapTable ? >com/google/javascript/jscomp/RemoveUnusedCode$RemovableBuilder MethodParameters isVariableAssignment isAssignedValueLocal valueNode 5preventsRemovalOfVariableWithNonLocalValueOrPrototype isStaticProperty removeInternal 2(Lcom/google/javascript/jscomp/AbstractCompiler;)V replacement compiler /Lcom/google/javascript/jscomp/AbstractCompiler; parent lhs rhs mustPreserveRhs Z mustPreserveGetElmExpr toString ()Ljava/lang/String;
SourceFile RemoveUnusedCode.java NestHost BootstrapMethods ?
? ? ? ? ? $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; ? Assign: InnerClasses Assign Removable RemovableBuilder Kind VarInfo ? %java/lang/invoke/MethodHandles$Lookup ? java/lang/invoke/MethodHandles Lookup 9 : = $ @ A ? ?
? ? ; y*+? *+-? ,?
-? -? ? ? (? ? %? '? ? *? '? &? ? ,? ? .? ? 15? '*-? 7*? ;*? >? ? >
I
J
K
L
M 0
Q D
S S
T [
U ]
V d
U g
Y l
Z r
[ x
\ ? > y ? ? y ? ? y 9 : y = $ y ? : y @ A ? ( ? ( L ? ^ @@ @ ? ? 9 = ? @ ? ? ? ? 4 ? E *? ;? ? ? ? ?
a ? ? ? ? @ ? 4 ? B
*? B? ? ? ?
f ?
? ? ? @ D ? ? )*? 7? E? ?*? 7? *? 7? H? KL+? Q? +?? ? "
k
m
p
r
q
s %
t '
v ? ? : ) ? ? ? ? ? ? ? 4 ? J *? T?
*? W? ? ? ?
? ? ? ? @ V 4 ? E *? ;? .? ? ? ?
? ? ? ? ? @ Y 4 ? E *? ;? Z? ? ? ?
? ? ? ? ? @ ? 4 ? i **? ;? .? !*? >? *? >? ] ? *? b? ? e?? ?
?
?
? (
? ? * ? ? ? ( ? ? ? ? ?*? 7? h? ?*? 7? kM+,? n*? 7? N*? 7? t:*? ? w?
*? 7? E? ? 6-? z? *? -? H? w? ? 6? 0? +-? H? }? }? ?*? 7? ?:*? *? 7? ?? @? *? *? 7-? H? }? ?? &? *? *? 7? }? ?? *? *? 7? ?? ? J
?
?
?
?
?
? )
? /
? F
? b
? l
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ? R ?
? : ? ? ? ? ? ? ? ? : ? ? : ) ? ? : F ? ? ? b p ? ? ?
? 3 @? @? 3
? ? ? ? ? 4
*? 7? ? ? ?
? ?
? ? ? ? ? L ? ? ? ? 2 L ? L ? ? L ? L ?@ ^ L ?
? ? ?
© 2015 - 2024 Weber Informatics LLC | Privacy Policy