class documentation

class _ColorizerState: (source)

View In Hierarchy

An object uesd to keep track of the current state of the pyval colorizer. The mark()/restore() methods can be used to set a backup point, and restore back to that backup point. This is used by several colorization methods that first try colorizing their object on a single line (setting linebreakok=False); and then fall back on a multi-line output if that fails.

Method __init__ Undocumented
Method mark Undocumented
Method restore Return what's been trimmed from the result.
Instance Variable charpos Undocumented
Instance Variable linebreakok Undocumented
Instance Variable lineno Undocumented
Instance Variable result Undocumented
Instance Variable stack Undocumented
Instance Variable warnings Undocumented
def __init__(self): (source)

Undocumented

Undocumented

Return what's been trimmed from the result.

Undocumented

linebreakok: bool = (source)

Undocumented

Undocumented

Undocumented

Undocumented

warnings: list[str] = (source)

Undocumented