KiCad PCB EDA Suite
|
#include <libeval_compiler.h>
Public Member Functions | |
void | Restart (const wxString &aStr) |
void | Clear () |
int | GetChar () const |
bool | Done () const |
void | NextChar (int aAdvance=1) |
size_t | GetPos () const |
wxString | GetChars (const std::function< bool(wxUniChar)> &cond) const |
bool | MatchAhead (const wxString &match, const std::function< bool(wxUniChar)> &stopCond) const |
Private Attributes | |
wxString | m_str |
size_t | m_pos = 0 |
Definition at line 439 of file libeval_compiler.h.
|
inline |
Definition at line 448 of file libeval_compiler.h.
Referenced by LIBEVAL::COMPILER::Clear().
|
inline |
Definition at line 462 of file libeval_compiler.h.
Referenced by LIBEVAL::COMPILER::lexDefault().
|
inline |
Definition at line 454 of file libeval_compiler.h.
Referenced by LIBEVAL::COMPILER::lexDefault().
wxString LIBEVAL::TOKENIZER::GetChars | ( | const std::function< bool(wxUniChar)> & | cond | ) | const |
Definition at line 204 of file libeval_compiler.cpp.
Referenced by LIBEVAL::COMPILER::lexDefault(), and LIBEVAL::COMPILER::lexString().
|
inline |
Definition at line 472 of file libeval_compiler.h.
References m_pos.
Referenced by LIBEVAL::COMPILER::Compile(), and LIBEVAL::COMPILER::lexDefault().
bool LIBEVAL::TOKENIZER::MatchAhead | ( | const wxString & | match, |
const std::function< bool(wxUniChar)> & | stopCond | ||
) | const |
Definition at line 218 of file libeval_compiler.cpp.
Referenced by LIBEVAL::COMPILER::lexDefault(), and LIBEVAL::COMPILER::resolveUnits().
|
inline |
Definition at line 467 of file libeval_compiler.h.
References m_pos.
Referenced by LIBEVAL::COMPILER::lexDefault(), LIBEVAL::COMPILER::lexString(), and LIBEVAL::COMPILER::resolveUnits().
|
inline |
Definition at line 442 of file libeval_compiler.h.
Referenced by LIBEVAL::COMPILER::newString().
|
private |
Definition at line 484 of file libeval_compiler.h.
Referenced by Clear(), Done(), GetChar(), GetChars(), GetPos(), MatchAhead(), NextChar(), and Restart().
|
private |
Definition at line 483 of file libeval_compiler.h.
Referenced by Clear(), Done(), GetChar(), GetChars(), MatchAhead(), and Restart().