parseMultilineString

Parses a Hjson multiline string.

string
parseMultilineString
(
ref string hjson
,
immutable size_t collumn
)

Parameters

hjson string

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

collumn size_t

How many dchars were popped from the front of hjson since last line feed.

Return Value

Type: string

The parsed string.

Throws

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

Meta