![]() |
Spicy
|
Classes | |
struct | Error |
class | None |
Typedefs | |
using | Properties = std::map< std::string, node::detail::PropertyValue > |
Enumerations | |
enum | ErrorPriority { ErrorPriority::Normal, ErrorPriority::Low } |
Functions | |
template<typename T , typename Other , IF_DERIVED_FROM(T, trait::isNode) , IF_DERIVED_FROM(Other, trait::isNode) > | |
bool | isEqual (const T *this_, const Other &other) |
template<typename T > | |
std::vector< T > | flattenedChilds (const Node &n) |
Variables | |
const Node | none = None::create() |
Checks equality for two objects both implementing the Node
interface.
If the two objects have different types, this will return false. Otherwise it will forward to the objects equality operator.
using hilti::node::Properties = typedef std::map<std::string, node::detail::PropertyValue> |
Properties associated with an AST node. A property is a key/value pair recording node-specific, atomic information that's not represented by further child nodes.
|
strong |
std::vector<T> hilti::node::flattenedChilds | ( | const Node & | n | ) |
Returns a list of all childs of specific type, descending recursively to find instance anywhere below this node.
const Node hilti::node::none = None::create() |
Singleton.