Uses of Class
com.google.javascript.jscomp.parsing.parser.TokenType
-
Packages that use TokenType Package Description com.google.javascript.jscomp.parsing.parser com.google.javascript.jscomp.parsing.parser.trees -
-
Uses of TokenType in com.google.javascript.jscomp.parsing.parser
Fields in com.google.javascript.jscomp.parsing.parser declared as TokenType Modifier and Type Field Description TokenTypeKeywords. typeTokenTypeToken. typeMethods in com.google.javascript.jscomp.parsing.parser that return TokenType Modifier and Type Method Description static TokenTypeKeywords. getTokenType(java.lang.String value)static TokenTypeTokenType. valueOf(java.lang.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.Methods in com.google.javascript.jscomp.parsing.parser with parameters of type TokenType Modifier and Type Method Description static KeywordsKeywords. get(TokenType token)static booleanKeywords. isKeyword(TokenType token)static booleanKeywords. isStrictKeyword(TokenType token)Returns true iftokenis a "future reserved word" which can be used as a variable identifier, but only in non-strict mode.Constructors in com.google.javascript.jscomp.parsing.parser with parameters of type TokenType Constructor Description LiteralToken(TokenType type, java.lang.String value, SourceRange location)TemplateLiteralToken(TokenType type, java.lang.String value, java.lang.String errorMsg, com.google.javascript.jscomp.parsing.parser.TemplateLiteralToken.ErrorLevel errorLevel, SourcePosition position, SourceRange location)Token(TokenType type, SourceRange location) -
Uses of TokenType in com.google.javascript.jscomp.parsing.parser.trees
Fields in com.google.javascript.jscomp.parsing.parser.trees declared as TokenType Modifier and Type Field Description TokenTypeVariableDeclarationListTree. declarationTypeConstructors in com.google.javascript.jscomp.parsing.parser.trees with parameters of type TokenType Constructor Description VariableDeclarationListTree(SourceRange location, TokenType declarationType, com.google.common.collect.ImmutableList<VariableDeclarationTree> declarations)
-