mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
32 lines
811 B
C++
32 lines
811 B
C++
#ifndef SIMDJSON_GENERIC_BASE_H
|
|
|
|
#ifdef SIMDJSON_IN_EDITOR_IMPL
|
|
#define SIMDJSON_GENERIC_BASE_H
|
|
#include "simdjson/base.h"
|
|
#endif // SIMDJSON_IN_EDITOR_IMPL
|
|
|
|
#ifdef SIMDJSON_IN_EDITOR_GENERIC
|
|
#ifndef SIMDJSON_IMPLEMENTATION
|
|
#include "simdjson/builtin/begin.h"
|
|
#endif
|
|
#endif // SIMDJSON_IN_EDITOR_GENERIC
|
|
|
|
namespace simdjson {
|
|
namespace SIMDJSON_IMPLEMENTATION {
|
|
|
|
struct open_container;
|
|
class dom_parser_implementation;
|
|
|
|
/**
|
|
* The type of a JSON number
|
|
*/
|
|
enum class number_type {
|
|
floating_point_number=1, /// a binary64 number
|
|
signed_integer, /// a signed integer that fits in a 64-bit word using two's complement
|
|
unsigned_integer /// a positive integer larger or equal to 1<<63
|
|
};
|
|
|
|
} // namespace SIMDJSON_IMPLEMENTATION
|
|
} // namespace simdjson
|
|
|
|
#endif // SIMDJSON_GENERIC_BASE_H
|