|
| LocalVariable (ID id, ::hilti::Type type, std::optional< hilti::Expression > init, bool const_=false, Meta m=Meta()) |
|
| LocalVariable (ID id, ::hilti::Type type, bool const_=false, Meta m=Meta()) |
|
| LocalVariable (ID id, hilti::Expression init, bool const_=false, Meta m=Meta()) |
|
| LocalVariable (ID id, ::hilti::Type type, std::vector< hilti::Expression > args, std::optional< hilti::Expression > init={}, bool const_=false, Meta m=Meta()) |
|
| LocalVariable (ID id, bool const_=false, Meta m=Meta()) |
|
auto | init () const |
|
const auto & | type () const |
|
auto | typeArguments () const |
|
void | setInit (hilti::Expression i) |
|
void | setType (hilti::Type t) |
|
void | setTypeArguments (std::vector< hilti::Expression > args) |
|
bool | operator== (const LocalVariable &other) const |
|
bool | isConstant () const |
|
const ID & | id () const |
|
Linkage | linkage () const |
|
std::string | displayName () const |
|
auto | isEqual (const Declaration &other) const |
|
auto | properties () const |
|
const ID & | canonicalID () const |
|
void | setCanonicalID (ID id) |
|
| NodeBase (Meta meta) |
|
| NodeBase (std::vector< Node > childs, Meta meta) |
|
template<typename T > |
const T & | child (int i) const |
|
template<typename T > |
void | assertChildIsA (int i) |
|
template<typename T > |
auto | childs (int begin, int end) const |
|
auto | childRefs (int begin, int end) |
|
template<typename T > |
hilti::node::Set< T > | childsOfType () const |
|
template<typename T > |
std::vector< NodeRef > | childRefsOfType () const |
|
void | addChild (Node n) |
|
const auto & | childs () const |
|
auto & | childs () |
|
auto & | meta () const |
|
void | setMeta (Meta m) |
|
bool | pruneWalk () const |
|
AST node for a declaration of a local variable.