|
|
typedef std::vector< Node * >::const_iterator | const_iterator |
| |
|
|
| Node (int tag) |
| |
|
| Node (int tag, std::initializer_list< Node * > kids) |
| |
|
| Node (int tag, const std::vector< Node * > &kids) |
| |
|
| Node (int tag, const std::string &str) |
| |
|
int | get_tag () const |
| |
|
void | set_tag (int tag) |
| |
|
std::string | get_str () const |
| |
|
void | set_str (const std::string &str) |
| |
|
void | append_kid (Node *kid) |
| |
|
void | prepend_kid (Node *kid) |
| |
|
unsigned | get_num_kids () const |
| |
|
Node * | get_kid (unsigned index) const |
| |
|
Node * | get_last_kid () const |
| |
|
void | shift_kid () |
| |
|
void | set_kid (unsigned index, Node *kid) |
| |
|
const_iterator | cbegin () const |
| |
|
const_iterator | cend () const |
| |
|
void | set_loc (const Location &loc) |
| |
|
const Location & | get_loc () const |
| |
|
template<typename Fn > |
| void | preorder (Fn fn) |
| |
|
template<typename Fn > |
| void | each_child (Fn fn) const |
| |
| void | set_operand (const Operand &op) |
| | Set the Node's Operand. More...
|
| |
| bool | has_operand () const |
| | Check whether this Node has a valid Operand. More...
|
| |
| const Operand | get_operand () const |
| | Get this Node's Operand. More...
|
| |
◆ get_operand()
| const Operand HasOperand::get_operand |
( |
| ) |
const |
|
inlineinherited |
◆ has_operand()
| bool HasOperand::has_operand |
( |
| ) |
const |
|
inlineinherited |
◆ set_operand()
| void HasOperand::set_operand |
( |
const Operand & |
op | ) |
|
|
inlineinherited |
The documentation for this class was generated from the following files: