Class Position (1.7.1)

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

Position contains source position information about the stack trace element such as line number, column number and length of the code block in bytes.

Attributes

NameDescription
line int
The source code line number the current instruction was generated from.
column int
The source code column position (of the line) the current instruction was generated from.
length int
The number of bytes of source code making up this stack trace element.

Inheritance

builtins.object > proto.message.Message > Position