Package | Description |
---|---|
com.google.javascript.jscomp.parsing |
Provides utilities to help with parsing JSDoc annotations and performing AST
transformations.
|
Modifier and Type | Method and Description |
---|---|
private JsDocInfoParser.ExtractionInfo |
JsDocInfoParser.extractBlockComment(JsDocToken token)
Extracts the top-level block comment from the JsDoc comment, if any.
|
private JsDocInfoParser.ExtractionInfo |
JsDocInfoParser.extractMultilineComment(JsDocToken token,
JsDocInfoParser.WhitespaceOption option,
boolean isMarker,
boolean includeAnnotations)
Extracts text from the stream until the end of the comment, end of the
file, or an annotation token is encountered.
|
private JsDocInfoParser.ExtractionInfo |
JsDocInfoParser.extractMultilineTextualBlock(JsDocToken token) |
private JsDocInfoParser.ExtractionInfo |
JsDocInfoParser.extractMultilineTextualBlock(JsDocToken token,
JsDocInfoParser.WhitespaceOption option,
boolean includeAnnotations)
Extracts the text found on the current line and all subsequent
until either an annotation, end of comment or end of file is reached.
|
private JsDocInfoParser.ExtractionInfo |
JsDocInfoParser.extractSingleLineBlock()
Extracts the text found on the current line starting at token.
|