class documentation

class PathStep: (source)

View In Hierarchy

A single step in a path expression: either a member-name access or an array index access.

Class Variable index For INDEX steps, the array index to access. None for MEMBER steps.
Class Variable kind MEMBER or INDEX.
Class Variable name For MEMBER steps, the member name to access. None for INDEX steps.
index: int | None = (source)

For INDEX steps, the array index to access. None for MEMBER steps.

MEMBER or INDEX.

name: str | None = (source)

For MEMBER steps, the member name to access. None for INDEX steps.