CfParser.this
Constructs a parser for the given CF source text.
Parameters
input | The CF source text to parse |
filename | Optional filename for error reporting |
cfg | Parser configuration options |
this
(string input, string filename, CfParserConfig cfg,
string[] existingStack, size_t depth) @safe pureConstructs a parser with an existing include stack.
Parameters
input | The CF source text to parse |
filename | Optional filename for error reporting |
cfg | Parser configuration options |
existingStack | Existing include stack for circular detection |
depth | Current include depth |
this
(string input, string filename, CfParserConfig cfg, string[] existingStack, size_t depth,
bool[string] sharedKeys) @safe pureConstructs a sub-parser for an include, sharing duplicate-key state with the including parser.
Parameters
input | The CF source text to parse |
filename | Optional filename for error reporting |
cfg | Parser configuration options |
existingStack | Existing include stack for circular detection |
depth | Current include depth |
sharedKeys | Duplicate-key registry shared with the includer |