diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-11-29 18:09:12 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-11-29 18:09:12 -0500 |
| commit | f66f8ad7119207b99f00ea2ea389550ee65db5b3 (patch) | |
| tree | 5b5a7c887b311e3de2f2cb293b1228598c5b9eb1 /ast.h | |
| parent | 4b5e4cd1f21582f5e5fa682ab4e4bff252963468 (diff) | |
Add serialization and deserialization
Diffstat (limited to 'ast.h')
| -rw-r--r-- | ast.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -145,6 +145,7 @@ typedef enum { DocTest, Use, InlineCCode, + Serialize, Deserialize, } ast_e; struct ast_s { @@ -326,6 +327,13 @@ struct ast_s { struct type_s *type; type_ast_t *type_ast; } InlineCCode; + struct { + ast_t *value; + } Serialize; + struct { + ast_t *value; + type_ast_t *type; + } Deserialize; } __data; }; |
