A subclass of Token representing single-character delimiters
A subclass of token representing floating point literals
A subclass of token representing integer literals
An exception raised if a if input does not correspond to what's expected
A subclass of token representing string literals
The class of tokens, i.
The ':' token
The ',' token
The token representing end of input
The false token
The '{' token
The '[' token
The '(' token
The null token
The '}' token
The ']' token
The '(' token
The true token
Returns given string enclosed in "-quotes with all string characters escaped
so that they correspond to the JSON standard.
Returns given string enclosed in "-quotes with all string characters escaped
so that they correspond to the JSON standard.
Characters that escaped are: ", \b, \f, \n, \r, \t, \.
Furthermore, every other character which is not in the ASCII range 32-127 is
escaped as a four hex-digit unicode character of the form \ u x x x x.
the string to be quoted
Companion object of class
Lexerwhich defines tokens and some utility concepts used for tokens and lexers