CfParser.this

this(string input, string filename = "", CfParserConfig cfg = CfParserConfig.init) @safe pure

Constructs a parser for the given CF source text.

Parameters

inputThe CF source text to parse
filenameOptional filename for error reporting
cfgParser configuration options
this(string input, string filename, CfParserConfig cfg, string[] existingStack, size_t depth) @safe pure

Constructs a parser with an existing include stack.

Parameters

inputThe CF source text to parse
filenameOptional filename for error reporting
cfgParser configuration options
existingStackExisting include stack for circular detection
depthCurrent include depth
this(string input, string filename, CfParserConfig cfg, string[] existingStack, size_t depth, bool[string] sharedKeys) @safe pure

Constructs a sub-parser for an include, sharing duplicate-key state with the including parser.

Parameters

inputThe CF source text to parse
filenameOptional filename for error reporting
cfgParser configuration options
existingStackExisting include stack for circular detection
depthCurrent include depth
sharedKeysDuplicate-key registry shared with the includer