Struct Lexeme

Struct Documentation

struct Lexeme

Lexeme, a substring of the source.

Public Members

TokenType type
const byte *start

Pointer to start of token in source.

const byte *end

Pointer to end of token in source.

const byte *line

Pointer to start of line token is on.

usize lineno

Line number og token.