Block

class Block(previous: Any | None = None, next: Any | None = None, data: Any | None = None)[source]

Class for a generic block in a textfile, with given markers for beginning and end and reading states.

DefaultBlock

class DefaultBlock(previous: Any | None = None, next: Any | None = None, data: Any | None = None)[source]

A class for representing a default block, which contains exactly the data from the read line. Mainly used for comments.