com.google.javascript.jscomp.Es6ExtractClasses.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!
???? 7a
Dcom/google/javascript/jscomp/NodeTraversal$AbstractPostOrderCallback ()V
.com/google/javascript/jscomp/Es6ExtractClasses classDeclVarCounter I compiler /Lcom/google/javascript/jscomp/AbstractCompiler;
-com/google/javascript/jscomp/AbstractCompiler createAstFactory +()Lcom/google/javascript/jscomp/AstFactory;
astFactory )Lcom/google/javascript/jscomp/AstFactory;
!createDefaultExpressionDecomposer 5()Lcom/google/javascript/jscomp/ExpressionDecomposer; ! " expressionDecomposer 3Lcom/google/javascript/jscomp/ExpressionDecomposer;
$ % & ' ( *com/google/javascript/jscomp/NodeTraversal
traverseRoots ?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/jscomp/NodeTraversal$Callback;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V * Dcom/google/javascript/jscomp/Es6ExtractClasses$SelfReferenceRewriter
) , - 3(Lcom/google/javascript/jscomp/Es6ExtractClasses;)V
/ 0 1 2 3 com/google/javascript/rhino/Node isClass ()Z
5 6 7 shouldExtractClass %(Lcom/google/javascript/rhino/Node;)Z
9 : ; extractClass Q(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;)V
/ = > ? getParent $()Lcom/google/javascript/rhino/Node;
/ A B ?
getFirstChild
/ D E 3 isEmpty
G H I J 7 %com/google/javascript/jscomp/NodeUtil isClassDeclaration
/ L M 3 isName
/ O P 3 isAssign
/ R S 3 isQualifiedName
/ U V 3 isExprResult
X Y Z [ \ 1com/google/javascript/jscomp/ExpressionDecomposer canExposeExpression i(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/ExpressionDecomposer$DecompositionType; ^ _ ` a b Ccom/google/javascript/jscomp/ExpressionDecomposer$DecompositionType UNDECOMPOSABLE ELcom/google/javascript/jscomp/ExpressionDecomposer$DecompositionType;
d e f wrapClassDefInsideIIFE G(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V
h i j k l $com/google/common/base/Preconditions
checkState (Z)V
/ n o ? detach
q r s t u 'com/google/javascript/jscomp/AstFactory createReturn F(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
q w x y createBlock G([Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
/ { | u srcref ~
? ? ? ? ? com/google/javascript/rhino/IR name 6(Ljava/lang/String;)Lcom/google/javascript/rhino/Node;
? ? ? y paramList
? ? ? ?
arrowFunction ?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node; ? ? ? ? ? 2com/google/javascript/jscomp/colors/StandardColors UNKNOWN +Lcom/google/javascript/jscomp/colors/Color;
/ ? ? ? setColor O(Lcom/google/javascript/jscomp/colors/Color;)Lcom/google/javascript/rhino/Node;
q ? ? ? createCallWithUnknownType i(Lcom/google/javascript/rhino/Node;[Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
/ ? ? u srcrefTreeIfMissing
/ ? ? ? addChildToBack %(Lcom/google/javascript/rhino/Node;)V
G ? ? u getEnclosingScript ? ? ? ? ? >com/google/javascript/jscomp/parsing/parser/FeatureSet$Feature ARROW_FUNCTIONS @Lcom/google/javascript/jscomp/parsing/parser/FeatureSet$Feature;
G ? ? ? addFeatureToScript ?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/parsing/parser/FeatureSet$Feature;Lcom/google/javascript/jscomp/AbstractCompiler;)V
? ? ? reportChangeToEnclosingScope ^ ? ? b DECOMPOSABLE
X ? ? ? maybeExposeExpression
/ ? ? ? getStaticSourceFile 0()Lcom/google/javascript/rhino/StaticSourceFile; ? ? ? ? ? ,com/google/javascript/rhino/StaticSourceFile getName ()Ljava/lang/String;
? ? ? ? ? -com/google/javascript/jscomp/deps/ModuleNames fileToJsIdentifier &(Ljava/lang/String;)Ljava/lang/String; ? ? ? makeConcatWithConstants '(Ljava/lang/String;I)Ljava/lang/String;
G ? ? ? getBestJSDocInfo K(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/JSDocInfo;
G ? ? u getEnclosingStatement
q ? ? ? type R(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/AstFactory$Type;
q ? ? ? createConstantName d(Ljava/lang/String;Lcom/google/javascript/jscomp/AstFactory$Type;)Lcom/google/javascript/rhino/Node;
/ ? ? ? cloneTree
/ ? ? ? replaceWith
? ? ? ? constNode h(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
$ ? ? ? getCurrentScript ? ? ? ? CONST_DECLARATIONS
? ? ? ? ? -com/google/javascript/rhino/JSDocInfo$Builder
maybeCopyFrom X(Lcom/google/javascript/rhino/JSDocInfo;)Lcom/google/javascript/rhino/JSDocInfo$Builder;
? ? ? ? build )()Lcom/google/javascript/rhino/JSDocInfo;
/ ? ? ? setJSDocInfo K(Lcom/google/javascript/rhino/JSDocInfo;)Lcom/google/javascript/rhino/Node;
/ ? ? ? insertBefore
G ? ? 7 isNameDeclaration
/ ? 3 hasOneChild
/ ? getOnlyChild
? addAtConstructor
/ ? getSecondChild
/ ? getJSDocInfo
? 3 recordConstructor )com/google/javascript/jscomp/CompilerPass CLASS_DECL_VAR Ljava/lang/String;
ConstantValue $classdecl$var 2(Lcom/google/javascript/jscomp/AbstractCompiler;)V Code LineNumberTable LocalVariableTable this 0Lcom/google/javascript/jscomp/Es6ExtractClasses; MethodParameters process externs "Lcom/google/javascript/rhino/Node; root visit s(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V t ,Lcom/google/javascript/jscomp/NodeTraversal; n parent
StackMapTable classNode isAnonymous Z returnBlock arrowFn iife expr info 'Lcom/google/javascript/rhino/JSDocInfo; statement classNameLhs classNameRhs classDeclaration7 java/lang/String9 %com/google/javascript/rhino/JSDocInfo node builder /Lcom/google/javascript/rhino/JSDocInfo$Builder;
SourceFile Es6ExtractClasses.java NestMembersA 0com/google/javascript/jscomp/Es6ExtractClasses$1C Ucom/google/javascript/jscomp/Es6ExtractClasses$SelfReferenceRewriter$ClassDescription BootstrapMethodsF
GHI ?J $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;L $classdecl$var InnerClasses AbstractPostOrderCallbackP 3com/google/javascript/jscomp/NodeTraversal$Callback Callback SelfReferenceRewriter DecompositionTypeU 6com/google/javascript/jscomp/parsing/parser/FeatureSet FeatureX ,com/google/javascript/jscomp/AstFactory$Type Type Builder ClassDescription] %java/lang/invoke/MethodHandles$Lookup_ java/lang/invoke/MethodHandles Lookup 1 ! " g *? *? *+?
*+? ? *+? ? ? E C F G H I f b *?
*+,? #*?
? )Y*? ++,? #? M
N O ! ! "# o ,? .? *,? 4? *+,? 8? S T V * $% & ' (
$ &