#include "third_party/blink/renderer/core/dom/node_iterator.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_node_filter.h"
#include "third_party/blink/renderer/core/dom/attr.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/dom/node_traversal.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
namespace blink {
NodeIterator::NodePointer::NodePointer() = default;
NodeIterator::NodePointer::NodePointer(Node* n, bool b)
: … { … }
void NodeIterator::NodePointer::Clear() { … }
bool NodeIterator::NodePointer::MoveToNext(Node* root) { … }
bool NodeIterator::NodePointer::MoveToPrevious(Node* root) { … }
NodeIterator::NodeIterator(Node* root_node,
unsigned what_to_show,
V8NodeFilter* filter)
: … { … }
Node* NodeIterator::nextNode(ExceptionState& exception_state) { … }
Node* NodeIterator::previousNode(ExceptionState& exception_state) { … }
void NodeIterator::detach() { … }
void NodeIterator::NodeWillBeRemoved(Node& removed_node) { … }
void NodeIterator::UpdateForNodeRemoval(Node& removed_node,
NodePointer& reference_node) const { … }
void NodeIterator::Trace(Visitor* visitor) const { … }
}