ROSE  0.11.125.0
Tree/BasicTypes.h
1 #ifndef ROSE_Tree_BasicTypes_H
2 #define ROSE_Tree_BasicTypes_H
3 
4 #include <memory>
5 
6 namespace Rose {
7 namespace Tree {
8 
9 class InsertionError;
10 
11 class Base;
12 using BasePtr = std::shared_ptr<Base>;
14 class CycleError;
15 
16 template<class T> class Edge;
17 
18 class Exception;
19 
20 class ReverseEdge;
21 
22 } // namespace
23 } // namespace
24 #endif
Base class for errors related to the AST.
Main namespace for the ROSE library.
Points from a child to a parent in the tree.
Definition: Tree/Base.h:36
std::shared_ptr< Base > BasePtr
Shared-ownership pointer for Base.
A parent-to-child edge in a tree.
Definition: Tree/Base.h:129
Error when attaching a vertex to a tree would cause a cycle.