OpenVDB: Parse.h Source File

OpenVDB 8.0.0

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 {
20 OPENVDB_USE_VERSION_NAMESPACE
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
openvdb::v8_2::ax::ast::parse
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,...
version.h
Library and file format version numbers.
OPENVDB_USE_VERSION_NAMESPACE
#define OPENVDB_USE_VERSION_NAMESPACE
Definition: version.h:153
OPENVDB_VERSION_NAME
#define OPENVDB_VERSION_NAME
The version namespace name for this library version.
Definition: version.h:101
openvdb::v8_2::ax::Logger
Logger for collecting errors and warnings that occur during AX compilation.
Definition: Logger.h:55
openvdb
Definition: openvdb/Exceptions.h:13
AST.h
Provides the definition for every abstract and concrete derived class which represent a particular ab...