Class LiteralToken

java.lang.Object
com.google.javascript.jscomp.parsing.parser.Token
com.google.javascript.jscomp.parsing.parser.LiteralToken
Direct Known Subclasses:
StringLiteralToken, TemplateLiteralToken

public class LiteralToken extends Token
A token representing a javascript literal. Includes string, regexp, and number literals. Boolean and null literals are represented as regular keyword tokens. The value just includes the raw lexeme. For string literals it includes the beginning and ending delimiters. TODO: Regexp literals should have their own token type. TODO: A way to get the processed value, rather than the raw value.