#include "third_party/blink/renderer/core/frame/selector_directive.h"
#include "third_party/blink/renderer/bindings/core/v8/script_promise_resolver.h"
#include "third_party/blink/renderer/core/dom/range.h"
#include "third_party/blink/renderer/core/editing/position.h"
#include "third_party/blink/renderer/core/editing/range_in_flat_tree.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/platform/bindings/exception_code.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/bindings/script_state.h"
namespace blink {
SelectorDirective::SelectorDirective(Type type) : … { … }
SelectorDirective::~SelectorDirective() = default;
ScriptPromise<Range> SelectorDirective::getMatchingRange(
ScriptState* state,
ExceptionState& exception_state) const { … }
void SelectorDirective::DidFinishMatching(const RangeInFlatTree* range) { … }
void SelectorDirective::ResolvePromise() const { … }
void SelectorDirective::Trace(Visitor* visitor) const { … }
}