Skip to content

MemberExpressionPartProps

argsoptionalChildren[] | booleanArguments to construct a call expression.
idoptional string | numberThe identifier for attribute access (obj.attr). Use this for Python attribute references.
keyoptionalChildrenSingle 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.
refkeyoptionalRefkeyA 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.
symboloptionalOutputSymbolA symbol whose name becomes the identifier.