Class JsDocInfoParser
- java.lang.Object
-
- com.google.javascript.jscomp.parsing.JsDocInfoParser
-
public final class JsDocInfoParser extends java.lang.Object
A parser for JSDoc comments.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description JSDocInfo
parseInlineTypeDoc()
Parse a description as a@type
.static Node
parseTypeString(java.lang.String typeString)
Parses a string containing a JsDoc type declaration, returning the type if the parsing succeeded ornull
if it failed.
-
-
-
Method Detail
-
parseInlineTypeDoc
public JSDocInfo parseInlineTypeDoc()
Parse a description as a@type
.
-
parseTypeString
public static Node parseTypeString(java.lang.String typeString)
Parses a string containing a JsDoc type declaration, returning the type if the parsing succeeded ornull
if it failed.
-
-