com.google.javascript.jscomp.CheckSuper$ConstructorContext.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 z
/com/google/javascript/jscomp/CheckSuper$Context %(Lcom/google/javascript/rhino/Node;)V
:com/google/javascript/jscomp/CheckSuper$ConstructorContext firstSuperCall "Lcom/google/javascript/rhino/Node;
returnsAValue Z thisAccessedBeforeSuper $superPropertyAccessedBeforeSuperCall
%com/google/javascript/jscomp/NodeUtil isEs6Constructor %(Lcom/google/javascript/rhino/Node;)Z
! " $com/google/common/base/Preconditions
checkArgument (ZLjava/lang/Object;)V
$ % & getEnclosingClass F(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
( ) * + , com/google/javascript/rhino/Node getSecondChild $()Lcom/google/javascript/rhino/Node;
( . / 0 isEmpty ()Z 2 3 hasParentClass 5 ?com/google/javascript/jscomp/CheckSuper$ConstructorArrowContext
4 7 8 a(Lcom/google/javascript/jscomp/CheckSuper$ConstructorContext;Lcom/google/javascript/rhino/Node;)V
( : ; 0 hasChildren = > ? @ A 'com/google/javascript/jscomp/CheckSuper INVALID_SUPER_CALL -Lcom/google/javascript/jscomp/DiagnosticType; C java/lang/String
E F G H I *com/google/javascript/jscomp/NodeTraversal report e(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/DiagnosticType;[Ljava/lang/String;)V
K L , getContextNode
( N O , getParent = Q R A MISSING_CALL_TO_SUPER = T U A THIS_BEFORE_SUPER = W X A %SUPER_ACCESS_BEFORE_SUPER_CONSTRUCTOR RuntimeVisibleTypeAnnotations #Lorg/jspecify/annotations/Nullable; Code LineNumberTable LocalVariableTable this