11 #ifndef OPENVDB_AX_PARSE_HAS_BEEN_INCLUDED 12 #define OPENVDB_AX_PARSE_HAS_BEEN_INCLUDED 15 #include "../compiler/Logger.h" 17 #include <openvdb/version.h> 38 openvdb::ax::ast::Tree::ConstPtr
parse(
const char* code, ax::Logger& logger);
47 openvdb::ax::ast::Tree::Ptr
parse(
const char* code);
55 #endif // OPENVDB_AX_AST_HAS_BEEN_INCLUDED Provides the definition for every abstract and concrete derived class which represent a particular ab...
openvdb::ax::ast::Tree::ConstPtr parse(const char *code, ax::Logger &logger)
Construct an abstract syntax tree from a code snippet. If the code is not well formed, as defined by the AX grammar, this will simply return nullptr, with the logger collecting the errors.
Definition: Exceptions.h:13
#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