Skip to content

MemberExpressionPartProps

argsoptionalChildren[] | boolean

Arguments to construct a call expression.

idoptionalstring | number

The identifier for attribute access (obj.attr). Use this for Python attribute references.

keyoptionalChildren

Single key for subscription access (obj[key] or obj[0]). Use this for single subscription access.

keysoptionalChildren[]

Multiple keys for tuple subscription access (obj[a, b] -> obj[(a, b)]). Use this when you need tuple key access.

refkeyoptionalRefkey

A refkey for a symbol whose name becomes the identifier.

sliceoptional{ start?: Children; stop?: Children; step?: Children; }

Slice notation for subscription access (obj[start:stop:step]). Use this for Python slice syntax.

symboloptionalMemberDeclaration context interface

A symbol whose name becomes the identifier.