|
| GlobalVariable (ID id, ::hilti::Type type, std::optional< hilti::Expression > init={}, Linkage linkage=Linkage::Private, Meta m=Meta()) |
|
| GlobalVariable (ID id, ::hilti::Type type, Linkage linkage=Linkage::Private, Meta m=Meta()) |
|
| GlobalVariable (ID id, hilti::Expression init, Linkage linkage=Linkage::Private, Meta m=Meta()) |
|
| GlobalVariable (ID id, ::hilti::Type type, std::vector< hilti::Expression > args, std::optional< hilti::Expression > init={}, Linkage linkage=Linkage::Private, Meta m=Meta()) |
|
auto | init () const |
|
const auto & | type () const |
|
auto | typeArguments () const |
|
void | setInit (const hilti::Expression &i) |
|
void | setTypeArguments (std::vector< hilti::Expression > args) |
|
bool | operator== (const GlobalVariable &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 > children, Meta meta) |
|
template<typename T > |
const T & | child (int i) const |
|
template<typename T > |
void | assertChildIsA (int i) |
|
template<typename T > |
auto | children (int begin, int end) const |
|
auto | childRefs (int begin, int end) |
|
template<typename T > |
hilti::node::Set< T > | childrenOfType () const |
|
template<typename T > |
std::vector< NodeRef > | childRefsOfType () const |
|
void | addChild (Node n) |
|
const auto & | children () const |
|
auto & | children () |
|
auto & | meta () const |
|
void | setMeta (Meta m) |
|
bool | pruneWalk () const |
|
const std::optional< DocString > & | documentation () const |
|
void | clearDocumentation () |
|
void | setDocumentation (DocString doc) |
|
AST node for a declaration of global variable.