Package | Description |
---|---|
com.google.javascript.jscomp.parsing |
Provides utilities to help with parsing JSDoc annotations and performing AST
transformations.
|
com.google.javascript.jscomp.parsing.parser | |
com.google.javascript.jscomp.parsing.parser.trees |
Modifier and Type | Method and Description |
---|---|
(package private) double |
IRFactory.normalizeNumber(LiteralToken token) |
private java.lang.String |
IRFactory.normalizeRegex(LiteralToken token) |
private java.lang.String |
IRFactory.normalizeString(LiteralToken token,
boolean templateLiteral) |
(package private) Node |
IRFactory.TransformDispatcher.processString(LiteralToken token) |
(package private) Node |
IRFactory.TransformDispatcher.processTemplateLiteralToken(LiteralToken token) |
private Node |
IRFactory.transformNumberAsString(LiteralToken token) |
Modifier and Type | Method and Description |
---|---|
LiteralToken |
Token.asLiteral() |
LiteralToken |
Scanner.nextRegularExpressionLiteralToken() |
private LiteralToken |
Parser.nextRegularExpressionLiteralToken()
Consumes a regular expression literal token and returns it.
|
LiteralToken |
Scanner.nextTemplateLiteralToken() |
private LiteralToken |
Parser.nextTemplateLiteralToken()
Consumes a template literal token and returns it.
|
private LiteralToken |
Scanner.nextTemplateLiteralTokenShared(TokenType endType,
TokenType middleType) |
private LiteralToken |
Scanner.scanExponentOfNumericLiteral(int beginToken) |
private LiteralToken |
Scanner.scanFractionalNumericLiteral(int beginToken) |
Modifier and Type | Field and Description |
---|---|
LiteralToken |
ExportDeclarationTree.from |
LiteralToken |
ModuleImportTree.from |
LiteralToken |
ImportDeclarationTree.moduleSpecifier |
Constructor and Description |
---|
ExportDeclarationTree(SourceRange location,
boolean isDefault,
boolean isExportAll,
ParseTree declaration,
com.google.common.collect.ImmutableList<ParseTree> exportSpecifierList,
LiteralToken from) |
ImportDeclarationTree(SourceRange location,
IdentifierToken defaultBindingIdentifier,
com.google.common.collect.ImmutableList<ParseTree> importSpecifierList,
IdentifierToken nameSpaceImportIdentifier,
LiteralToken moduleSpecifier) |
ModuleImportTree(SourceRange location,
IdentifierToken name,
LiteralToken from) |