Lines Matching full:iterator
23 typedef typename N::Inputs::iterator Iterator;
25 static Iterator begin(Node* node) { return node->inputs().begin(); }
26 static Iterator end(Node* node) { return node->inputs().end(); }
28 static Node* to(Iterator iterator) { return *iterator; }
29 static Node* from(Iterator iterator) { return iterator.edge().from(); }
36 typedef typename N::Uses::iterator Iterator;
38 static Iterator begin(Node* node) { return node->uses().begin(); }
39 static Iterator end(Node* node) { return node->uses().end(); }
41 static Node* to(Iterator iterator) { return *iterator; }
42 static Node* from(Iterator iterator) { return iterator.edge().to(); }