OpenVDB  8.0.1
Parse.h
Go to the documentation of this file.
1 // Copyright Contributors to the OpenVDB Project
2 // SPDX-License-Identifier: MPL-2.0
3 
10 
11 #ifndef OPENVDB_AX_PARSE_HAS_BEEN_INCLUDED
12 #define OPENVDB_AX_PARSE_HAS_BEEN_INCLUDED
13 
14 #include "AST.h"
15 #include "../compiler/Logger.h"
16 
17 #include <openvdb/version.h>
18 
19 namespace openvdb {
21 namespace OPENVDB_VERSION_NAME {
22 
23 namespace ax {
24 namespace ast {
25 
38 openvdb::ax::ast::Tree::ConstPtr parse(const char* code, ax::Logger& logger);
39 
47 openvdb::ax::ast::Tree::Ptr parse(const char* code);
48 
49 } // namespace ast
50 } // namespace ax
51 
52 } // namespace OPENVDB_VERSION_NAME
53 } // namespace openvdb
54 
55 #endif // OPENVDB_AX_AST_HAS_BEEN_INCLUDED
56 
Provides the definition for every abstract and concrete derived class which represent a particular ab...
Logger for collecting errors and warnings that occur during AX compilation.
Definition: Logger.h:55
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,...
Definition: openvdb/Exceptions.h:13
Library and file format version numbers.
#define OPENVDB_VERSION_NAME
The version namespace name for this library version.
Definition: version.h:101
#define OPENVDB_USE_VERSION_NAMESPACE
Definition: version.h:153