18 lines
688 B
Plaintext
18 lines
688 B
Plaintext
|
|
type statement [display="Statement"]
|
||
|
|
{
|
||
|
|
// statement_s - 8 bytes header ONLY
|
||
|
|
// Expression entries are parsed by the parent type (menudef/itemdef)
|
||
|
|
// at the correct position in the zone streaming order
|
||
|
|
//
|
||
|
|
// When entries_ptr == -1 (inline), the parent must parse:
|
||
|
|
// 1. Array of numEntries pointers (4 bytes each)
|
||
|
|
// 2. For each pointer, an expressionEntry (12 bytes)
|
||
|
|
// 3. For string operands with -1 value, inline string
|
||
|
|
|
||
|
|
i32 num_entries [ui, readonly, display="Num Entries"];
|
||
|
|
i32 entries_ptr [ui, readonly, display="Entries Ptr"];
|
||
|
|
|
||
|
|
// Expression entries are NOT parsed here because they follow
|
||
|
|
// other inline data in the parent struct's streaming order
|
||
|
|
}
|