Blender V5.3
lexit::KeywordTable Struct Reference

#include <identifier.hh>

Public Member Functions

 KeywordTable (const std::vector< Keyword > &vector)
TokenType operator[] (TokenAtom atom) const

Public Attributes

std::array< TokenType, 64 > map

Detailed Description

Definition at line 192 of file identifier.hh.

Constructor & Destructor Documentation

◆ KeywordTable()

lexit::KeywordTable::KeywordTable ( const std::vector< Keyword > & vector)
inline

Definition at line 196 of file identifier.hh.

References assert, map, and lexit::Word.

Member Function Documentation

◆ operator[]()

TokenType lexit::KeywordTable::operator[] ( TokenAtom atom) const
inline

Definition at line 209 of file identifier.hh.

References map.

Member Data Documentation

◆ map

std::array<TokenType, 64> lexit::KeywordTable::map

Definition at line 194 of file identifier.hh.

Referenced by KeywordTable(), and operator[]().


The documentation for this struct was generated from the following file: