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

#include <tree_views.h>

Inheritance diagram for lang::Def:
Collaboration diagram for lang::Def:

Public Member Functions

 Def (const TreeRef &tree)
 
Ident name ()
 
ListView< Paramparams () const
 
ListView< Paramreturns () const
 
ListView< Comprehensionstatements () const
 
- Public Member Functions inherited from lang::TreeView
 TreeView (const TreeRef &tree_)
 
TreeRef tree () const
 
const SourceRangerange () const
 
 operator TreeRef () const
 

Static Public Member Functions

static TreeRef create (const SourceRange &range, TreeRef name, TreeRef paramlist, TreeRef retlist, TreeRef stmts_list)
 

Additional Inherited Members

- Protected Member Functions inherited from lang::TreeView
TreeRef subtree (size_t i) const
 
- Protected Attributes inherited from lang::TreeView
TreeRef tree_
 

Constructor & Destructor Documentation

lang::Def::Def ( const TreeRef tree)
inlineexplicit

Member Function Documentation

static TreeRef lang::Def::create ( const SourceRange range,
TreeRef  name,
TreeRef  paramlist,
TreeRef  retlist,
TreeRef  stmts_list 
)
inlinestatic
Ident lang::Def::name ( )
inline
ListView<Param> lang::Def::params ( ) const
inline
ListView<Param> lang::Def::returns ( ) const
inline
ListView<Comprehension> lang::Def::statements ( ) const
inline

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