IdentHolder

Global storage for identifier strings.

class IdentHolder {
tokenizer_ident_t _nextId;
tokenizer_ident_name_t[tokenizer_ident_t] _idToName;
tokenizer_ident_t[tokenizer_ident_name_t] _nameToId;
}

Members

Functions

findByName
uint findByName(tokenizer_ident_name_t name)

Search for id by name, return NO_IDENT if not found.

idByName
tokenizer_ident_t idByName(tokenizer_ident_name_t name)

Search for ident id by name, create new entry if not found.

nameById
tokenizer_ident_name_t nameById(tokenizer_ident_t id)

Search for name by id, return null if not found.

Meta