
com.google.javascript.jscomp.InlineVariables$InliningBehavior.class Maven / Gradle / Ivy
The newest version!
???? 3m
?- ?.
?/0
/ ?12
/ ?3
?4
?5
67 89
:;
<=>?@A@BC ?D ?EFG
?H
?I
?J
-K
bL
bM
N
OPQ
RST
?U
?V
?W
?X
?YZ[
?\
<]
<^F_F?a
-b
-c
de
bf
?g
bc
bh
bi
djFk
?l
dm
no
?p
?q
?r
?s
?tZuSvSw
x
y
?z
b{
<|
}
6~
? ??? ?
b???
n?
d?
?
b?
??
-?
b?
d?
??
b?
?
b?
b?
b?
-?
?? ?
b??
b?
b?
b?
b?
6?
??
d?
b?
??
6?
?
?
O???
??
-?
b?
b?
b?????
??
??
d?
??
b?
????
?/?
??
b?
??
?
b?
-???
-?
??
b?
????? staleVars Ljava/util/Set; Signature 3Ljava/util/Set; aliasCandidates Ljava/util/Map; AliasCandidate InnerClasses pLjava/util/Map; this$0 .Lcom/google/javascript/jscomp/InlineVariables; 1(Lcom/google/javascript/jscomp/InlineVariables;)V Code LineNumberTable LocalVariableTable this InliningBehavior ?Lcom/google/javascript/jscomp/InlineVariables$InliningBehavior; afterExitScope? ReferenceMap v(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/jscomp/ReferenceCollectingCallback$ReferenceMap;)V t ,Lcom/google/javascript/jscomp/NodeTraversal; referenceMap GLcom/google/javascript/jscomp/ReferenceCollectingCallback$ReferenceMap; collectAliasCandidates init Reference DLcom/google/javascript/jscomp/ReferenceCollectingCallback$Reference; value "Lcom/google/javascript/rhino/Node;
referenceInfo? ReferenceCollection NLcom/google/javascript/jscomp/ReferenceCollectingCallback$ReferenceCollection; v "Lcom/google/javascript/jscomp/Var;
StackMapTable? doInlinesForScope maybeModifiedArguments ZC? maybeEscapedOrModifiedArguments n(Lcom/google/javascript/jscomp/Scope;Lcom/google/javascript/jscomp/ReferenceCollectingCallback$ReferenceMap;)Z refNode refParent ref arguments refs scope $Lcom/google/javascript/jscomp/Scope;a? isLValue %(Lcom/google/javascript/rhino/Node;)Z n parent inlineNonConstants t(Lcom/google/javascript/jscomp/Var;Lcom/google/javascript/jscomp/ReferenceCollectingCallback$ReferenceCollection;Z)V srcLocation reference aliasInit candidate =Lcom/google/javascript/jscomp/InlineVariables$AliasCandidate; nameNode i I Ljava/util/List; refCount declaration firstRefAfterInit LocalVariableTypeTable VLjava/util/List;? blacklistVarReferencesInTree I(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/Scope;)V c root isVarInlineForbidden %(Lcom/google/javascript/jscomp/Var;)Z var inline ?(Lcom/google/javascript/jscomp/Var;Lcom/google/javascript/jscomp/ReferenceCollectingCallback$Reference;Lcom/google/javascript/jscomp/ReferenceCollectingCallback$Reference;Lcom/google/javascript/jscomp/ReferenceCollectingCallback$Reference;)V expressRoot decl isFunctionDeclaration inlineWellDefinedVariable W(Lcom/google/javascript/jscomp/Var;Lcom/google/javascript/rhino/Node;Ljava/util/List;)V refSet ?(Lcom/google/javascript/jscomp/Var;Lcom/google/javascript/rhino/Node;Ljava/util/List;)V inlineDeclaredConstant r removeDeclaration G(Lcom/google/javascript/jscomp/ReferenceCollectingCallback$Reference;)V varNode grandparent inlineValue ?(Lcom/google/javascript/jscomp/Var;Lcom/google/javascript/jscomp/ReferenceCollectingCallback$Reference;Lcom/google/javascript/rhino/Node;)V replaceChildPreserveCast i(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V child replacement typeBeforeCast #Lcom/google/javascript/rhino/TypeI;? isInlineableDeclaredConstant s(Lcom/google/javascript/jscomp/Var;Lcom/google/javascript/jscomp/ReferenceCollectingCallback$ReferenceCollection;)Z refInfo isStringWorthInlining 5(Lcom/google/javascript/jscomp/Var;Ljava/util/List;)Z len
noInlineBytes inlineBytes {(Lcom/google/javascript/jscomp/Var;Ljava/util/List;)Z canInline ?(Lcom/google/javascript/jscomp/ReferenceCollectingCallback$Reference;Lcom/google/javascript/jscomp/ReferenceCollectingCallback$Reference;Lcom/google/javascript/jscomp/ReferenceCollectingCallback$Reference;)Z
convention /Lcom/google/javascript/jscomp/CodingConvention; relationship? SubclassRelationship DLcom/google/javascript/jscomp/CodingConvention$SubclassRelationship; callNode initialization?? canMoveAggressively canMoveModerately ?(Lcom/google/javascript/jscomp/ReferenceCollectingCallback$Reference;Lcom/google/javascript/jscomp/ReferenceCollectingCallback$Reference;)Z it Ljava/util/Iterator; curNode
targetName 8Ljava/util/Iterator; isValidDeclaration G(Lcom/google/javascript/jscomp/ReferenceCollectingCallback$Reference;)Z isValidInitialization isValidReference !isImmutableAndWellDefinedVariable refInit isImmutableValueWorthInlining isInlinableThisAlias startingReadRef refDecl isNeverAssigned? a(Lcom/google/javascript/jscomp/InlineVariables;Lcom/google/javascript/jscomp/InlineVariables$1;)V x0 x1 0Lcom/google/javascript/jscomp/InlineVariables$1;
SourceFile InlineVariables.java ? ? ? ? ?? java/util/HashSet ? ? java/util/HashMap ? ? ? ? ? ????????????????????? com/google/javascript/jscomp/Var??? ????????????????????? ;com/google/javascript/jscomp/InlineVariables$AliasCandidate ????? ? ? ? ? ? ??? ? ???? ? ? ?? Bcom/google/javascript/jscomp/ReferenceCollectingCallback$Reference?? ? ? ? ?
?? ?
? ? ? ? ???
? ??? !"#$?%& ? ?'?(&)* ? ?+,-? ? ?.?/?01 ? ?2?3?0,4?5?6? ? ? ? ?78 com/google/javascript/rhino/Node9:;8<=>1?ABC ?D ?E?FGH?I?J? '' var xx=;KNO?P?Q?RSTU ?VWY[\]?^_ java/lang/IllegalStateException java/lang/StringBuilder !Unexpected initialization parent `ab?c? ?de?f?g ?h?%?i?j? =com/google/javascript/jscomp/InlineVariables$InliningBehavior java/lang/Object Acom/google/javascript/jscomp/ReferenceCollectingCallback$Behavior Behavior Ecom/google/javascript/jscomp/ReferenceCollectingCallback$ReferenceMap Lcom/google/javascript/jscomp/ReferenceCollectingCallback$ReferenceCollection java/util/Iterator java/util/List !com/google/javascript/rhino/TypeI Bcom/google/javascript/jscomp/CodingConvention$SubclassRelationship -com/google/javascript/jscomp/CodingConvention .com/google/javascript/jscomp/InlineVariables$1 ()V ,com/google/javascript/jscomp/InlineVariables
access$300 Mode c(Lcom/google/javascript/jscomp/InlineVariables;)Lcom/google/javascript/jscomp/InlineVariables$Mode; 1com/google/javascript/jscomp/InlineVariables$Mode CONSTANTS_ONLY 3Lcom/google/javascript/jscomp/InlineVariables$Mode; *com/google/javascript/jscomp/NodeTraversal getScope &()Lcom/google/javascript/jscomp/Scope; "com/google/javascript/jscomp/Scope getVarIterable ()Ljava/lang/Iterable; java/lang/Iterable iterator ()Ljava/util/Iterator; hasNext ()Z next ()Ljava/lang/Object;
getReferences r(Lcom/google/javascript/jscomp/Var;)Lcom/google/javascript/jscomp/ReferenceCollectingCallback$ReferenceCollection;
references size ()I
isWellDefined isAssignedOnceInLifetime getInitializingReference F()Lcom/google/javascript/jscomp/ReferenceCollectingCallback$Reference; getAssignedValue $()Lcom/google/javascript/rhino/Node; isName getString ()Ljava/lang/String; getName java/lang/String equals (Ljava/lang/Object;)Z s(Lcom/google/javascript/jscomp/Var;Lcom/google/javascript/jscomp/ReferenceCollectingCallback$ReferenceCollection;)V
java/util/Map put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; $getInitializingReferenceForConstants
java/util/Set add isLocal getArgumentsVar $()Lcom/google/javascript/jscomp/Var; isEmpty 8com/google/javascript/jscomp/ReferenceCollectingCallback getNode getParent %com/google/javascript/jscomp/NodeUtil isGet
getFirstChild isInc isDec isAssignmentOp get (I)Ljava/lang/Object; newUndefinedNode F(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node; $com/google/common/base/Preconditions checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object; contains containsKey
access$400 a(Lcom/google/javascript/jscomp/InlineVariables$AliasCandidate;)Lcom/google/javascript/jscomp/Var;
access$500 ?(Lcom/google/javascript/jscomp/InlineVariables$AliasCandidate;)Lcom/google/javascript/jscomp/ReferenceCollectingCallback$ReferenceCollection; getNext getVar 6(Ljava/lang/String;)Lcom/google/javascript/jscomp/Var; isExtern
access$600 _(Lcom/google/javascript/jscomp/InlineVariables;)Lcom/google/javascript/jscomp/AbstractCompiler; -com/google/javascript/jscomp/AbstractCompiler getCodingConvention 1()Lcom/google/javascript/jscomp/CodingConvention; name Ljava/lang/String;
isExported (Ljava/lang/String;)Z getOriginalQualifiedName isPropertyRenameFunction
checkState (Z)V reportChangeToEnclosingScope %(Lcom/google/javascript/rhino/Node;)V detach getGrandparent isExprResult removeChild G(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V cloneTree getNameNode hasChildren isVar isSimpleAssignmentToName getTypeIBeforeCast %()Lcom/google/javascript/rhino/TypeI; putProp (ILjava/lang/Object;)V getTypeI setTypeI &(Lcom/google/javascript/rhino/TypeI;)V replaceChild
access$700 IdentifyConstants p(Lcom/google/javascript/jscomp/InlineVariables;)Lcom/google/javascript/jscomp/InlineVariables$IdentifyConstants; >com/google/javascript/jscomp/InlineVariables$IdentifyConstants apply isImmutableValue isString
access$800 1(Lcom/google/javascript/jscomp/InlineVariables;)Z isDefine getInitialValue length
getBasicBlockk
BasicBlock G()Lcom/google/javascript/jscomp/ReferenceCollectingCallback$BasicBlock; isGetProp isCall
isFunction getClassesDefinedByCall h(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/CodingConvention$SubclassRelationship; getSingletonGetterClassName 6(Lcom/google/javascript/rhino/Node;)Ljava/lang/String; isLiteralValue &(Lcom/google/javascript/rhino/Node;Z)Zl 9com/google/javascript/jscomp/NodeIterators$LocalVarMotion LocalVarMotion forVar ?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/NodeIterators$LocalVarMotion; isAssign forAssign ?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/NodeIterators$LocalVarMotion; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toStringTree toString (Ljava/lang/String;)V isFor
isDeclaration isInlinableFunction isLvalue isThis isEscaped Ccom/google/javascript/jscomp/ReferenceCollectingCallback$BasicBlock *com/google/javascript/jscomp/NodeIterators ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? R *+? *? *? Y? ? *? Y? ? ? ? ? ? ? ? ? ? ? ? ? S
*+,?
*+,? ? ? ? ? ? ?
? ?
? ?
? ? ? ? ? K ?*? ? ?
? ?+? ? ? N-? ? ?-? ? :,? :? c? ? ? U? ? M? ? E? :? :? 2? ? *? ? ? ? *? ? Y? ? ! W??}? ? 6
?
? . ? 8 ? M ? U ? [ ? b ? i ? x ? ? ? ? ? ? ? ? H b ; ? ? i 4 ? ? 8 e ? ? . o ? ? ? ? ? ? ? ? ? ? ? ? ? ?? ?? ? ? ? g ?*+? ,? ">+? ? ? :? ? {? ? :,? :???*? #? ???*? $? -? %:? :*? ? &*? ? ' W? *? ? ?
? ???*? (???? ? B ? ?
? . ? 8 ? F ? I ? T ? [ ? b ? o ? { ? ? ? ? ? ? ? ? ? ? R [ ? ? b ? ? 8 _ ? ? . i ? ? ? ? ? ? ? ? ? ? ?
? ? ? ? ? ?? 0 ? ?4? ? ? ? ? B |+? )? v+? *N,-? :? c? ? + ? V? ? , :? ? @? ? -:? .:? /:? 0? ? /? 1? *? 2? ????? ? 6
? ? ? ? ' ? I ? P ? W ? c ? o ? u ? w ? z ? ? R P ' ? ? W ? ? I . ? ? n ? ? e ? ? | ? ? | ? ? | ? ? ? ? 3 ? ? ?? A ? ? ?? ? ? ? ? ? (+? 3M,? 4? ,? 5? ,? 6? ,? 1+? ? ? ? ? ?
? ? ? ' ? ? ( ? ? ( ? ? # ? ? ? ? " ?@ ? ? ? ? ?,? ? 6,? ? 7 ? -:,? :? ? 6? H*+,? 8? ??
? :? ? .: ? 9:? :W*+,? ? ;*? +? ' W? ?? ;,? d? 7 ? -:*?