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.WhitespaceOption |
JsDocInfoParser.getWhitespaceOption(JsDocInfoParser.WhitespaceOption defaultValue) |
static JsDocInfoParser.WhitespaceOption |
JsDocInfoParser.WhitespaceOption.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JsDocInfoParser.WhitespaceOption[] |
JsDocInfoParser.WhitespaceOption.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
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,
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.WhitespaceOption |
JsDocInfoParser.getWhitespaceOption(JsDocInfoParser.WhitespaceOption defaultValue) |
private void |
JsDocInfoParser.padLine(java.lang.StringBuilder builder,
int lineStartChar,
JsDocInfoParser.WhitespaceOption option) |