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(17 members)
Check whether the vector is nonempty
Default constructor
Append arg to the end of the list.
Remove all items from list.
Return number of occurrences of arg.
Extend self by appending elements from arg.
Insert object arg1 before index arg0.
Remove and return item at index (default last).
Remove first occurrence of arg.
Methods
- __bool__() bool
Check whether the vector is nonempty
- __contains__(arg: str, /) bool
- __contains__(arg: object, /) bool
- __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.
- count(arg: str, /) int
Return number of occurrences of arg.
- 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).
- remove(arg: str, /) None
Remove first occurrence of arg.