hobbes
a language, embedded compiler, and runtime for efficient dynamic expression evaluation, data storage and analysis
print.H
Go to the documentation of this file.
1 /*
2  * print : display intermediate structures for pattern matching translation
3  */
4 
5 #ifndef HOBBES_LANG_PAT_PRINT_HPP_INCLUDED
6 #define HOBBES_LANG_PAT_PRINT_HPP_INCLUDED
7 
9 #include <hobbes/lang/expr.H>
10 #include <iostream>
11 
12 namespace hobbes {
13 
14 // pretty-print a final pattern match expression
15 void printMatchResult(std::ostream&, const ExprPtr&);
16 
17 // pretty-print a pattern match table
18 void printMatchTable(std::ostream&, const PatternRows&);
19 
20 }
21 
22 #endif
23 
Definition: boot.H:7
void printMatchTable(std::ostream &, const PatternRows &)
Definition: print.C:94
void printMatchResult(std::ostream &, const ExprPtr &)
Definition: print.C:89
std::shared_ptr< Expr > ExprPtr
Definition: expr.H:58
std::vector< PatternRow > PatternRows
Definition: pattern.H:31