parseObjectMember

Parses a single object member.

void
parseObjectMember
(
Consumer
)
(
ref string hjson
,
ref size_t collumn
,
ref Consumer consumer
)

Parameters

hjson string

Hjson being parsed. Must not contain leading whitespace. The beginning of the Hjson until the end of the parsed Hjson object member is consumed.

collumn size_t

How many dchars were popped from the front of hjson since last line feed. Will be updated by the function. Needed to properly parse multiline strings.

consumer Consumer

Object responsible for processing the parsed tokens.

Throws

HjsonException if hjson starts with an invalid Hjson object member. Invalid Hjson past the first valid object member is not detected.

Meta