Tensor Comprehensions
|
#include <tree.h>
Public Member Functions | |
Number (double value_) | |
virtual double | doubleValue () const override |
Public Member Functions inherited from lang::Tree | |
Tree (int kind_) | |
int | kind () const |
virtual bool | isAtom () const |
virtual const SourceRange & | range () const |
virtual const std::string & | stringValue () const |
virtual bool | boolValue () const |
virtual const TreeList & | trees () const |
const TreeRef & | tree (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 | |
double | value_ |
Additional Inherited Members | |
Public Attributes inherited from lang::Tree | |
int | kind_ |
|
inline |
|
inlinestatic |
|
inlineoverridevirtual |
Reimplemented from lang::Tree.
|
private |