API reference
python:astx:astx.Ellipsis.__init__
method __init__
__init__(loc: SourceLocation = NO_SOURCE_LOCATION, parent: Optional[ASTNodes] = None) -> None
Source: packages/astx/src/astx/subscript.py:206
Declared as: python:astx:astx.subscript.Ellipsis.__init__
Initialize the ellipsis expression.
Parameters
-
loc — Source coordinates associated with the node.; Type: SourceLocation
-
parent — Parent node or enclosing scope.; Type: Optional[ASTNodes]
Returns
Type: None