com.google.javascript.jscomp.Es6ExtractClasses$SelfReferenceRewriter.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 ? .com/google/javascript/jscomp/Es6ExtractClasses Dcom/google/javascript/jscomp/Es6ExtractClasses$SelfReferenceRewriter this$0 0Lcom/google/javascript/jscomp/Es6ExtractClasses;
java/lang/Object ()V java/util/ArrayDeque
classStack Ljava/util/Deque;
com/google/javascript/rhino/Node isClass ()Z
! $com/google/common/base/Preconditions
checkArgument (Z)V
# $ %
getFirstChild $()Lcom/google/javascript/rhino/Node;
' ( isName
* + , needsInnerNameRewriting G(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Z . Ucom/google/javascript/jscomp/Es6ExtractClasses$SelfReferenceRewriter$ClassDescription
0 1 2 getString ()Ljava/lang/String;
- 4
5 }(Lcom/google/javascript/jscomp/Es6ExtractClasses$SelfReferenceRewriter;Lcom/google/javascript/rhino/Node;Ljava/lang/String;)V 7 8 9 : ; java/util/Deque addFirst (Ljava/lang/Object;)V = > ? @ A 0com/google/javascript/jscomp/Es6ExtractClasses$1 ,$SwitchMap$com$google$javascript$rhino$Token [I
C D E getToken %()Lcom/google/javascript/rhino/Token;
G H I J K !com/google/javascript/rhino/Token ordinal ()I 7 M N O removeFirst ()Ljava/lang/Object;
Q R S T % com/google/javascript/rhino/IR empty
V W X srcref F(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
Z [ \ replaceWith %(Lcom/google/javascript/rhino/Node;)V ^ _ ` compiler /Lcom/google/javascript/jscomp/AbstractCompiler;
b c d e \ -com/google/javascript/jscomp/AbstractCompiler reportChangeToEnclosingScope
g h i maybeUpdateClassSelfRef Q(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;)V 7 k l m iterator ()Ljava/util/Iterator; o p q r java/util/Iterator hasNext o t u O next - w x y nameNode "Lcom/google/javascript/rhino/Node;
{ | } matchesQualifiedName %(Lcom/google/javascript/rhino/Node;)Z
? ? ? ? *com/google/javascript/jscomp/NodeTraversal getScope &()Lcom/google/javascript/jscomp/Scope;
? ? ? ? ? "com/google/javascript/jscomp/Scope getVar >(Ljava/lang/String;)Lcom/google/javascript/jscomp/AbstractVar; ? com/google/javascript/jscomp/Var
? ? ? % getNameNode ? ? ?
astFactory )Lcom/google/javascript/jscomp/AstFactory; - ? ? ? outerName Ljava/lang/String;
? ? ? ? ? 'com/google/javascript/jscomp/AstFactory type R(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/AstFactory$Type;
? ? ? ?
createName d(Ljava/lang/String;Lcom/google/javascript/jscomp/AstFactory$Type;)Lcom/google/javascript/rhino/Node; ? $classdecl$var
? ? ? ? ? java/lang/String contains (Ljava/lang/CharSequence;)Z
? ? ?
checkState (ZLjava/lang/Object;)V ? ? ? IS_CONSTANT_NAME 'Lcom/google/javascript/rhino/Node$Prop;
? ? ? putBooleanProp +(Lcom/google/javascript/rhino/Node$Prop;Z)V ? 3com/google/javascript/jscomp/NodeTraversal$Callback Signature jLjava/util/Deque; 3(Lcom/google/javascript/jscomp/Es6ExtractClasses;)V Code LineNumberTable LocalVariableTable this FLcom/google/javascript/jscomp/Es6ExtractClasses$SelfReferenceRewriter; MethodParameters classNode parent
StackMapTable shouldTraverse s(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Z t ,Lcom/google/javascript/jscomp/NodeTraversal; n visit s(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V newNameNode var "Lcom/google/javascript/jscomp/Var; klass WLcom/google/javascript/jscomp/Es6ExtractClasses$SelfReferenceRewriter$ClassDescription;
SourceFile Es6ExtractClasses.java NestHost InnerClasses SelfReferenceRewriter ClassDescription ? ,com/google/javascript/jscomp/AstFactory$Type Type ? %com/google/javascript/rhino/Node$Prop Prop Callback
? ? ?
? ? C *+? *? *? Y? ? ? ?
X c ? ? ? ? + , ? k +? ? +? "? &? ,? &? ? ? ?
f g ? ? ? ? y ? y ? @ ? ? ? ? ? ? ? +,? ? %*,-? )? *? ? -Y*,? "-? /? 3? 6 ? ? l m ) o ? * + ? ? + ? ? + ? y + ? y ? ) ?
? ? ? ? ? ? ? `? <,? B? F.? T K*,-? )? 5*? ? L W,? "? P,? "? U? Y*? ? ],? a? *+,? f? ? ? " t $ v - w 7 x H y V } \ ~ _ ? ? * ` ? ? ` ? ? ` ? y ` ? y ? $1 ?
? ? ? h i ? @ ?*? ? j N-? n ? ?-? s ? -:,? v? x,? v? z? l+? ~,? /? ?? ?:? W? ?? v? J*? ? ?? ?,? ?? ?,? U:? ??? ?? ?? ?? ?? ?,? Y*? ? ]? a???n? ? 6
? ? 3 ? C ? U ? b ? n ? ? ? ? ? ? ? ? ? ? ? ? ? ? > n . ? y C Y ? ? ~ ? ? ? ? ? ? ? ? ? x y ? ?
o? ?? ? ? x ? ? ? ? 2 ? - ? = ? ? ? ? ?@ ? ?
© 2015 - 2024 Weber Informatics LLC | Privacy Policy