summaryrefslogtreecommitdiff
path: root/src/tree.h
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@colm.net>2017-07-20 14:23:29 -0400
committerAdrian Thurston <thurston@colm.net>2017-07-20 14:23:29 -0400
commitd682562dc2871de8ca925cc52a8fedc288a73ade (patch)
tree9b71bd110f218896ef672b4904ee88d7d29399b0 /src/tree.h
parent3bf99094f2cee563a5c6e60a02b1b236a5eaa187 (diff)
downloadcolm-d682562dc2871de8ca925cc52a8fedc288a73ade.tar.gz
started on a tree print in postfix notation
Postfix notation can be used as a streaming tree format as both an output and input.
Diffstat (limited to 'src/tree.h')
-rw-r--r--src/tree.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tree.h b/src/tree.h
index f0018f09..38d380d1 100644
--- a/src/tree.h
+++ b/src/tree.h
@@ -311,6 +311,11 @@ void print_tree_file( struct colm_program *prg, tree_t **sp,
void print_xml_stdout( struct colm_program *prg, tree_t **sp,
struct stream_impl *impl, tree_t *tree, int comm_attr, int trim );
+void dump_tree_collect( struct colm_program *prg, tree_t **sp,
+ StrCollect *collect, tree_t *tree, int trim );
+void dump_tree_file( struct colm_program *prg, tree_t **sp,
+ struct stream_impl *impl, tree_t *tree, int trim );
+
/*
* Iterators.
*/