v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
regexp-parser.h
Go to the documentation of this file.
1
// Copyright 2016 the V8 project authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#ifndef V8_REGEXP_REGEXP_PARSER_H_
6
#define V8_REGEXP_REGEXP_PARSER_H_
7
8
#include "
src/common/assert-scope.h
"
9
#include "
src/handles/handles.h
"
10
#include "
src/regexp/regexp-flags.h
"
11
12
namespace
v8
{
13
namespace
internal
{
14
15
class
String
;
16
class
Zone
;
17
18
struct
RegExpCompileData;
19
20
class
V8_EXPORT_PRIVATE
RegExpParser
:
public
AllStatic
{
21
public
:
22
static
bool
ParseRegExpFromHeapString(
Isolate
* isolate,
Zone
* zone,
23
DirectHandle<String>
input,
24
RegExpFlags
flags,
25
RegExpCompileData
*
result
);
26
27
template
<
class
CharT>
28
static
bool
VerifyRegExpSyntax(
Zone
* zone, uintptr_t stack_limit,
29
const
CharT* input,
int
input_length,
30
RegExpFlags
flags,
RegExpCompileData
*
result
,
31
const
DisallowGarbageCollection
& no_gc);
32
};
33
34
}
// namespace internal
35
}
// namespace v8
36
37
#endif
// V8_REGEXP_REGEXP_PARSER_H_
Zone
friend Zone
Definition
asm-types.cc:195
assert-scope.h
v8::base::Flags< RegExpFlag >
v8::internal::AllStatic
Definition
globals.h:364
v8::internal::DirectHandle
Definition
handles.h:659
v8::internal::Isolate
Definition
isolate.h:586
v8::internal::PerThreadAssertScopeEmpty< kAllow, kTypes... >
v8::internal::RegExpParser
Definition
regexp-parser.h:20
v8::internal::Zone
Definition
zone.h:43
handles.h
result
ZoneVector< RpoNumber > & result
Definition
jump-threading.cc:21
v8::internal::internal
internal
Definition
wasm-objects-inl.h:458
v8_inspector::protocol::String
v8_inspector::String16 String
Definition
string-util.h:26
v8
Definition
api-arguments-inl.h:19
regexp-flags.h
V8_EXPORT_PRIVATE
#define V8_EXPORT_PRIVATE
Definition
macros.h:460
v8::internal::RegExpCompileData
Definition
regexp.h:31
src
regexp
regexp-parser.h
Generated on Sun Apr 6 2025 21:08:57 for v8 by
1.12.0