Base Framework
|
Inherits Parser.
Public Member Functions | |
JSONParser (const uint8 *src, const uint8 *end) noexcept | |
LineColumn | getPosition () const noexcept |
void | skipJSONSpaces () noexcept |
![]() | |
Parser () noexcept | |
Parser (const uint8 *_src, const uint8 *_end) noexcept | |
Parser (const String &text) noexcept | |
const uint8 * | getCurrent () const noexcept |
MemorySize | getAvailable () const noexcept |
bool | hasMore () const noexcept |
uint8 | peekByte () const |
char | peek () const |
bool | peek (char ch) const |
void | unwind () |
void | skip () |
unsigned int | getUCS4Bytes () const noexcept |
ucs4 | peekUCS4 () const |
ucs4 | readUCS4 () |
void | read (ucs4 ch) |
void | skipUCS4 () |
unsigned int | readDigit () |
unsigned int | readDigits (unsigned int count) |
unsigned int | getNumberOfDigits () const noexcept |
char | read () |
void | read (char ch) |
void | read (const char *text) |
void | skipJSONSpaces () |
void | skipAny (const char *chars) |
Static Public Member Functions | |
static MemorySize | getColumn (const uint8 *src, const uint8 *end, unsigned int tabSize=2) |
![]() | |
static bool | doesMatchPattern (const String &pattern, const String &text) noexcept |
Additional Inherited Members | |
![]() | |
const uint8 * | src = nullptr |
const uint8 * | end = nullptr |
|
inlinestatic |
Finds the column.
|
inlinenoexcept |
Skips JSON space.