bux API Reference 1.9.0
Static library of whatever are seen required in general purpose but not directly supported from Modern C++. Or whatever reusable originated from my side projects.
|
#include <ImplScanner.h>
Classes | |
struct | C_GotoPair |
struct | C_StateRec |
Public Types | |
typedef C_ActionRet | F_Action(const T_Char *c, size_t n) |
typedef bool | F_IsFinal(const T_Char *c, size_t n) |
Public Member Functions | |
C_ScannerImpl (I_Parser &parser) | |
void | add (unsigned col, T_Char c) override |
void | setLine (unsigned line) override |
void | setSource (std::string_view src) override |
Public Member Functions inherited from bux::I_Scanner< T_Char > | |
virtual | ~I_Scanner ()=default |
Protected Member Functions | |
void | firstFits (const T_State *states, F_IsFinal *const *isFinal, size_t stateN) |
void | stateTables (const C_StateRec *stateRecs, const T_Input *gotoN) |
Definition at line 12 of file ImplScanner.h.
C_ActionRet bux::C_ScannerImpl< T_Input, T_State, T_Char, C_Traits >::F_Action(const T_Char *c, size_t n) |
Definition at line 17 of file ImplScanner.h.
bool bux::C_ScannerImpl< T_Input, T_State, T_Char, C_Traits >::F_IsFinal(const T_Char *c, size_t n) |
Definition at line 18 of file ImplScanner.h.
bux::C_ScannerImpl< T_Input, T_State, T_Char, C_Traits >::C_ScannerImpl | ( | I_Parser & | parser | ) |
Definition at line 84 of file ImplScanner.h.
|
overridevirtual |
Implements bux::I_Scanner< T_Char >.
Definition at line 90 of file ImplScanner.h.
References bux::C_ActionRet::m_id, bux::C_ActionRet::m_pAttr, bux::MIN_TOKEN_ID, RUNTIME_ERROR, bux::TID_EOF, and bux::to_utf8().
|
inlineprotected |
Definition at line 43 of file ImplScanner.h.
|
overridevirtual |
Implements bux::I_Scanner< T_Char >.
Definition at line 219 of file ImplScanner.h.
|
overridevirtual |
Implements bux::I_Scanner< T_Char >.
Definition at line 225 of file ImplScanner.h.
|
inlineprotected |
Definition at line 45 of file ImplScanner.h.