|
FreeTensor
|
#include <sub_tree.h>
Public Member Functions | |
| SubTree (const ChildOf &c) | |
| ~SubTree () | |
| SubTree (std::nullptr_t) | |
| template<std::derived_from< T > U> | |
| SubTree (const Ref< U > &obj) | |
| template<std::derived_from< T > U> | |
| SubTree (Ref< U > &&obj) | |
| SubTree & | operator= (SubTree &&other) |
| template<NullPolicy OTHER_POLICY> | |
| SubTree & | operator= (SubTree< T, OTHER_POLICY > &&other) |
| SubTree & | operator= (const SubTree &other) |
| template<NullPolicy OTHER_POLICY> | |
| SubTree & | operator= (const SubTree< T, OTHER_POLICY > &other) |
| template<class U > requires std::derived_from<T, U> | |
| operator Ref< U > () const | |
| T & | operator* () const |
| T * | operator-> () const |
| template<class U > | |
| Ref< U > | as () const |
| bool | isValid () const |
| SubTree (SubTree &&other) | |
| template<NullPolicy OTHER_POLICY> | |
| SubTree (SubTree< T, OTHER_POLICY > &&other) | |
| SubTree (const SubTree &other) | |
| template<NullPolicy OTHER_POLICY> | |
| SubTree (const SubTree< T, OTHER_POLICY > &other) | |
Friends | |
| template<class , NullPolicy > | |
| class | SubTree |
Plugging a Ref of ASTPart as a sub-tree in the AST
This class ensures that each Ref of an ASTPart having a single parent. In other words, there will not be two ASTParts in one AST sharing the same address. If an ASTPart is assigned as a SubTree, but it has already been in another SubTree, it will be automatically copied
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |