TokenValue#

class TokenValue(*args, **kwargs)#

A union holding the value of the token.

Fields#

class TokenValue
v_binary#

Token binary integer value

v_char#

Character value

v_comment#

Comment value

v_error#

Error value

v_float#

Floating point value

v_hex#

Hex integer value

v_identifier#

Token identifier value

v_int#

Integer value

v_int64#

64-bit integer value

v_octal#

Octal integer value

v_string#

String value

v_symbol#

Token symbol value