Skip to content

Commit 87e4331

Browse files
committed
Update
1 parent 2508fac commit 87e4331

7 files changed

Lines changed: 11 additions & 62 deletions

File tree

TODO

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
- [70%] Virtual variables
1313
- [70%] Methods
1414
- [ ] Aliases
15+
- [ ] Generics
1516
- [ ] Lexical scopes
1617
- [ ] Default lexical scope
1718
- Discuss the parentmost scope, its imports and the `global` namespace being an alias.
@@ -43,4 +44,8 @@
4344
- [ ] parseFloat
4445
- [ ] Infinity
4546
- [ ] NaN
46-
- [ ] undefined
47+
- [ ] undefined
48+
- [ ] Iterator (interface)
49+
- [ ] Keys (interface) iterable proxy
50+
- [ ] Values (interface) iterable proxy
51+
- [ ] Proxies

src/_BASE/asynchronous-code.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/_BASE/iterables.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Iterables
22

3-
Any class that implements `Iterator.<T>`, `IterableKeys.<T>` or `IterableValues.<T>` may be iterated.
3+
Any class that implements `Iterator.<T>`, `Keys.<T>` or `Values.<T>` may be iterated.
44

55
## shock_proxy usage
66

77
```
8-
class A implements IterableKeys.<Number>, IterableValues.<Number> {
8+
class A implements Keys.<Number>, Values.<Number> {
99
//
1010
shock_proxy function keys() {
1111
for (var i = 0; i < 10; i++) {

src/_BASE/metadata.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ Keyless entries are a single identifier or a string literal not accompanied by a
1717

1818
## Reserved meta-data
1919

20-
Certain meta-data are reserved, such as `Event`.
20+
Certain meta-data are reserved in some contexts, such as `Event`.

src/_BASE/method-overloading.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

src/_BASE/methods.md

Lines changed: 0 additions & 35 deletions
This file was deleted.

src/_BASE/proxies.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ shock_proxy static function call():T {}
1414

1515
## shock_proxy::keys()
1616

17-
Part of the `IterableKeys.<T>` interface. Must return an `Iterator.<T>` object. Used by the `for..in` statement.
17+
Part of the `Keys.<T>` interface. Must return an `Iterator.<T>` object. Used by the `for..in` statement.
1818

1919
```
2020
shock_proxy function keys():Iterator.<T> {
@@ -24,7 +24,7 @@ shock_proxy function keys():Iterator.<T> {
2424

2525
## shock_proxy::values()
2626

27-
Part of the `IterableValues.<T>` interface. Must return an `Iterator.<T>` object. Used by the `for each..in` statement.
27+
Part of the `Values.<T>` interface. Must return an `Iterator.<T>` object. Used by the `for each..in` statement.
2828

2929
```
3030
shock_proxy function values():Iterator.<T> {

0 commit comments

Comments
 (0)