|
Porytiles
|
One designated-initializer entry of an indexed array. More...
#include <indexed_array_declaration.hpp>
Public Attributes | |
| std::string | index_name |
| std::optional< std::int64_t > | value |
| std::vector< Token > | value_tokens |
| SourcePosition | position |
One designated-initializer entry of an indexed array.
Represents a single [index] = value element. index_name is the text of the designator (typically an enum member name such as METATILE_ATTRIBUTE_BEHAVIOR, or a numeric literal). value holds the evaluated value when the value expression could be resolved from the parser's symbol table; it is absent when the expression referenced an unknown symbol. value_tokens keeps the raw value expression so a caller can re-evaluate it against a richer symbol table later.
Definition at line 21 of file indexed_array_declaration.hpp.
| std::string porytiles::IndexedArrayEntry::index_name |
Definition at line 22 of file indexed_array_declaration.hpp.
| SourcePosition porytiles::IndexedArrayEntry::position |
Definition at line 25 of file indexed_array_declaration.hpp.
| std::optional<std::int64_t> porytiles::IndexedArrayEntry::value |
Definition at line 23 of file indexed_array_declaration.hpp.
| std::vector<Token> porytiles::IndexedArrayEntry::value_tokens |
Definition at line 24 of file indexed_array_declaration.hpp.