dissec.utils – General utilities

pydantic model dissec.utils.Runk

Ronald’s universal number kounter.

This counts lines, columns and offsets.

field column: int = 1

Column number, counting from 1.

field line: int = 1

Line number, counting from 1.

field offset: int = 0

Offset in the string, counting from 0.

count(raw: str, /) None

Add a string to the count.

Parameters:

raw – Raw string to take into account.