Sasha Koshka
8b4fee50ab
Literals call themselves literals instead of arg
2022-10-18 23:39:07 -04:00
Sasha Koshka
d6c8f57a81
Fixed type checking for string literals
...
The string builtin was incorrectly described, and
StringLiteral.canBePassedAs was checking the type actual instead of
the type points in the case of a reducible type.
2022-10-17 01:40:00 -04:00
Sasha Koshka
500184c4ab
Enum values are auto-filled
2022-10-14 20:06:11 -04:00
Sasha Koshka
2669a04857
Enum member names and values must be unique
2022-10-14 04:00:05 -04:00
Sasha Koshka
dd29f69213
Added methods to check if a type is a number
2022-10-13 20:52:49 -04:00
Sasha Koshka
5463435fae
Untested rules for pulling types from other section kinds
2022-10-13 15:08:47 -04:00
Sasha Koshka
32faab8b36
Added method to figure out if a type has a particular member
2022-10-12 02:57:18 -04:00
Sasha Koshka
291aad8aad
Made documentation a bit better
2022-10-12 00:48:55 -04:00
Sasha Koshka
7581541ff5
Added a locatable node trait
2022-10-11 18:31:37 -04:00
Sasha Koshka
67c94fb0e8
Special function for type checking and returning an error in one fell swop
2022-10-11 18:03:44 -04:00
Sasha Koshka
41724a7e03
Added untested type mismatch error reporting thing
2022-10-11 17:04:18 -04:00
Sasha Koshka
020833c4c6
Added isSingular to method (this is cool)
2022-10-11 16:20:12 -04:00
Sasha Koshka
b8c57d5a56
StringLiteral.canBePassedAs allows variable arrays
2022-10-11 15:09:44 -04:00
Sasha Koshka
5c286cf955
Added some useful type checking thigns to literals
2022-10-04 16:19:26 -04:00
Sasha Koshka
f6ff3c725d
Stub for parsing arguments
2022-09-22 17:51:45 -04:00