Tensor Comprehensions
|
#include <tree_views.h>
Public Types | |
typedef ListViewIterator< T > | iterator |
typedef ListViewIterator< T > | const_iterator |
Public Member Functions | |
ListView (const TreeRef &tree) | |
iterator | begin () const |
iterator | end () const |
T | operator[] (size_t i) const |
TreeRef | map (std::function< TreeRef(const T &)> fn) |
size_t | size () const |
Public Member Functions inherited from lang::TreeView | |
TreeView (const TreeRef &tree_) | |
TreeRef | tree () const |
const SourceRange & | range () const |
operator TreeRef () const | |
Static Public Member Functions | |
static TreeRef | create (const SourceRange &range, TreeList elements) |
Additional Inherited Members | |
Protected Member Functions inherited from lang::TreeView | |
TreeRef | subtree (size_t i) const |
Protected Attributes inherited from lang::TreeView | |
TreeRef | tree_ |
typedef ListViewIterator<T> lang::ListView< T >::const_iterator |
typedef ListViewIterator<T> lang::ListView< T >::iterator |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |