15std::ostream& PrintAsciiOrHex(std::ostream& os,
base::uc16 c) {
16 if (c < 128 && std::isprint(c)) {
17 os << static_cast<char>(c);
19 os <<
"0x" << std::hex << static_cast<int>(c);
29 os <<
"CONSUME_RANGE [";
44 os <<
"START_OF_INPUT";
50 os <<
"START_OF_LINE";
103 os <<
"END_LOOKAROUND";
119int DigitsRequiredBelow(
int n) {
123 for (
int i = 10;
i <
n;
i *= 10) {
133 int inst_num = insts.
length();
134 int line_digit_num = DigitsRequiredBelow(inst_num);
136 for (
int i = 0;
i != inst_num; ++
i) {
138 os << std::setfill(
'0') << std::setw(line_digit_num) <<
i <<
": " << inst
146 return os << payload.
index() <<
" ("
149 <<
", " << (payload.
is_positive() ?
"positive" :
"negative") <<
")";
RegExpLookaround::Type type() const
ZoneVector< RpoNumber > & result
std::ostream & operator<<(std::ostream &os, AtomicMemoryOrder order)
#define DCHECK_GE(v1, v2)
RegExpAssertion::Type assertion_type
union v8::internal::RegExpInstruction::@129 payload
@ SET_QUANTIFIER_TO_CLOCK
LookaroundPayload lookaround