Module token

Module token 

Source
Expand description

Contains the core Token and Loc types, which represent pieces of game script and where in the game files they came from.

Structs§

Loc
Token
A Token consists of a string and its location in the parsed files.
TokenIdentity
A wrapper around Token that compares for equality with its loc as well as its string.

Constants§

STR_BUMP 🔒

Functions§

bump 🔒
Allocate the string on heap with a bump allocator.