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

#include <tree.h>

Inheritance diagram for lang::Bool:
Collaboration diagram for lang::Bool:

Public Member Functions

 Bool (bool value_)
 
virtual bool boolValue () const override
 
- Public Member Functions inherited from lang::Tree
 Tree (int kind_)
 
int kind () const
 
virtual bool isAtom () const
 
virtual const SourceRangerange () const
 
virtual double doubleValue () const
 
virtual const std::string & stringValue () const
 
virtual const TreeListtrees () const
 
const TreeReftree (size_t i) const
 
virtual TreeRef map (std::function< TreeRef(TreeRef)> fn)
 
void expect (int k)
 
void expect (int k, int numsubtrees)
 

Static Public Member Functions

template<typename... Args>
static TreeRef create (Args &&...args)
 

Private Attributes

bool value_
 

Additional Inherited Members

- Public Attributes inherited from lang::Tree
int kind_
 

Constructor & Destructor Documentation

lang::Bool::Bool ( bool  value_)
inline

Member Function Documentation

virtual bool lang::Bool::boolValue ( ) const
inlineoverridevirtual

Reimplemented from lang::Tree.

template<typename... Args>
static TreeRef lang::Bool::create ( Args &&...  args)
inlinestatic

Member Data Documentation

bool lang::Bool::value_
private

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