Lines Matching defs:node
10 #include "xml/node-iterators.h"
12 #include "node-fns.h"
45 bool id_permitted(Node const *node) {
46 g_return_val_if_fail(node != NULL, false);
48 if ( node->type() != ELEMENT_NODE ) {
52 return id_permitted_internal_memoized((GQuark)node->code());
56 node_matches(Node const &n) : node(n) {}
57 bool operator()(Node const &other) { return &other == &node; }
58 Node const &node;
62 Node *previous_node(Node *node) {
65 if ( !node || !node->parent() ) {
70 node->parent()->firstChild(), NULL, node_matches(*node)
74 ? node->parent()->firstChild() == node
75 : previous->next() == node);