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
|
||||
|
||||
## impl traits
|
||||
|
||||
* `Iterator(T <: Eq)`
|
||||
|
||||
## required methods
|
||||
|
||||
### `__contains__`
|
||||
|
||||
## impl classes
|
||||
|
||||
* `Array`
|
||||
* `Tuple`
|
||||
* `Str`
|
||||
* `Range`
|
||||
* `MemoryView`
|
||||
* `Dict`
|
||||
* `Set`
|
||||
* `MappingProxy`
|
||||
|
|
|
@ -7,3 +7,17 @@
|
|||
## required methods
|
||||
|
||||
* `__next__`
|
||||
|
||||
## provided methods
|
||||
|
||||
* (Iterable.) `__iter__`
|
||||
|
||||
## impl classes
|
||||
|
||||
* `ListIterator`
|
||||
* `TupleIterator`
|
||||
* `StrIterator`
|
||||
* `RangeIterator`
|
||||
* `MemoryIterator`
|
||||
* `DictKeyIterator`
|
||||
* `SetIterator`
|
||||
|
|
|
@ -2,17 +2,24 @@
|
|||
|
||||
## subsumed traits
|
||||
|
||||
* `Collection V`
|
||||
* `Sized`
|
||||
* `Iterable V`
|
||||
* `Indexable K, V`
|
||||
|
||||
## impl traits
|
||||
|
||||
* `Collection V`
|
||||
* `Sized`
|
||||
* `Iterable V`
|
||||
* `Container V`
|
||||
* `Eq`
|
||||
|
||||
## provided methods
|
||||
|
||||
### `get`
|
||||
|
||||
### (Container.) `__contains__`
|
||||
|
||||
### `keys`
|
||||
|
||||
### `values`
|
||||
|
@ -20,3 +27,8 @@
|
|||
### `items`
|
||||
|
||||
### (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
|
||||
|
||||
* `Indexable T`
|
||||
* `Sized`
|
||||
* `GetItem Nat`
|
||||
|
||||
## impl traits
|
||||
|
||||
* `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
|
||||
|
||||
* `Collection V`
|
||||
* `Indexable K, V`
|
||||
* [`Collection V`](./Collection.md)
|
||||
* [`Indexable K, V`](./Indexable.md)
|
||||
|
||||
## impl traits
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue