2020-07-02 05:24:39 +00:00
|
|
|
#ifndef __renderer_vulkan_vkgen_vkstruct_h
|
|
|
|
#define __renderer_vulkan_vkgen_vkstruct_h
|
|
|
|
|
|
|
|
#include <Object.h>
|
|
|
|
|
|
|
|
#include "vkgen.h"
|
|
|
|
#include "vktype.h"
|
|
|
|
|
2020-07-05 05:59:56 +00:00
|
|
|
@class PLItem;
|
2023-06-16 09:53:37 +00:00
|
|
|
@class FieldDef;
|
2020-07-05 05:59:56 +00:00
|
|
|
|
2020-07-02 05:24:39 +00:00
|
|
|
@interface Struct: Type
|
|
|
|
{
|
2020-12-23 13:13:50 +00:00
|
|
|
string outname;
|
2023-02-10 10:36:53 +00:00
|
|
|
string label_field;
|
2022-05-29 12:53:38 +00:00
|
|
|
int write_symtab;
|
2023-02-26 11:36:53 +00:00
|
|
|
int skip;
|
|
|
|
|
|
|
|
Array *field_defs;
|
2023-06-16 09:53:37 +00:00
|
|
|
FieldDef *parse_def;
|
2023-02-26 11:36:53 +00:00
|
|
|
PLItem *field_dict;
|
|
|
|
PLItem *only;
|
2020-07-02 05:24:39 +00:00
|
|
|
}
|
2021-12-04 00:18:57 +00:00
|
|
|
-(void) queueFieldTypes;
|
2020-12-23 13:13:50 +00:00
|
|
|
-(qfot_var_t *)findField:(string) fieldName;
|
2023-02-10 10:36:53 +00:00
|
|
|
-(void) setLabelField:(string) label_field;
|
2023-02-09 12:20:27 +00:00
|
|
|
-(void) writeForward;
|
2020-12-23 13:13:50 +00:00
|
|
|
-(void) writeTable;
|
|
|
|
-(void) writeSymtabInit;
|
2021-01-04 08:26:39 +00:00
|
|
|
-(void) writeSymtabEntry;
|
2020-12-23 13:13:50 +00:00
|
|
|
-(string) outname;
|
2020-07-02 05:24:39 +00:00
|
|
|
@end
|
|
|
|
|
|
|
|
#endif//__renderer_vulkan_vkgen_vkstruct_h
|