|
Porytiles
|
A parsed C struct type definition. More...
#include <struct_definition.hpp>
Public Attributes | |
| std::string | name |
| std::vector< StructMemberDeclaration > | members |
| SourcePosition | position |
A parsed C struct type definition.
Captures definitions of the form:
Only named definitions with a member body are captured; forward declarations and anonymous typedef structs are not. members holds the declarations the parser could pattern-match, in declaration order; unparseable members are skipped tolerantly, never aborting the scan.
Definition at line 46 of file struct_definition.hpp.
| std::vector<StructMemberDeclaration> porytiles::StructDefinition::members |
Definition at line 48 of file struct_definition.hpp.
| std::string porytiles::StructDefinition::name |
Definition at line 47 of file struct_definition.hpp.
| SourcePosition porytiles::StructDefinition::position |
Definition at line 49 of file struct_definition.hpp.