Class JsDocInfoParser
java.lang.Object
com.google.javascript.jscomp.parsing.JsDocInfoParser
A parser for JSDoc comments.
-
Method Summary
Modifier and TypeMethodDescriptionParse a description as a@type
.static Node
parseTypeString
(String typeString) Parses a string containing a JsDoc type declaration, returning the type if the parsing succeeded ornull
if it failed.
-
Method Details
-
parseInlineTypeDoc
Parse a description as a@type
. -
parseTypeString
Parses a string containing a JsDoc type declaration, returning the type if the parsing succeeded ornull
if it failed.
-