|
tree-gen
C++ code generator for tree structures
|
Header file for tree-gen. More...
Go to the source code of this file.
Classes | |
| struct | tree_gen::Field |
| Represents a field. More... | |
| struct | tree_gen::Node |
| Represents a type of AST node. More... | |
| class | tree_gen::NodeBuilder |
| Convenience class for constructing a node. More... | |
| class | tree_gen::Specification |
| Struct containing everything needed for a complete specification. More... | |
Namespaces | |
| tree_gen | |
| Namespace for the tree-gen program. | |
Typedefs | |
| using | tree_gen::Nodes = std::vector< std::shared_ptr< Node > > |
| List of nodes. More... | |
Enumerations | |
| enum | tree_gen::EdgeType { tree_gen::Maybe, tree_gen::One, tree_gen::Any, tree_gen::Many, tree_gen::OptLink, tree_gen::Link, tree_gen::Prim } |
| Types of edges between nodes and primitives. More... | |
Functions | |
| std::string | tree_gen::replace_all (std::string str, const std::string &from, const std::string &to) |
| Convenience method for replacing all occurrences of a substring in a string with another string. More... | |
Header file for tree-gen.
Definition in file tree-gen.hpp.
#include <string>#include <sstream>#include <algorithm>#include <iterator>#include <vector>#include <list>#include <map>#include <memory>#include <cctype>

1.8.13