All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.javascript.jscomp.CheckSuper.class Maven / Gradle / Ivy

Go to download

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()Vjava/util/ArrayDeque
	
'com/google/javascript/jscomp/CheckSupercontextStackLjava/util/ArrayDeque;	compiler/Lcom/google/javascript/jscomp/AbstractCompiler;
*com/google/javascript/jscomp/NodeTraversaltraverse?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/NodeTraversal$Callback;)V
isEmpty()Z
 !"#'com/google/common/collect/ImmutableListof=(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList;
%&'()$com/google/common/base/Preconditions
checkState(ZLjava/lang/Object;)V	+,-./)com/google/javascript/jscomp/CheckSuper$1,$SwitchMap$com$google$javascript$rhino$Token[I
12345 com/google/javascript/rhino/NodegetToken%()Lcom/google/javascript/rhino/Token;
789:;!com/google/javascript/rhino/Tokenordinal()I
%=(>(Z)V@>com/google/javascript/jscomp/CheckSuper$SuperNotAllowedContext
?BC%(Lcom/google/javascript/rhino/Node;)V
EFGpush(Ljava/lang/Object;)V
IJKpeek()Ljava/lang/Object;M/com/google/javascript/jscomp/CheckSuper$Context
OPQgetContextForFunctionNode?(Lcom/google/javascript/jscomp/CheckSuper$Context;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/CheckSuper$Context;
STUcreateMemberFieldDefContextU(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/CheckSuper$Context;
WXYZ[%com/google/javascript/jscomp/NodeUtilisClassStaticBlock%(Lcom/google/javascript/rhino/Node;)Z
]^UcreateStaticBlockContext
W`a[isMethodDeclaration
Wcd[isEs6Constructorf:com/google/javascript/jscomp/CheckSuper$ConstructorContext
eBi5com/google/javascript/jscomp/CheckSuper$MethodContext
hB
1lmisArrowFunction
LopUgetContextForArrowFunctionNode
%rstcheckNotNull&(Ljava/lang/Object;)Ljava/lang/Object;
vw[isSuperConstructorCall
yz[isSuperPropertyAccess
L|}~visitSuperPropertyAccessQ(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;)V	???INVALID_SUPER_USAGE-Lcom/google/javascript/jscomp/DiagnosticType;?java/lang/String
???reporte(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/DiagnosticType;[Ljava/lang/String;)V
1???
getFirstChild$()Lcom/google/javascript/rhino/Node;
1??isSuper
L??~visitSuperConstructorCall
L??~	visitThis
L??~visitReturn
??;size
L???getContextNode
L???visitContextNode/(Lcom/google/javascript/jscomp/NodeTraversal;)V
??Kpop
1???	getParent
1??isCall
1??[isFirstChildOf
W??[isNormalGet?Icom/google/javascript/jscomp/CheckSuper$SuperPropertyAccessAllowedContext
?B?JSC_MISSING_CALL_TO_SUPER?(constructor is missing a call to super()
?????+com/google/javascript/jscomp/DiagnosticTypeerrorS(Ljava/lang/String;Ljava/lang/String;)Lcom/google/javascript/jscomp/DiagnosticType;	???MISSING_CALL_TO_SUPER?JSC_THIS_BEFORE_SUPER?)cannot access this before calling super()	???THIS_BEFORE_SUPER?)JSC_SUPER_ACCESS_BEFORE_SUPER_CONSTRUCTOR?5cannot access super properties before calling super()	???%SUPER_ACCESS_BEFORE_SUPER_CONSTRUCTOR?JSC_INVALID_SUPER_CALL?;super() not allowed except in the constructor of a subclass	???INVALID_SUPER_CALL?JSC_SUPER_CALL_IN_ARROW?Eclosure-compiler does not allow calls to `super()` in arrow functions	???SUPER_CALL_IN_ARROW?JSC_INVALID_SUPER_USAGE?7''super'' may only be used in a call or property access?JSC_INVALID_SUPER_ACCESS?.''super'' may only be accessed within a method	???INVALID_SUPER_ACCESS?&JSC_INVALID_SUPER_CALL_WITH_SUGGESTION?1super() not allowed here. Did you mean super.{0}?	???"INVALID_SUPER_CALL_WITH_SUGGESTION?)com/google/javascript/jscomp/CompilerPass?3com/google/javascript/jscomp/NodeTraversal$Callback	SignatureILjava/util/ArrayDeque;2(Lcom/google/javascript/jscomp/AbstractCompiler;)VCodeLineNumberTableLocalVariableTablethis)Lcom/google/javascript/jscomp/CheckSuper;MethodParametersprocessG(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Vexterns"Lcom/google/javascript/rhino/Node;rootshouldTraverses(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)ZcurrentContext1Lcom/google/javascript/jscomp/CheckSuper$Context;
newContextfieldContextt,Lcom/google/javascript/jscomp/NodeTraversal;nparent
StackMapTablefnvisits(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Vcallee	superNode	fieldNodestaticBlock
SourceFileCheckSuper.javaNestMembers?com/google/javascript/jscomp/CheckSuper$ConstructorArrowContextInnerClassesCallbackSuperNotAllowedContextContextConstructorContext
MethodContext!SuperPropertyAccessAllowedContextConstructorArrowContext0??
??????????????????
??U*?*?Y?	?
*+???T_UV???????a*?,*?*?
?*?
??$??[	\]? ????	??]??*,?0?6.??!=ex?*?
??<*?
??Y,?A?D?X*?
?H?L:*,?N:?*?
?D?0*,?R:*?
?D?,?V?*,?\:*?
?D???Fc,e6fEgHkTl]mdnmqpswt?u?w?x?y?z???RT]w?	????	?
?,$?

PQ??8,?_?,?b??eY,?g??hY,?j?,?k?+,?n???Y,?A??"???? ?'?/?7?? 8??88
	GL?	
???*?
?H?L?q?L:?*,?0?6.??	?????3_x?*,?u??g*,?x?
+,?{?U+,??????F,??:???8+???-+,???#+,???*?
??????????	?
???PL
		@?

w[?x"+??+?$+??M,???+,????????
?? "??"

? 1@?z[?x"+??+?$+??M,???+,????????
?? "??"

? 1@?TU?=	??Y+?????	??	?^U?=	??Y+?????	??	???Q???????ĸ????˸????Ҹ????ٸ???????????????????F*+
-.015"6(@,A2E6F<I@JFMJNPM+eh??LB?	+?
L
e
h
? 
!




© 2015 - 2024 Weber Informatics LLC | Privacy Policy