aboutsummaryrefslogtreecommitdiff
path: root/ast.h
diff options
context:
space:
mode:
Diffstat (limited to 'ast.h')
-rw-r--r--ast.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ast.h b/ast.h
index 01ca9537..0cd5a033 100644
--- a/ast.h
+++ b/ast.h
@@ -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;
};