#include <regexp_interpreter.h>
Definition at line 16 of file regexp_interpreter.h.
◆ Match()
ObjectPtr dart::IrregexpInterpreter::Match |
( |
const TypedData & |
bytecode, |
|
|
const String & |
subject, |
|
|
int32_t * |
captures, |
|
|
int32_t |
start_position |
|
) |
| |
|
static |
Definition at line 692 of file regexp_interpreter.cc.
695 {
696 uint16_t previous_char = '\n';
697 if (start_position != 0) {
698 previous_char = subject.CharAt(start_position - 1);
699 }
700
701 if (subject.IsOneByteString()) {
702 return RawMatch<uint8_t>(bytecode, subject, registers, start_position,
703 previous_char);
704 } else if (subject.IsTwoByteString()) {
705 return RawMatch<uint16_t>(bytecode, subject, registers, start_position,
706 previous_char);
707 } else {
710 }
711}
static const Bool & False()
The documentation for this class was generated from the following files: