Tensor Comprehensions
|
#include <tree.h>
Public Member Functions | |
String (const std::string &value_) | |
virtual const std::string & | stringValue () 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 double | doubleValue () 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 | |
std::string | value_ |
Additional Inherited Members | |
Public Attributes inherited from lang::Tree | |
int | kind_ |
|
inline |
|
inlinestatic |
|
inlineoverridevirtual |
Reimplemented from lang::Tree.
|
private |