QualifiedName
- class QualifiedName
A sequence of qualified name segments that stringifies with unrestricted names as needed. Unlike string, this allows querying segments in a qualified name without having to parse it again, and is cheaper to construct as string conversion is performed only when needed.
Members defined in
QualifiedName(14 members)
Methods
- __bool__() bool
Check whether the vector is nonempty
- __delitem__(arg: int, /) None
- __delitem__(arg: slice, /) None
- __getitem__(index: int) str
- __getitem__(index: slice) syside.QualifiedName
- __init__() None
Default constructor
- __init__(arg: syside.QualifiedName) None
Copy constructor
- __init__(arg: Iterable[str], /) None
Construct from an iterable object
- __iter__() Iterator[str]
- __len__() int
- __repr__() str
- __setitem__(arg0: int, arg1: str, /) None
- __setitem__(arg0: slice, arg1: syside.QualifiedName, /) None
- __str__() str
- append(arg: str, /) None
Append arg to the end of the list.
- clear() None
Remove all items from list.
- extend(arg: syside.QualifiedName, /) None
Extend self by appending elements from arg.
- insert(arg0: int, arg1: str, /) None
Insert object arg1 before index arg0.
- pop(index: int = -1) str
Remove and return item at index (default last).