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

com.google.javascript.jscomp.CheckJSDoc.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!
????7F
Dcom/google/javascript/jscomp/NodeTraversal$AbstractPostOrderCallback()V7com/google/javascript/jscomp/CheckJSDoc$CheckJsdocTypes
	
'com/google/javascript/jscomp/CheckJSDoccheckJsDocTypesVisitor9Lcom/google/javascript/jscomp/CheckJSDoc$CheckJsdocTypes;	compiler/Lcom/google/javascript/jscomp/AbstractCompiler;		inExternsZ
*com/google/javascript/jscomp/NodeTraversaltraverse?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/NodeTraversal$Callback;)V
 !"#-com/google/javascript/jscomp/AbstractCompiler
getOptions0()Lcom/google/javascript/jscomp/CompilerOptions;
%&'(),com/google/javascript/jscomp/CompilerOptionspreservesDetailedSourceInfo()Z
+,-getComments$(Ljava/lang/String;)Ljava/util/List;/0123java/util/Listiterator()Ljava/util/Iterator;5678)java/util/IteratorhasNext5:;<next()Ljava/lang/Object;>9com/google/javascript/jscomp/parsing/parser/trees/Comment	=@ABtype@Lcom/google/javascript/jscomp/parsing/parser/trees/Comment$Type;	DEFGB>com/google/javascript/jscomp/parsing/parser/trees/Comment$TypeBLOCK	IJKCOMMENT_PATTERNLjava/util/regex/Pattern;	=MNOvalueLjava/lang/String;
QRSTUjava/util/regex/Patternmatcher3(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
WXYZ)java/util/regex/Matcherfind	=\]^location>Lcom/google/javascript/jscomp/parsing/parser/util/SourceRange;	`abcd?@getBestJSDocInfoK(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/JSDocInfo;	BCqARROW_FUNCTION_AS_CONSTRUCTOR
EF)isRest
?HI?getType
?KLMgetParameterTypeB(Ljava/lang/String;)Lcom/google/javascript/rhino/JSTypeExpression;
OPQgetIndexOfChild%(Lcom/google/javascript/rhino/Node;)I
?ST?getParameterCount
?VWXgetParameterNameAt(I)Ljava/lang/String;
Z[\]?,com/google/javascript/rhino/JSTypeExpressiongetRoot	?_`a	ITER_REST#Lcom/google/javascript/rhino/Token;	cdqBAD_REST_PARAMETER_ANNOTATION
fg)isDefaultValue	?ijaEQUALS	lmq%DEFAULT_PARAM_MUST_BE_MARKED_OPTIONAL
?op)!hasSideEffectsArgumentsAnnotation
?rs)modifiesThis	uvqINVALID_MODIFIES_ANNOTATION
xy)isLet	{|qINVALID_DEFINE_ON_LET
?~)isImplicitCast	????q&com/google/javascript/jscomp/TypeCheckILLEGAL_IMPLICIT_CAST
???)hasClosurePrimitiveId?closurePrimitive?must be on a function node
??)isReturn
???)containsDeclaration	??qJSDOC_ON_RETURN
???F
getTsTypes?tsType
???getStaticSourceFile0()Lcom/google/javascript/rhino/StaticSourceFile;????),com/google/javascript/rhino/StaticSourceFileisTypeScriptSource
????getTypeNodes()Ljava/util/Collection;?0?java/util/Collection
!???
visitPreOrderT(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/NodeUtil$Visitor;)V?JSC_MISPLACED_MSG_ANNOTATION??Misplaced message annotation. @desc, @meaning, and @alternateMessageId annotations should be only on message nodes.
Message constants must be prefixed with 'MSG_'.
?????+com/google/javascript/jscomp/DiagnosticTypedisabledS(Ljava/lang/String;Ljava/lang/String;)Lcom/google/javascript/jscomp/DiagnosticType;?JSC_MISPLACED_ANNOTATION?Misplaced {0} annotation. {1}
????warning?JSC_ANNOTATION_DEPRECATED?%The {0} annotation is deprecated. {1}	??qANNOTATION_DEPRECATED?JSC_DISALLOWED_MEMBER_JSDOC?PClass level JSDocs (@interface, @extends, etc.) are not allowed on class members?!JSC_ARROW_FUNCTION_AS_CONSTRUCTOR?.Arrow functions cannot be used as constructors
????error?!JSC_BAD_REST_PARAMETER_ANNOTATION?4Missing "..." in type annotation for rest parameter.?)JSC_DEFAULT_PARAM_MUST_BE_MARKED_OPTIONAL?=Inline JSDoc on default parameters must be marked as optional?%JSC_INVALID_NO_SIDE_EFFECT_ANNOTATION?0@nosideeffects may only appear in externs files.	??q!INVALID_NO_SIDE_EFFECT_ANNOTATION?JSC_INVALID_MODIFIES_ANNOTATION?+@modifies may only appear in externs files.?JSC_INVALID_DEFINE_ON_LET?Svariables annotated with @define may only be declared with VARs, ASSIGNs, or CONSTs?JSC_MISPLACED_SUPPRESS?p@suppress annotation not allowed here. See https://github.com/google/closure-compiler/wiki/@suppress-annotations?JSC_JSDOC_IN_BLOCK_COMMENT?GNon-JSDoc comment has annotations. Did you mean to start it with '/**'??JSC_JSDOC_ON_RETURN?.JSDoc annotations are not supported on return.?#(/|(
[ 	]*))\*[ 	]*@[a-zA-Z]+[ 	
{]
Q???compile-(Ljava/lang/String;)Ljava/util/regex/Pattern;?)com/google/javascript/jscomp/CompilerPass2(Lcom/google/javascript/jscomp/AbstractCompiler;)VCodeLineNumberTableLocalVariableTablethis)Lcom/google/javascript/jscomp/CheckJSDoc;MethodParametersprocessG(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Vexterns"Lcom/google/javascript/rhino/Node;rootcomment;Lcom/google/javascript/jscomp/parsing/parser/trees/Comment;fileName
StackMapTablevisits(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Vt,Lcom/google/javascript/jscomp/NodeTraversal;nparentinfo'Lcom/google/javascript/rhino/JSDocInfo;jsdocallowedSuppressionsuppressionsLjava/util/Set;LocalVariableTypeTable#Ljava/util/Set;lvalueRuntimeVisibleTypeAnnotations#Lorg/jspecify/annotations/Nullable;receiverfunctionNodeisGoogDefineClassConstructorrootOfQnameassigneelhsrhsdescOkayhasNonDescMsgTagnameNodevalid
rootTargetannotationNamenote	arguments[Ljava/lang/String;paramTypeAnnotation.Lcom/google/javascript/rhino/JSTypeExpression;	paramNameindexOfRest	restParam	paramList
inlineInfofunctionInfo
targetNodetypeExprtypeNode
SourceFileCheckJSDoc.javaNestMembersInnerClassesAbstractPostOrderCallbackCheckJsdocTypes@3com/google/javascript/jscomp/NodeTraversal$CallbackCallbackTypeD-com/google/javascript/jscomp/NodeUtil$VisitorVisitor0?
q?q?q?qCqdqmq?qvq|qqpq?qJK&??U*?*?Y?	?
*+???fgh??k*?*?+*?*?*?,*???lmnop? 	????u*???$??*?+?*?.M,?4?R,?9?=N-???C?;?H-?L?P?V?+*?+-?[?_?e`-?[?_?k?n?r?t?z?????*
w
y|/}9~Ik?nq?t?? /B	uu
O?
5?T?

?G?,?~?*,????,??:*,??*,??*,??*,??*,??*,??*,??*,??*,??*,??*,??*,??*,??*,??*,??*,??*,??*,??*?DZ?^?????#?*?1?8?=?B?G?N?U?\?c?j?q?x?????????4????
???:?,?,?˹?????+?ܶ?.?iHHHHHHHHHHHIT_?+????+?????,????,?????+??????*?+???r??z??B???d?e?o?p?z?{???????????????? ???
	?R

		
	
????#*??M,??,??r+?
???????"?? ##O
?!?@	????g,?
,???*+??*+??+? ?
+?%?
+?(?+N-?+?*-?.?*+1??-?3?*+6???.????? ?7?F?T?[?f??*ggg70
@?	0??1+?8?++????!+?;?8?+?;?>A?
????????0??11/@????7,?5,?C?G?+,?J?$*+??,?M?+?P?*+TV???"???%+6	? 7776	
RS?*?*??*?*?X?*?(?*? ?*?[?*?[??*?[?*?%?*?(?+?*???*??*?8?#*?;?*?;?^?*?(??*?(?*?c?
*?f?*?(?*?i?*???*????R	$-2MR Z!a"k#t$y'?(?+?,?/??
	&
??:*+?l?/+?%?*+??l?+? ?*+?(?o?*+?o????3	45.693?::@q?b#+? +?r?+?u?*+?(?????:?##!@n?d$+?x?+?z?*??}+??????>?$$@
5??+*?8??*????*??L+???
+??????BC	EFHI?+
	?@???n,?+?X?,???*+???r????PQS? 	?????,?
,????*+???+???j+?(???
,???*+???rY?SY?S???=+?????+?;???+???;??*+???rY?SY?S????+?PN-?*+???rY?SY?S???,???&-???u?*+???rY?SY?S???+????"+?X?
+?8??+?>?
??6+????*+???rY?SY?S???,???F+?X??+?8?8+?i?1+?c?*+?f?#-?Ú*+???rY?SY?S???+?ƙ*+???rY?SY?S??????(VWYZ^_-`HeSf]gih?m?o?s?t?u?z?}??????????????? ?(?/?6?=?D?K?Q?i?j?q??????4?????? ?!)@?
?I	
???h"*?J?*?˚*?Κ
*?љ???????!??"@???
r,?
,?Ԛ?+?י*+?ܶ?+???ޚ+????+?ƚ*+??+?%?(+?(N-?+?-??:?r?*+????>??????*?:?E?L?Q?X?^?f?q??4^ Q !rrr
+	????(,??,?M?,??*+,??*+????????'?? (((!	???*???+?ܶ?.??U?eee?UUUUUUU?UWWe?+?(?+???+?(N-??:?*?l?,???????.?`?b?l?n?p?u?{????	?4u"{#????`?!?	???{?,??,???,???
,????>?,????+???6??+?ܶ?.?|PPP|||||||\|||eP+?(?6?#+?6?+?י+?+?+?6??*+??r????F %25 ?%?&?(?)?+?,?2?3?6?45?$??? ?%
@??]?	
?r-*?r?
*?8?*?>?
?*?+?*?>?
???:;< =+??-&
&????,?,??>??+?ܶ?.??l?????????????????t||??+?>??+?>?y+???>?n>?i+???>?Y+?(:+?????"????? ?"??>?%+?????+?+??>?,?%>??*+()???fEF
G?J?K?O?P?V?W?`?a?h?i?m?n?o?p?q?t?uwx
}~??4?.
'"??

@?*@?@?	
?x#*?r*?+*?1??*?4L+?7??????????#
(?@?g*?+???rY,SY-S??z??
???*)O*O
)*?|??Z*?+,-??z??
?
??*Aq+,
A+???{$+?:?+?=M,?,?J?*+?A?r????????#?? $$#?????+?D?
+?????+??M+?(??N,???=:-?-?G:?P?H+?(?r?+?(?>:?J:?,,+?N6?R??U?J?:?:?#?Y?ܲ^?*?+?b?r??z??Z?????(?,?5?:?D?M?V?Y?`?j?y?|???????????p2-.M	/OV-.`0j|-.??1?2?3(?4?&-.$	?"??#?@Z??Z$1????L+?e?G+????=+?(M,??N-??-?G:???Y:?ܲh?*?k?r????2????? ?&?+?,?3?>?K??>550&%6.37LL? ??Z?????(,??+?י?,?n?
,?q?*+?t?r????????
??'?? (((
	???n,?,?%?+?w?*+?z?r???????? 	???n*??,?,?}?*+???r???????? 	????.,?
,????*+,??*+???rY?SY?S??????-? ... 	????.+???,??,???,??,??*+???r????!-? ... 	????1,?
,???G??*+,??*+???rY?SY?S????0? 111 	
?4
*???????
????.+??+????M,?4?,?9?N-*?
??????"#%"&*'-(? "7..?	5?8?.???????????????????ȸ????̸γA?Ӹ??b?׸γk?۸γ???γt??γz?????????n?????????H??v#$*+-.$0*10566<9B:H>N?TCZD`HfIlLrMxQ~R?W?X?\?]?`?a?`9:;?<2=	>?A	D=B@?C!E	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy