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 | GetString () |
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 448 of file libeval_compiler.h.
|
inline |
Definition at line 457 of file libeval_compiler.h.
Referenced by LIBEVAL::COMPILER::Clear().
|
inline |
Definition at line 471 of file libeval_compiler.h.
Referenced by LIBEVAL::COMPILER::lexDefault().
|
inline |
Definition at line 463 of file libeval_compiler.h.
Referenced by LIBEVAL::COMPILER::lexDefault().
wxString LIBEVAL::TOKENIZER::GetChars | ( | const std::function< bool(wxUniChar)> & | cond | ) | const |
Definition at line 225 of file libeval_compiler.cpp.
Referenced by LIBEVAL::COMPILER::lexDefault().
|
inline |
Definition at line 481 of file libeval_compiler.h.
Referenced by LIBEVAL::COMPILER::Compile(), and LIBEVAL::COMPILER::lexDefault().
wxString LIBEVAL::TOKENIZER::GetString | ( | ) |
Definition at line 207 of file libeval_compiler.cpp.
Referenced by LIBEVAL::COMPILER::lexString().
bool LIBEVAL::TOKENIZER::MatchAhead | ( | const wxString & | match, |
const std::function< bool(wxUniChar)> & | stopCond | ||
) | const |
Definition at line 239 of file libeval_compiler.cpp.
Referenced by LIBEVAL::COMPILER::lexDefault(), and LIBEVAL::COMPILER::resolveUnits().
|
inline |
Definition at line 476 of file libeval_compiler.h.
Referenced by LIBEVAL::COMPILER::lexDefault(), and LIBEVAL::COMPILER::resolveUnits().
|
inline |
Definition at line 451 of file libeval_compiler.h.
Referenced by LIBEVAL::COMPILER::newString().
|
private |
Definition at line 495 of file libeval_compiler.h.
Referenced by GetChars(), GetString(), and MatchAhead().
|
private |
Definition at line 494 of file libeval_compiler.h.
Referenced by GetChars(), GetString(), and MatchAhead().