![]() |
Spicy
|
#include <keyword.h>
Public Member Functions | |
| Keyword (keyword::Kind kind, Meta m=Meta()) | |
| Keyword (keyword::Kind kind, Type t, Meta m=Meta()) | |
| keyword::Kind | kind () const |
| bool | operator== (const Keyword &other) const |
| bool | isLhs () const |
| bool | isTemporary () const |
| const Type & | type () const |
| auto | isConstant () const |
| auto | isEqual (const Expression &other) const |
| auto | properties () const |
Public Member Functions inherited from hilti::NodeBase | |
| 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 |
Static Public Member Functions | |
| static Declaration | createDollarDollarDeclaration (Type t) |
AST node for an expression representing a reservered keyword.
|
inlinestatic |
Helper to create $$ a declaration of a given type.
|
inline |
Implements Expression interface.
|
inline |
Implements Expression interface.
|
inline |
Implements Expression interface.
|
inline |
Implements Expression interface.
|
inline |
Implements Node interface.
|
inline |
Implements Expression interface.
1.8.13