com.google.javascript.jscomp.SynthesizeExplicitConstructors.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 ?
java/lang/Object ()V
;com/google/javascript/jscomp/SynthesizeExplicitConstructors compiler /Lcom/google/javascript/jscomp/AbstractCompiler;
-com/google/javascript/jscomp/AbstractCompiler createAstFactory +()Lcom/google/javascript/jscomp/AstFactory;
astFactory )Lcom/google/javascript/jscomp/AstFactory;
com/google/javascript/rhino/Node isClass ()Z
! " $com/google/common/base/Preconditions
checkArgument (Z)V
$ % & ' ( %com/google/javascript/jscomp/NodeUtil 'getEs6ClassConstructorMemberFunctionDef F(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
* + , addSyntheticConstructor Q(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;)V
. / 0 getSecondChild $()Lcom/google/javascript/rhino/Node;
2 3 0 getLastChild
5 6 isEmpty
8 9 : ; < 'com/google/javascript/jscomp/AstFactory type R(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/AstFactory$Type;
8 > ? @ createEmptyFunction R(Lcom/google/javascript/jscomp/AstFactory$Type;)Lcom/google/javascript/rhino/Node;
B C D reportChangeToChangeScope %(Lcom/google/javascript/rhino/Node;)V F constructor
8 H I J createMemberFunctionDef X(Ljava/lang/String;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
L M isQualifiedName O eExpected Es6RewriteClassExtendsExpressions to make all extends clauses into qualified names, found %s
Q R S
checkState ((ZLjava/lang/String;Ljava/lang/Object;)V
U V W X 0 com/google/javascript/rhino/IR block
Z [
isFromExterns
] ^ _ isInterface %(Lcom/google/javascript/rhino/Node;)Z
8 a b @ createSuper
8 d e 0 createArgumentsReference
U g h (
iterSpread
8 j k l createConstructorCall ?(Lcom/google/javascript/jscomp/AstFactory$Type;Lcom/google/javascript/rhino/Node;[Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
U n o (
exprResult
q r D addChildToFront
t u v w 0 *com/google/javascript/jscomp/NodeTraversal getCurrentScript y z { | } >com/google/javascript/jscomp/parsing/parser/FeatureSet$Feature SUPER @Lcom/google/javascript/jscomp/parsing/parser/FeatureSet$Feature;
$ ? ? addFeatureToScript ?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/parsing/parser/FeatureSet$Feature;Lcom/google/javascript/jscomp/AbstractCompiler;)V y ? ? } SPREAD_EXPRESSIONS ?
U ? ? ? paramList G([Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
8 ? ? ? createFunction ?(Ljava/lang/String;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/AstFactory$Type;)Lcom/google/javascript/rhino/Node;
? ? ( srcrefTreeIfMissing
? ? makeNonIndexableRecursive y ? ? } MEMBER_DECLARATIONS
? ? 0 getOnlyChild
? ? D reportChangeToEnclosingScope
$ ? ? ? getBestJSDocInfo K(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/JSDocInfo;
? ? ? ^ %com/google/javascript/rhino/JSDocInfo 2(Lcom/google/javascript/jscomp/AbstractCompiler;)V Code LineNumberTable LocalVariableTable this =Lcom/google/javascript/jscomp/SynthesizeExplicitConstructors; MethodParameters #synthesizeClassConstructorIfMissing t ,Lcom/google/javascript/jscomp/NodeTraversal; classNode "Lcom/google/javascript/rhino/Node;
StackMapTable function memberDef body
superClass classMembers classJsDocInfo 'Lcom/google/javascript/rhino/JSDocInfo;
SourceFile #SynthesizeExplicitConstructors.java RuntimeVisibleAnnotations 4Lcom/google/errorprone/annotations/CheckReturnValue; InnerClasses ? ,com/google/javascript/jscomp/AstFactory$Type Type ? 6com/google/javascript/jscomp/parsing/parser/FeatureSet Feature 0 ? ? R *? *+? *+?
? ? ? " # $ % ? ? ? ? ? , ? h ,? ? ,? #? *+,? )? ? ) * + - ? ? ? ? ? ? ? ? ? ? ? + , ? 4 ,? -N,? 1:-? 4? )*? ,? 7? =:*? ? A*? E? G:? ?-? KN-? P? T:,? Y? Z*,? \? R*? ,? 7*? -? 7? `? Y*? ? c? fS? i? m:? p+? s? x*? ? ~+? s? ?*? ? ~*? ?? ? ?,? 7? ?:*? E? G:,? ?W? ?? p+? s? ?*? ? ~*? ? ?? A*? ? ?? ? z 0 1 3 4 5 ( 6 5 7 8 8 9 9 ? 8 B = G C V G [ J c K s L z I } H ? M ? N ? O ? Q ? R ? T ? U ? V ? W ? Y ? [ \ ? p ? ? 5 ? ? ? # o ? G ? ? ? ?
F ? ? ? ? ? ? ? ? ? ? ? ? ? ? 7 ? ? ? + ? 8 ? l ? $ t ? ? ? ^ _ ? h +? ?M,? ,? ?? ? ? ?
_ ` ? ? ? ? ? ? ? ?
? ?@ ? ? ? ? ? ? ? ? 8 ? y ? ?@
© 2015 - 2024 Weber Informatics LLC | Privacy Policy