![]() |
Spicy
|
#include <bitfield.h>
Public Member Functions | |
Bits (ID id, int lower, int upper, int field_width, std::optional< AttributeSet > attrs={}, Meta m=Meta()) | |
const auto & | id () const |
auto | lower () const |
auto | upper () const |
auto | fieldWidth () const |
auto | attributes () const |
const Type & | ddType () const |
NodeRef | ddRef () const |
const auto & | itemType () const |
auto | properties () const |
void | setAttributes (const AttributeSet &attrs) |
void | setItemType (const Type &t) |
bool | operator== (const Bits &other) const |
![]() | |
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 |
AST node for a bitfield element.
|
inline |
Implements the Node
interface.