chromium/third_party/blink/renderer/core/dom/tree_walker.cc

/*
 * Copyright (C) 1999 Lars Knoll ([email protected])
 * Copyright (C) 2000 Frederik Holljen ([email protected])
 * Copyright (C) 2001 Peter Kelly ([email protected])
 * Copyright (C) 2006 Samuel Weinig ([email protected])
 * Copyright (C) 2004, 2008 Apple Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public License
 * along with this library; see the file COPYING.LIB.  If not, write to
 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA 02110-1301, USA.
 *
 */

#include "third_party/blink/renderer/core/dom/tree_walker.h"

#include "third_party/blink/renderer/bindings/core/v8/v8_node_filter.h"
#include "third_party/blink/renderer/core/dom/container_node.h"
#include "third_party/blink/renderer/core/dom/node_traversal.h"
#include "third_party/blink/renderer/core/dom/node_traversal_strategy.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"

namespace blink {

TreeWalker::TreeWalker(Node* root_node,
                       unsigned what_to_show,
                       V8NodeFilter* filter)
    :{}

void TreeWalker::setCurrentNode(Node* node) {}

inline Node* TreeWalker::SetCurrent(Node* node) {}

Node* TreeWalker::parentNode(ExceptionState& exception_state) {}

Node* TreeWalker::firstChild(ExceptionState& exception_state) {}

Node* TreeWalker::lastChild(ExceptionState& exception_state) {}

// https://dom.spec.whatwg.org/#concept-traverse-siblings
template <typename Strategy>
Node* TreeWalker::TraverseSiblings(ExceptionState& exception_state) {}

Node* TreeWalker::previousSibling(ExceptionState& exception_state) {}

Node* TreeWalker::nextSibling(ExceptionState& exception_state) {}

Node* TreeWalker::previousNode(ExceptionState& exception_state) {}

Node* TreeWalker::nextNode(ExceptionState& exception_state) {}

void TreeWalker::Trace(Visitor* visitor) const {}

}  // namespace blink