Class Position (2.4.2)

Position(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The position of a byte within the text. .. attribute:: line

The line, starting with 1, where the byte is positioned.

:type: int

Attribute

NameDescription
column int
The column within the line, starting with 1, where the byte is positioned. This is a byte index even though the text is UTF-8.