StringLineByLineReader
Represents a string from which we’ll stream blocks of data by finding tags and parsing what’s between them
__init__(self, string, ignore_comments=False, max_nesting_depth=-1):
LLM Docstring
Create a text-mode line parser over an in-memory string.
string:objectthe source string or byte sequence wrapped by the reader
ignore_comments:objectwhether comment-tagged lines are discarded
max_nesting_depth:objectthe maximum recursive block depth, with a negative value meaning unlimited