diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-02-12 14:31:01 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-02-12 14:31:01 -0500 |
| commit | 4b8a72de3fe50a5768e405514f6c5db432759886 (patch) | |
| tree | 15b9de43aa7c28a90d0a106fd46f5643d8c5cb46 /ast.c | |
| parent | 04dddda811afe6ee0a9edc65f2a0486bdd88d520 (diff) | |
Print moment ASTs
Diffstat (limited to 'ast.c')
| -rw-r--r-- | ast.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -161,6 +161,7 @@ CORD ast_to_xml(ast_t *ast) T(FieldAccess, "<FieldAccess field=\"%s\">%r</FieldAccess>", data.field, ast_to_xml(data.fielded)) T(Optional, "<Optional>%r</Optional>", ast_to_xml(data.value)) T(NonOptional, "<NonOptional>%r</NonOptional>", ast_to_xml(data.value)) + T(Moment, "<Moment/>") T(DocTest, "<DocTest>%r<output>%r</output></DocTest>", optional_tagged("expression", data.expr), xml_escape(data.output)) T(Use, "<Use>%r%r</Use>", optional_tagged("var", data.var), xml_escape(data.path)) T(InlineCCode, "<InlineCode>%r</InlineCode>", xml_escape(data.code)) |
