ParseLocation

class ParseLocation(*args, **kwargs)

A location in a parse buffer.

Fields

class ParseLocation
bytes

The offset of the location in the parse buffer, as bytes

chars

The offset of the location in the parse buffer, as characters

line_bytes

The position in the line, as bytes

line_chars

The position in the line, as characters

lines

The line of the location in the parse buffer