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

#include <tree_views.h>

Inheritance diagram for lang::Const:
Collaboration diagram for lang::Const:

Public Member Functions

 Const (const TreeRef &tree)
 
double value () const
 
TreeRef type () 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 value, TreeRef type)
 

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::Const::Const ( const TreeRef tree)
inlineexplicit

Member Function Documentation

static TreeRef lang::Const::create ( const SourceRange range,
TreeRef  value,
TreeRef  type 
)
inlinestatic
TreeRef lang::Const::type ( ) const
inline
double lang::Const::value ( ) const
inline

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