Package | Description |
---|---|
com.google.javascript.jscomp.parsing.parser | |
com.google.javascript.jscomp.parsing.parser.trees |
Modifier and Type | Field and Description |
---|---|
TokenType |
Keywords.type |
TokenType |
Token.type |
Modifier and Type | Method and Description |
---|---|
static TokenType |
Keywords.getTokenType(String value) |
static TokenType |
TokenType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TokenType[] |
TokenType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Keywords |
Keywords.get(TokenType token) |
static boolean |
Keywords.isKeyword(TokenType token) |
static boolean |
Keywords.isStrictKeyword(TokenType token)
Returns true if
token is a "future reserved word" which can
be used as a variable identifer, but only in non-strict mode. |
Constructor and Description |
---|
LiteralToken(TokenType type,
String value,
SourceRange location) |
Token(TokenType type,
SourceRange location) |
Modifier and Type | Field and Description |
---|---|
TokenType |
VariableDeclarationListTree.declarationType |
Constructor and Description |
---|
VariableDeclarationListTree(SourceRange location,
TokenType declarationType,
com.google.common.collect.ImmutableList<VariableDeclarationTree> declarations) |
Copyright © 2009–2016 Google. All rights reserved.