#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "third_party/blink/renderer/core/editing/state_machines/backspace_state_machine.h"
#include <ostream>
#include "third_party/blink/renderer/platform/text/character.h"
#include "third_party/blink/renderer/platform/wtf/text/character_names.h"
#include "third_party/blink/renderer/platform/wtf/text/unicode.h"
namespace blink {
#define FOR_EACH_BACKSPACE_STATE_MACHINE_STATE(V) …
enum class BackspaceStateMachine::BackspaceState { … };
std::ostream& operator<<(std::ostream& os,
BackspaceStateMachine::BackspaceState state) { … }
BackspaceStateMachine::BackspaceStateMachine()
: … { … }
TextSegmentationMachineState BackspaceStateMachine::FeedPrecedingCodeUnit(
UChar code_unit) { … }
TextSegmentationMachineState BackspaceStateMachine::TellEndOfPrecedingText() { … }
TextSegmentationMachineState BackspaceStateMachine::FeedFollowingCodeUnit(
UChar code_unit) { … }
int BackspaceStateMachine::FinalizeAndGetBoundaryOffset() { … }
void BackspaceStateMachine::Reset() { … }
TextSegmentationMachineState BackspaceStateMachine::MoveToNextState(
BackspaceState new_state) { … }
TextSegmentationMachineState BackspaceStateMachine::Finish() { … }
}