![]() |
Toy 1.1.6
The Toy programming language is an imperative bytecode-intermediate embedded scripting language
|
Data Fields | |
| union { | |
| bool boolean | |
| int integer | |
| float number | |
| struct { | |
| Toy_RefString * ptr | |
| } string | |
| struct Toy_LiteralArray * array | |
| struct Toy_LiteralDictionary * dictionary | |
| struct { | |
| union { | |
| Toy_RefFunction * ptr | |
| Toy_NativeFn native | |
| Toy_HookFn hook | |
| } inner | |
| struct Toy_Scope * scope | |
| } function | |
| struct { | |
| Toy_RefString * ptr | |
| int hash | |
| } identifier | |
| struct { | |
| struct Toy_Literal * subtypes | |
| Toy_LiteralType typeOf | |
| unsigned char capacity | |
| unsigned char count | |
| bool constant | |
| } type | |
| struct { | |
| void * ptr | |
| int tag | |
| } opaque | |
| void * generic | |
| } | as |
| Toy_LiteralType | type |
| struct Toy_LiteralArray* Toy_Literal::array |
8
| union { ... } Toy_Literal::as |
16
| bool Toy_Literal::boolean |
1
| unsigned char Toy_Literal::capacity |
1
| bool Toy_Literal::constant |
1
| unsigned char Toy_Literal::count |
1
| struct Toy_LiteralDictionary* Toy_Literal::dictionary |
8
| struct { ... } Toy_Literal::function |
16
| void* Toy_Literal::generic |
8
| int Toy_Literal::hash |
4
| Toy_HookFn Toy_Literal::hook |
8
| struct { ... } Toy_Literal::identifier |
16
| union { ... } Toy_Literal::inner |
8
| int Toy_Literal::integer |
4
| Toy_NativeFn Toy_Literal::native |
8
| float Toy_Literal::number |
4
| struct { ... } Toy_Literal::opaque |
16
| Toy_RefString* Toy_Literal::ptr |
8
| Toy_RefFunction* Toy_Literal::ptr |
8
| void* Toy_Literal::ptr |
8
| struct Toy_Scope* Toy_Literal::scope |
@???@
| struct { ... } Toy_Literal::string |
8
| struct Toy_Literal* Toy_Literal::subtypes |
8
| int Toy_Literal::tag |
4
| struct { ... } Toy_Literal::type |
16
| Toy_LiteralType Toy_Literal::type |
4
| Toy_LiteralType Toy_Literal::typeOf |
4