Initializes a new instance of the IParser class.
public Parser(TBuffer buffer, int maxDepth = 64, string? sourceName = null)
The input where the YAML stream is to be read.
The maximum allowed nesting depth for mappings and sequences.
The optional source name used when reporting depth-limit failures.