Represents a generic AST node, such as a statement, expression, declaration etc. More...
#include <node.h>
Public Member Functions | |
virtual string | to_string () const |
virtual location | get_location () |
bool | is_expression () |
void | assert_expression () |
virtual void | print () |
node * | substitute (node *(*sub_func)(node *)) |
Public Attributes | |
short int | node_type_id |
Protected Attributes | |
location | loc |
Friends | |
class | boost::serialization::access |
Represents a generic AST node, such as a statement, expression, declaration etc.