mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-29 12:24:45 +00:00
doc: update contents
This commit is contained in:
parent
e9690f2ebd
commit
06abeb2c4d
6 changed files with 67 additions and 5 deletions
|
@ -1,5 +1,20 @@
|
||||||
# Container T
|
# Container T
|
||||||
|
|
||||||
|
## impl traits
|
||||||
|
|
||||||
|
* `Iterator(T <: Eq)`
|
||||||
|
|
||||||
## required methods
|
## required methods
|
||||||
|
|
||||||
### `__contains__`
|
### `__contains__`
|
||||||
|
|
||||||
|
## impl classes
|
||||||
|
|
||||||
|
* `Array`
|
||||||
|
* `Tuple`
|
||||||
|
* `Str`
|
||||||
|
* `Range`
|
||||||
|
* `MemoryView`
|
||||||
|
* `Dict`
|
||||||
|
* `Set`
|
||||||
|
* `MappingProxy`
|
||||||
|
|
|
@ -7,3 +7,17 @@
|
||||||
## required methods
|
## required methods
|
||||||
|
|
||||||
* `__next__`
|
* `__next__`
|
||||||
|
|
||||||
|
## provided methods
|
||||||
|
|
||||||
|
* (Iterable.) `__iter__`
|
||||||
|
|
||||||
|
## impl classes
|
||||||
|
|
||||||
|
* `ListIterator`
|
||||||
|
* `TupleIterator`
|
||||||
|
* `StrIterator`
|
||||||
|
* `RangeIterator`
|
||||||
|
* `MemoryIterator`
|
||||||
|
* `DictKeyIterator`
|
||||||
|
* `SetIterator`
|
||||||
|
|
|
@ -2,17 +2,24 @@
|
||||||
|
|
||||||
## subsumed traits
|
## subsumed traits
|
||||||
|
|
||||||
* `Collection V`
|
* `Sized`
|
||||||
|
* `Iterable V`
|
||||||
* `Indexable K, V`
|
* `Indexable K, V`
|
||||||
|
|
||||||
## impl traits
|
## impl traits
|
||||||
|
|
||||||
|
* `Collection V`
|
||||||
|
* `Sized`
|
||||||
|
* `Iterable V`
|
||||||
|
* `Container V`
|
||||||
* `Eq`
|
* `Eq`
|
||||||
|
|
||||||
## provided methods
|
## provided methods
|
||||||
|
|
||||||
### `get`
|
### `get`
|
||||||
|
|
||||||
|
### (Container.) `__contains__`
|
||||||
|
|
||||||
### `keys`
|
### `keys`
|
||||||
|
|
||||||
### `values`
|
### `values`
|
||||||
|
@ -20,3 +27,8 @@
|
||||||
### `items`
|
### `items`
|
||||||
|
|
||||||
### (Eq.) `__eq__`
|
### (Eq.) `__eq__`
|
||||||
|
|
||||||
|
## impl classes
|
||||||
|
|
||||||
|
* `Dict`
|
||||||
|
* `MappingProxy`
|
||||||
|
|
9
doc/EN/API/types/traits/Reversible.md
Normal file
9
doc/EN/API/types/traits/Reversible.md
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# Reversible T
|
||||||
|
|
||||||
|
## subsumed traits
|
||||||
|
|
||||||
|
## [`Iterable T`](./Iterable.md)
|
||||||
|
|
||||||
|
## required methods
|
||||||
|
|
||||||
|
### `__reversed__`
|
|
@ -2,10 +2,22 @@
|
||||||
|
|
||||||
## subsumed traits
|
## subsumed traits
|
||||||
|
|
||||||
|
* `Indexable T`
|
||||||
* `Sized`
|
* `Sized`
|
||||||
* `GetItem Nat`
|
|
||||||
|
|
||||||
## impl traits
|
## impl traits
|
||||||
|
|
||||||
* `Collection T`
|
* `Collection T`
|
||||||
* `Reversible T`
|
* `Sized`
|
||||||
|
* `Iterable T`
|
||||||
|
* `Container T`
|
||||||
|
* `Reversible`
|
||||||
|
* `Iterable T`
|
||||||
|
|
||||||
|
## impl classes
|
||||||
|
|
||||||
|
* `Array`
|
||||||
|
* `Tuple`
|
||||||
|
* `Str`
|
||||||
|
* `Range`
|
||||||
|
* `MemoryView`
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
## subsumed traits
|
## subsumed traits
|
||||||
|
|
||||||
* `Collection V`
|
* [`Collection V`](./Collection.md)
|
||||||
* `Indexable K, V`
|
* [`Indexable K, V`](./Indexable.md)
|
||||||
|
|
||||||
## impl traits
|
## impl traits
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue