
com.google.javascript.jscomp.CheckJSDoc.class Maven / Gradle / Ivy
The newest version!
???? 3?
? ? ? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ? ? ?
? ?
? ?
? ?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
? ?
?!
?" ?#$%
?&
'()
?*
4+,
-
?./
?0
?1
?2
?3 ?456
?7
?89:
?;
<=
?> ??
?@
ABCD
?E
?F
?GH
4I ?J
K
?L
?M
?NO
?P
?Q ?R
ST
U
?V
W ?X
?Y
?Z
?[
\] A^ ?_
?`
?a ?b
?c ?def
ghij
gklmnopq
grstuvwxyz|} InnerClasses MISPLACED_MSG_ANNOTATION -Lcom/google/javascript/jscomp/DiagnosticType; MISPLACED_ANNOTATION ANNOTATION_DEPRECATED DISALLOWED_MEMBER_JSDOC ARROW_FUNCTION_AS_CONSTRUCTOR %DEFAULT_PARAM_MUST_BE_MARKED_OPTIONAL !INVALID_NO_SIDE_EFFECT_ANNOTATION INVALID_MODIFIES_ANNOTATION compiler /Lcom/google/javascript/jscomp/AbstractCompiler; 2(Lcom/google/javascript/jscomp/AbstractCompiler;)V Code LineNumberTable LocalVariableTable this )Lcom/google/javascript/jscomp/CheckJSDoc; process G(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V externs "Lcom/google/javascript/rhino/Node; root
hotSwapScript
scriptRoot originalRoot 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 info 'Lcom/google/javascript/rhino/JSDocInfo; validateTypedefs L(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/JSDocInfo;)V
StackMapTable validateTemplates getFunctionDecl F(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node; RuntimeVisibleAnnotations Ljavax/annotation/Nullable; isClassDecl %(Lcom/google/javascript/rhino/Node;)Z isNameIntializeWithClass isClass validateClassLevelJsDoc validateAbstractJsDoc functionNode~ hasClassLevelJsDoc *(Lcom/google/javascript/rhino/JSDocInfo;)Z validateDeprecatedJsDoc validateNoCollapse jsdoc validateFunctionJsDoc validateMsgJsDoc lhs descOkay Z validateTypeAnnotations lvalue valid reportMisplaced I(Lcom/google/javascript/rhino/Node;Ljava/lang/String;Ljava/lang/String;)V annotationName Ljava/lang/String; note report e(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/DiagnosticType;[Ljava/lang/String;)V type arguments [Ljava/lang/String; validateArrowFunction %(Lcom/google/javascript/rhino/Node;)V validateDefaultValue typeExpr .Lcom/google/javascript/rhino/JSTypeExpression; typeNode? validateNoSideEffects ()V
SourceFile CheckJSDoc.java ? ? ? ????~?? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ??? ? ? typedef 4@typedef does not make sense on a class declaration. ? ?????????? ? ? template HThe template variable is unused. Please remove the @template annotation. [@template is only allowed in class, constructor, interface, function or method declarations?????????????????????? ? ? ??? ? ? ????? ????????? ? ? ? ? ? java/lang/String ? ??? ? ? @abstract 4only functions or non-static methods can be abstract??? ? 1function with a non-empty body cannot be abstract constructor???? constructors cannot be abstract? ??? !static methods cannot be abstract???????? ? ? @expose #Use @nocollapse or @export instead.????
nocollapse $This JSDoc has no effect in externs.??? ? 1This JSDoc has no effect on prototype properties.????????? function KThis JSDoc is not attached to a function node. Are you missing parentheses??????? MSG_?? ? ?? ??????? exports???? CType annotations are not allowed here. Are you missing parentheses???? ?????? ? ???????????? ? ????? ? ??? ? ? JSC_MISPLACED_MSG_ANNOTATION fMisplaced message annotation. @desc, @hidden, and @meaning annotations should onlybe on message nodes.??? JSC_MISPLACED_ANNOTATION Misplaced {0} annotation. {1}?? JSC_ANNOTATION_DEPRECATED %The {0} annotation is deprecated. {1} 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?? )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. JSC_INVALID_MODIFIES_ANNOTATION +@modifies may only appear in externs files. 'com/google/javascript/jscomp/CheckJSDoc Dcom/google/javascript/jscomp/NodeTraversal$AbstractPostOrderCallback AbstractPostOrderCallback 0com/google/javascript/jscomp/HotSwapCompilerPass )com/google/javascript/jscomp/CheckJSDoc$1 com/google/javascript/rhino/Node %com/google/javascript/rhino/JSDocInfo ,com/google/javascript/rhino/JSTypeExpression *com/google/javascript/jscomp/NodeTraversal traverseEs6? Callback ?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/NodeTraversal$Callback;)V getJSDocInfo )()Lcom/google/javascript/rhino/JSDocInfo; getTypedefType 0()Lcom/google/javascript/rhino/JSTypeExpression; getTemplateTypeNames +()Lcom/google/common/collect/ImmutableList; 'com/google/common/collect/ImmutableList isEmpty ()Z isConstructorOrInterface containsFunctionDeclaration
isFunction isMemberFunctionDef
getFirstChild $()Lcom/google/javascript/rhino/Node; isVar getFirstFirstChild isAssign isQualifiedName getLastChild isStringKey getGrandparent 0com/google/javascript/jscomp/ClosureRewriteClass isGoogDefineClass %com/google/javascript/jscomp/NodeUtil isNameDeclaration isName hasChildren isCall -com/google/javascript/jscomp/AbstractCompiler getCodingConvention 1()Lcom/google/javascript/jscomp/CodingConvention; -com/google/javascript/jscomp/CodingConvention isClassFactoryCall
isAbstract
isConstructor getFunctionBody getString ()Ljava/lang/String; equals (Ljava/lang/Object;)Z isPrototypeMethod isStaticMember hasBaseType getImplementedInterfaceCount ()I getExtendedInterfacesCount isExpose
isFromExterns isNoCollapse getParent isPrototypePropertyDeclaration hasType ,$SwitchMap$com$google$javascript$rhino$Token [I getToken %()Lcom/google/javascript/rhino/Token; !com/google/javascript/rhino/Token ordinal getDescription isHidden
getMeaning
startsWith (Ljava/lang/String;)Z isFunctionDeclaration isExprResult isGetProp isGetElem matchesQualifiedName isDefine $com/google/javascript/jscomp/JSError make ?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/DiagnosticType;[Ljava/lang/String;)Lcom/google/javascript/jscomp/JSError; )(Lcom/google/javascript/jscomp/JSError;)V isArrowFunction getBestJSDocInfo K(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/JSDocInfo; isDefaultValue isParamList getType getRoot EQUALS #Lcom/google/javascript/rhino/Token; !hasSideEffectsArgumentsAnnotation modifiesThis isNoSideEffects +com/google/javascript/jscomp/DiagnosticType disabled S(Ljava/lang/String;Ljava/lang/String;)Lcom/google/javascript/jscomp/DiagnosticType; warning error 3com/google/javascript/jscomp/NodeTraversal$Callback 0 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? F
*? *+? ? ? E F G ?
? ?
? ? ? ? ? Y *? +*? *? ,*? ? ? K L M ? ? ? ? ? ? ? ? ? ? L
*? +*? ? ?
Q R ?
? ?
? ?
? ? ? ? ? ? Y,? :*,? *,? *,? *,? *,? *,?
*,? *,? *,?
*,? *,? *,? ? ? : V W
X Y Z " [ ) \ 0 ] 5 ^ <