Flutter Engine
The Flutter Engine
third_party
dart-lang
sdk
runtime
vm
regexp_interpreter.h
Go to the documentation of this file.
1
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2
// for details. All rights reserved. Use of this source code is governed by a
3
// BSD-style license that can be found in the LICENSE file.
4
5
// A simple interpreter for the Irregexp byte code.
6
7
#ifndef RUNTIME_VM_REGEXP_INTERPRETER_H_
8
#define RUNTIME_VM_REGEXP_INTERPRETER_H_
9
10
#include "
vm/allocation.h
"
11
#include "
vm/object.h
"
12
#include "
vm/zone.h
"
13
14
namespace
dart
{
15
16
class
IrregexpInterpreter
:
public
AllStatic
{
17
public
:
18
// Returns True in case of a success, False in case of a failure,
19
// Null in case of internal exception,
20
// Error in case VM error has to propagated up to the caller.
21
static
ObjectPtr
Match
(
const
TypedData
& bytecode,
22
const
String
& subject,
23
int32_t* captures,
24
int32_t start_position);
25
};
26
27
}
// namespace dart
28
29
#endif
// RUNTIME_VM_REGEXP_INTERPRETER_H_
dart::AllStatic
Definition:
allocation.h:33
dart::IrregexpInterpreter
Definition:
regexp_interpreter.h:16
dart::IrregexpInterpreter::Match
static ObjectPtr Match(const TypedData &bytecode, const String &subject, int32_t *captures, int32_t start_position)
Definition:
regexp_interpreter.cc:692
dart::ObjectPtr
Definition:
tagged_pointer.h:101
dart::String
Definition:
object.h:10158
dart::TypedData
Definition:
object.h:11634
dart
Definition:
dart_vm.cc:33
object.h
allocation.h
zone.h
Generated on Sun Jun 23 2024 21:55:49 for Flutter Engine by
1.9.4