OpenVDB: openvdb_ax/ast/Parse.h File Reference

OpenVDB 9.0.0

Namespaces | Functions
Parse.h File Reference

Parsing methods for creating abstract syntax trees out of AX code. More...

`#include "AST.h"`
`#include "../compiler/Logger.h"`
`#include <openvdb/version.h>`

Go to the source code of this file.

## Namespaces
namespace | openvdb
namespace | openvdb::v9_0
namespace | openvdb::v9_0::ax
namespace | openvdb::v9_0::ax::ast

## Functions
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. More...
openvdb::ax::ast::Tree::Ptr | parse (const char *code)
| Construct an abstract syntax tree from a code snippet. A runtime exception will be thrown with the first syntax error. More...

## Detailed Description

Parsing methods for creating abstract syntax trees out of AX code.

Authors
  Nick Avramoussis, Richard Jones