org.mozilla.javascript.NodeTransformer.class Maven / Gradle / Ivy
The newest version!
???? 1i
W ?
V ?
? ?
? ?
V ? ?
? V ? V ? V ?
? ? ?
?
? ?
V ?
?
?
? ? ? ?
?
?
? ? ? ? ? ? ? ? ?
?
V ?
? ? ?
? ?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
V ?
?
?
V ?
V ?
V ?
?
?
?
?
?
?
?
?
? ?
?
? ?
D ?
?
D G ?
D
D
loops !Lorg/mozilla/javascript/ObjArray; loopEnds
hasFinally Z ()V Code LineNumberTable LocalVariableTable this (Lorg/mozilla/javascript/NodeTransformer; transform *(Lorg/mozilla/javascript/ScriptOrFnNode;)V fn %Lorg/mozilla/javascript/FunctionNode; i I tree 'Lorg/mozilla/javascript/ScriptOrFnNode; transformCompilationUnit createScopeObjects transformCompilationUnit_r Scope InnerClasses k(Lorg/mozilla/javascript/ScriptOrFnNode;Lorg/mozilla/javascript/Node;Lorg/mozilla/javascript/Node$Scope;Z)V name Ljava/lang/String; i$ Ljava/util/Iterator; let Lorg/mozilla/javascript/Node; innerLet oldNode newScope #Lorg/mozilla/javascript/Node$Scope; leave jump Jump "Lorg/mozilla/javascript/Node$Jump;
finallytarget jsrnode jsrtarget unwind n elemtype store
returnNode
returnExpr isGenerator unwindBlock tryNode
jsrFinally
jumpStatement
createWith child init pop cursor result defining first last
nameSource previous type parent scope node visitNew G(Lorg/mozilla/javascript/Node;Lorg/mozilla/javascript/ScriptOrFnNode;)V visitCall visitLet w(ZLorg/mozilla/javascript/Node;Lorg/mozilla/javascript/Node;Lorg/mozilla/javascript/Node;)Lorg/mozilla/javascript/Node; destructuringNames Ljava/util/List; c current v list Ljava/util/ArrayList;
objectLiteral newVars
stringNode scopeNode vars body isExpression LocalVariableTypeTable Ljava/util/List<*>; )Ljava/util/ArrayList; addBeforeCurrent ?(Lorg/mozilla/javascript/Node;Lorg/mozilla/javascript/Node;Lorg/mozilla/javascript/Node;Lorg/mozilla/javascript/Node;)Lorg/mozilla/javascript/Node; toAdd replaceCurrent replacement
SourceFile NodeTransformer.java ] ^ l e d e org/mozilla/javascript/ObjArray X Y Z Y [ \ #org/mozilla/javascript/FunctionNode n q !org/mozilla/javascript/Node$Scope org/mozilla/javascript/Node ] !"#$%&'()*+, java/lang/String-. ? ?/0 org/mozilla/javascript/Node$Jump1 w234567, ?,8" ?9:;<=> ]: ]?@"AB ? ?CD ? ? ? ? ? ?EF" ]G ]HIJKLMNO undefinedPQRS java/util/ArrayListT= java/util/ListUVWXYZ[\Q]^_`ab-cd"efgf+ whf &org/mozilla/javascript/NodeTransformer java/lang/Object %org/mozilla/javascript/ScriptOrFnNode getFunctionCount ()I getFunctionNode ((I)Lorg/mozilla/javascript/FunctionNode; getType requiresActivation ()Z flattenSymbolTable (Z)V
getFirstChild ()Lorg/mozilla/javascript/Node; getNext symbolTable Ljava/util/LinkedHashMap; (I)V addChildToBack (Lorg/mozilla/javascript/Node;)V java/util/LinkedHashMap keySet ()Ljava/util/Set;
java/util/Set iterator ()Ljava/util/Iterator; java/util/Iterator hasNext next ()Ljava/lang/Object; newString 2(ILjava/lang/String;)Lorg/mozilla/javascript/Node; push (Ljava/lang/Object;)V target org/mozilla/javascript/Kit codeBug ()Ljava/lang/RuntimeException;
getFinally isEmpty peek addResumptionPoint
putIntProp (II)V size get (I)Ljava/lang/Object; getLineno !(ILorg/mozilla/javascript/Node;)V addChildToFront getJumpStatement $()Lorg/mozilla/javascript/Node$Jump; getContinue setType hasChildren removeChild >(ILorg/mozilla/javascript/Node;Lorg/mozilla/javascript/Node;)V "(ILorg/mozilla/javascript/Node;I)V getString ()Ljava/lang/String; getDefiningScope 7(Ljava/lang/String;)Lorg/mozilla/javascript/Node$Scope; setScope &(Lorg/mozilla/javascript/Node$Scope;)V getLastChild equals (Ljava/lang/Object;)Z getScope %()Lorg/mozilla/javascript/Node$Scope; getProp addAll (Ljava/util/Collection;)Z newNumber (D)Lorg/mozilla/javascript/Node; $org/mozilla/javascript/ScriptRuntime getIndexObject &(Ljava/lang/String;)Ljava/lang/Object; add toArray ()[Ljava/lang/Object; putProp (ILjava/lang/Object;)V
joinScopes I(Lorg/mozilla/javascript/Node$Scope;Lorg/mozilla/javascript/Node$Scope;)V 1(Ljava/lang/String;)Lorg/mozilla/javascript/Node; addChildrenToBack
addChildAfter =(Lorg/mozilla/javascript/Node;Lorg/mozilla/javascript/Node;)V replaceChild replaceChildAfter ! V W X Y Z Y [ \ ] ^ _ 3 *? ? `
; <