#include <evo/strscan.h>
Helpers for determining quoting type to use with string data.
|
static Type | get (const char *data, ulong data_size) |
|
static Type | get (bool &optional, const char *data, ulong data_size, char delim) |
|
static Type | get (const char *data, ulong data_size, char delim) |
|
static Type | get (const char *data, ulong data_size, char delim1, char delim2) |
|
◆ Type
Quoting type.
Enumerator |
---|
tSINGLE | Single-quotes: '
|
tDOUBLE | Double-quotes: "
|
tBACKTICK | Backtick: `
|
tSINGLE3 | Triple single-quotes: '''
|
tDOUBLE3 | Triple double-quotes: """
|
tBACKTICK3 | Triple backtick: ```
|
tBACKTICK_DEL | Backtick followed by DEL char (7F) – last resort (rare)
|
tERROR | Data not quotable (invalid text)
|
◆ get() [1/4]
static Type get |
( |
const char * |
data, |
|
|
ulong |
data_size |
|
) |
| |
|
inlinestatic |
◆ get() [2/4]
static Type get |
( |
bool & |
optional, |
|
|
const char * |
data, |
|
|
ulong |
data_size, |
|
|
char |
delim |
|
) |
| |
|
inlinestatic |
◆ get() [3/4]
static Type get |
( |
const char * |
data, |
|
|
ulong |
data_size, |
|
|
char |
delim |
|
) |
| |
|
inlinestatic |
◆ get() [4/4]
static Type get |
( |
const char * |
data, |
|
|
ulong |
data_size, |
|
|
char |
delim1, |
|
|
char |
delim2 |
|
) |
| |
|
inlinestatic |
◆ DEL_CHAR
const char DEL_CHAR = 0x7F |
|
static |
The documentation for this struct was generated from the following file: