Skip to content

MemberExpressionPartProps

argsoptional Children[] | booleanArguments to construct a call expression.
idoptional string | numberThe identifier for attribute access (obj.attr). Use this for Python attribute references.
keyoptional ChildrenSingle key for subscription access (obj[key] or obj[0]). Use this for single subscription access.
keysoptional Children[]Multiple keys for tuple subscription access (obj[a, b] -> obj[(a, b)]). Use this when you need tuple key access.
refkeyoptional RefkeyA 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.
symboloptional OutputSymbolA symbol whose name becomes the identifier.