Illustrated C/C++ source sheets, symbol index, API relationship graph, compiler console and debug trace

LIVE AI / FLEXIBLE SENSING / FLIGHT CONTEXT

Sensoraia API

Live AI and sensing, connected to the flight.
See, listen, inspect and return supported results while airborne.

Loading...
Searching...
No Matches
jsonbourne_read_ctx Struct Reference

Per-call parser state; no mutable global state or input modification is needed. More...

Collaboration diagram for jsonbourne_read_ctx:

Data Fields

const unsigned char * src
size_t len
size_t pos
jsonbourne_read_flag flg
size_t val_count
jsonbourne_read_code code
size_t loc_pos
size_t line
size_t line_pos
struct jsonbourne_read_limits limits
struct jsonbourne_pool pool

Detailed Description

Per-call parser state; no mutable global state or input modification is needed.

Definition at line 418 of file jsonbourne.c.

Field Documentation

◆ code

jsonbourne_read_code jsonbourne_read_ctx::code

First grammar/argument failure.

Definition at line 424 of file jsonbourne.c.

◆ flg

jsonbourne_read_flag jsonbourne_read_ctx::flg

Validated named-option mask.

Definition at line 422 of file jsonbourne.c.

◆ len

size_t jsonbourne_read_ctx::len

Total supplied bytes.

Definition at line 420 of file jsonbourne.c.

◆ limits

struct jsonbourne_read_limits jsonbourne_read_ctx::limits

Effective per-call budgets.

Definition at line 428 of file jsonbourne.c.

◆ line

size_t jsonbourne_read_ctx::line

Current one-based LF-delimited line.

Definition at line 426 of file jsonbourne.c.

◆ line_pos

size_t jsonbourne_read_ctx::line_pos

Offset immediately after the last scanned LF.

Definition at line 427 of file jsonbourne.c.

◆ loc_pos

size_t jsonbourne_read_ctx::loc_pos

Input offset already scanned for locations.

Definition at line 425 of file jsonbourne.c.

◆ pool

struct jsonbourne_pool jsonbourne_read_ctx::pool

Counting or materializing arena.

Definition at line 429 of file jsonbourne.c.

◆ pos

size_t jsonbourne_read_ctx::pos

Next grammar byte, always at most len.

Definition at line 421 of file jsonbourne.c.

◆ src

const unsigned char* jsonbourne_read_ctx::src

Immutable input extent.

Definition at line 419 of file jsonbourne.c.

◆ val_count

size_t jsonbourne_read_ctx::val_count

Root and nested values consumed so far.

Definition at line 423 of file jsonbourne.c.


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