Skip to content

Commit 06e4773

Browse files
committed
better reuse the meta namespace for reflection
1 parent 9993a8c commit 06e4773

4 files changed

Lines changed: 4 additions & 5 deletions

File tree

TODO

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@
9898
- [ ] Intl namespace = "org.shockscript.intl"
9999
- [ ] Temporal namespace = "org.shockscript.temporal"
100100
- [ ] env namespace (DotEnv special qualifier) = "http://www.sweaxizone.com/shockscript/2015/env"
101-
- [ ] reflect namespace = "http://www.sweaxizone.com/shockscript/2015/reflect"
102101
- [ ] trace()
103102
- [ ] etrace()
104103
- [ ] assert()
@@ -139,7 +138,7 @@
139138
- [ ] Records
140139
- [ ] Maps
141140
- [ ] (Other objects just use ===)
142-
- [ ] `reflect::class()`
141+
- [ ] `meta::class()`
143142
- [ ] toString()
144143
- [ ] toLocaleString()
145144
- [ ] valueOf()

src/meta-methods.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Meta-methods
22

3-
Methods of the `meta` namespace may be implemented in a class or interface for overriding language behavior; those are referred to as *meta-methods*.
3+
*Certain* methods of the `meta` namespace may be implemented in a class or interface for overriding language behavior; those are referred to as *meta-methods*.
44

55
## meta::call()
66

src/overview/language-comparison/as3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The `Object` type is not dynamic per se, nor does it contain `undefined`, nor ar
3131

3232
**Matching**: The `str.match` resulting object is slightly different, but still supports indexing.
3333

34-
**Obtaining constructor**: `o.reflect::class()`
34+
**Obtaining constructor**: `o.meta::class()`
3535

3636
## Nullability
3737

src/types/object.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ All types but \{ `void`, `null`, `uint`, `int`, `float`, `double`, `decimal`, `b
77
**Note**: When it is necessary to obtain the constructor of an object, use:
88

99
```
10-
obj.reflect::class()
10+
obj.meta::class()
1111
```
1212

1313
</blockquote>

0 commit comments

Comments
 (0)