aboutsummaryrefslogtreecommitdiff
path: root/src/ast.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast.h')
-rw-r--r--src/ast.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ast.h b/src/ast.h
index cad7bb64..766b484b 100644
--- a/src/ast.h
+++ b/src/ast.h
@@ -340,7 +340,8 @@ struct ast_s {
};
CORD ast_to_xml(ast_t *ast);
-const char *ast_to_str(ast_t *ast);
+const char *ast_to_xml_str(ast_t *ast);
+const char *ast_source(ast_t *ast);
CORD type_ast_to_xml(type_ast_t *ast);
PUREFUNC bool is_idempotent(ast_t *ast);
void visit_topologically(ast_list_t *ast, Closure_t fn);