Porytiles
Loading...
Searching...
No Matches
struct_definition.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <cstddef>
4#include <string>
5#include <vector>
6
8
9namespace porytiles {
10
22 std::string type_name;
23 std::size_t pointer_depth{0};
24 std::string member_name;
25 bool is_const{false};
27};
28
47 std::string name;
48 std::vector<StructMemberDeclaration> members;
50};
51
52} // namespace porytiles
Represents a position within source content.
A parsed C struct type definition.
std::vector< StructMemberDeclaration > members
One member declaration inside a C struct definition.