12#ifndef OPENVDB_AX_AST_PRINT_TREE_HAS_BEEN_INCLUDED
13#define OPENVDB_AX_AST_PRINT_TREE_HAS_BEEN_INCLUDED
15#include <openvdb/version.h>
35 const bool numberStatements =
true,
36 std::ostream& os = std::cout,
37 const char* indent =
" ");
49 std::ostream& os = std::cout,
50 const char* indent =
" ");
void reprint(const ast::Node &node, std::ostream &os=std::cout, const char *indent=" ")
Using the provided AST, print corresponding AX code which may have been used to create it.
void print(const ast::Node &node, const bool numberStatements=true, std::ostream &os=std::cout, const char *indent=" ")
Writes a descriptive printout of a Node hierarchy into a target stream.
Definition: Exceptions.h:13
The base abstract node which determines the interface and required methods for all derived concrete n...
Definition: AST.h:102
#define OPENVDB_VERSION_NAME
The version namespace name for this library version.
Definition: version.h.in:116
#define OPENVDB_USE_VERSION_NAMESPACE
Definition: version.h.in:202