1#ifndef SIMDJSON_INTERNAL_JSONCHARUTILS_TABLES_H
2#define SIMDJSON_INTERNAL_JSONCHARUTILS_TABLES_H
3
4#include "simdjson/common_defs.h"
5
6#ifdef JSON_TEST_STRINGS
7void found_string(const uint8_t *buf, const uint8_t *parsed_begin,
8 const uint8_t *parsed_end);
9void found_bad_string(const uint8_t *buf);
10#endif
11
12namespace simdjson {
13namespace internal {
14// structural chars here are
15// they are { 0x7b } 0x7d : 0x3a [ 0x5b ] 0x5d , 0x2c (and NULL)
16// we are also interested in the four whitespace characters
17// space 0x20, linefeed 0x0a, horizontal tab 0x09 and carriage return 0x0d
18
19extern SIMDJSON_DLLIMPORTEXPORT const bool structural_or_whitespace_negated[256];
20extern SIMDJSON_DLLIMPORTEXPORT const bool structural_or_whitespace[256];
21extern SIMDJSON_DLLIMPORTEXPORT const uint32_t digit_to_val32[886];
22
23} // namespace internal
24} // namespace simdjson
25
26#endif // SIMDJSON_INTERNAL_JSONCHARUTILS_TABLES_H
27