#include "third_party/blink/renderer/core/dom/flat_tree_traversal.h"
#include "third_party/blink/renderer/core/dom/element.h"
#include "third_party/blink/renderer/core/dom/flat_tree_node_data.h"
#include "third_party/blink/renderer/core/dom/slot_assignment.h"
#include "third_party/blink/renderer/core/html/html_slot_element.h"
namespace blink {
#if DCHECK_IS_ON()
void FlatTreeTraversal::AssertFlatTreeNodeDataUpdated(
const Node& root,
int& assigned_nodes_in_slot_count,
int& nodes_which_have_assigned_slot_count) { … }
#endif
Node* FlatTreeTraversal::TraverseChild(const Node& node,
TraversalDirection direction) { … }
Node* FlatTreeTraversal::TraverseSiblings(const Node& node,
TraversalDirection direction) { … }
Node* FlatTreeTraversal::TraverseSiblingsForHostChild(
const Node& node,
TraversalDirection direction) { … }
ContainerNode* FlatTreeTraversal::TraverseParent(const Node& node) { … }
Node* FlatTreeTraversal::ChildAt(const Node& node, unsigned index) { … }
Node* FlatTreeTraversal::NextSkippingChildren(const Node& node) { … }
bool FlatTreeTraversal::ContainsIncludingPseudoElement(
const ContainerNode& container,
const Node& node) { … }
Node* FlatTreeTraversal::PreviousAbsoluteSibling(const Node& node) { … }
Node* FlatTreeTraversal::PreviousAncestorSiblingPostOrder(
const Node& current,
const Node* stay_within) { … }
Node* FlatTreeTraversal::PreviousPostOrder(const Node& current,
const Node* stay_within) { … }
bool FlatTreeTraversal::IsDescendantOf(const Node& node, const Node& other) { … }
Node* FlatTreeTraversal::CommonAncestor(const Node& node_a,
const Node& node_b) { … }
Node* FlatTreeTraversal::TraverseNextAncestorSibling(const Node& node) { … }
Node* FlatTreeTraversal::TraversePreviousAncestorSibling(const Node& node) { … }
unsigned FlatTreeTraversal::Index(const Node& node) { … }
unsigned FlatTreeTraversal::CountChildren(const Node& node) { … }
Node* FlatTreeTraversal::LastWithin(const Node& node) { … }
Node& FlatTreeTraversal::LastWithinOrSelf(const Node& node) { … }
const Element* FlatTreeTraversal::InclusiveParentElement(const Node& node) { … }
}