Porytiles
Loading...
Searching...
No Matches
indexed_array_declaration.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4#include <optional>
5#include <string>
6#include <vector>
7
10
11namespace porytiles {
12
22 std::string index_name;
23 std::optional<std::int64_t> value;
24 std::vector<Token> value_tokens;
26};
27
42 std::string name;
43 std::vector<IndexedArrayEntry> entries;
45};
46
47} // namespace porytiles
A parsed C array declaration that uses designated initializers.
std::vector< IndexedArrayEntry > entries
One designated-initializer entry of an indexed array.
std::optional< std::int64_t > value
Represents a position within source content.