Tensor Comprehensions
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
lang::TreeView Struct Reference

#include <tree_views.h>

Inheritance diagram for lang::TreeView:

Public Member Functions

 TreeView (const TreeRef &tree_)
 
TreeRef tree () const
 
const SourceRangerange () const
 
 operator TreeRef () const
 

Protected Member Functions

TreeRef subtree (size_t i) const
 

Protected Attributes

TreeRef tree_
 

Detailed Description

TreeView provides a statically-typed way to access the members of a TreeRef instead of using TK_MATCH

Constructor & Destructor Documentation

lang::TreeView::TreeView ( const TreeRef tree_)
inlineexplicit

Member Function Documentation

lang::TreeView::operator TreeRef ( ) const
inline
const SourceRange& lang::TreeView::range ( ) const
inline
TreeRef lang::TreeView::subtree ( size_t  i) const
inlineprotected
TreeRef lang::TreeView::tree ( ) const
inline

Member Data Documentation

TreeRef lang::TreeView::tree_
protected

The documentation for this struct was generated from the following file: