simdjson 4.6.4
Ridiculously Fast JSON
Loading...
Searching...
No Matches
simdjson::SIMDJSON_IMPLEMENTATION::dom_parser_implementation Class Referencefinal
Inheritance diagram for simdjson::SIMDJSON_IMPLEMENTATION::dom_parser_implementation:

Public Member Functions

 dom_parser_implementation (dom_parser_implementation &&other) noexcept
 
dom_parser_implementationoperator= (dom_parser_implementation &&other) noexcept
 
 dom_parser_implementation (const dom_parser_implementation &)=delete
 
dom_parser_implementationoperator= (const dom_parser_implementation &)=delete
 
simdjson_warn_unused error_code parse (const uint8_t *buf, size_t len, dom::document &doc) noexcept final
 
simdjson_warn_unused error_code stage1 (const uint8_t *buf, size_t len, stage1_mode partial) noexcept final
 
simdjson_warn_unused error_code stage2 (dom::document &doc) noexcept final
 
simdjson_warn_unused error_code stage2_next (dom::document &doc) noexcept final
 
simdjson_warn_unused uint8_t * parse_string (const uint8_t *src, uint8_t *dst, bool allow_replacement) const noexcept final
 
simdjson_warn_unused uint8_t * parse_wobbly_string (const uint8_t *src, uint8_t *dst) const noexcept final
 
simdjson_warn_unused error_code set_capacity (size_t capacity) noexcept final
 
simdjson_warn_unused error_code set_max_depth (size_t max_depth) noexcept final
 

Public Attributes

std::unique_ptr< open_container[]> open_containers {}
 Tape location of each open { or [.
 
std::unique_ptr< bool[]> is_array {}
 Whether each open container is a [ or {.
 
const uint8_t * buf {}
 Buffer passed to stage 1.
 
size_t len {0}
 Length passed to stage 1.
 
dom::documentdoc {}
 Document passed to stage 2.
 

Detailed Description

Definition at line 20 of file dom_parser_implementation.h.

Member Function Documentation

◆ set_capacity()

simdjson_warn_unused error_code simdjson::SIMDJSON_IMPLEMENTATION::dom_parser_implementation::set_capacity ( size_t  capacity)
inlinefinalnoexcept

Definition at line 63 of file dom_parser_implementation.h.

◆ set_max_depth()

simdjson_warn_unused error_code simdjson::SIMDJSON_IMPLEMENTATION::dom_parser_implementation::set_max_depth ( size_t  max_depth)
inlinefinalnoexcept

Definition at line 76 of file dom_parser_implementation.h.

Member Data Documentation

◆ buf

const uint8_t* simdjson::SIMDJSON_IMPLEMENTATION::dom_parser_implementation::buf {}

Buffer passed to stage 1.

Definition at line 27 of file dom_parser_implementation.h.

◆ doc

dom::document* simdjson::SIMDJSON_IMPLEMENTATION::dom_parser_implementation::doc {}

Document passed to stage 2.

Definition at line 31 of file dom_parser_implementation.h.

◆ is_array

std::unique_ptr<bool[]> simdjson::SIMDJSON_IMPLEMENTATION::dom_parser_implementation::is_array {}

Whether each open container is a [ or {.

Definition at line 25 of file dom_parser_implementation.h.

◆ len

size_t simdjson::SIMDJSON_IMPLEMENTATION::dom_parser_implementation::len {0}

Length passed to stage 1.

Definition at line 29 of file dom_parser_implementation.h.

◆ open_containers

std::unique_ptr<open_container[]> simdjson::SIMDJSON_IMPLEMENTATION::dom_parser_implementation::open_containers {}

Tape location of each open { or [.

Definition at line 23 of file dom_parser_implementation.h.


The documentation for this class was generated from the following file: