Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
dart::RegExpEngine::CompilationResult Struct Reference

#include <regexp.h>

Public Member Functions

 CompilationResult (const char *error_message)
 
 CompilationResult (TypedData *bytecode, intptr_t num_registers)
 
 CompilationResult (IndirectGotoInstr *backtrack_goto, GraphEntryInstr *graph_entry, intptr_t num_blocks, intptr_t num_stack_locals, intptr_t num_registers)
 
 NOT_IN_PRECOMPILED (IndirectGotoInstr *backtrack_goto)
 
 NOT_IN_PRECOMPILED (GraphEntryInstr *graph_entry)
 
 NOT_IN_PRECOMPILED (const intptr_t num_blocks)
 
 NOT_IN_PRECOMPILED (const intptr_t num_stack_locals)
 

Public Attributes

const char * error_message
 
TypedDatabytecode
 
intptr_t num_registers
 

Detailed Description

Definition at line 1450 of file regexp.h.

Constructor & Destructor Documentation

◆ CompilationResult() [1/3]

dart::RegExpEngine::CompilationResult::CompilationResult ( const char *  error_message)
inlineexplicit

Definition at line 1451 of file regexp.h.

1453#if !defined(DART_PRECOMPILED_RUNTIME)
1454 backtrack_goto(nullptr),
1455 graph_entry(nullptr),
1456 num_blocks(-1),
1457 num_stack_locals(-1),
1458#endif
1459 bytecode(nullptr),
1460 num_registers(-1) {
1461 }

◆ CompilationResult() [2/3]

dart::RegExpEngine::CompilationResult::CompilationResult ( TypedData bytecode,
intptr_t  num_registers 
)
inline

Definition at line 1463 of file regexp.h.

1464 : error_message(nullptr),
1465#if !defined(DART_PRECOMPILED_RUNTIME)
1466 backtrack_goto(nullptr),
1467 graph_entry(nullptr),
1468 num_blocks(-1),
1469 num_stack_locals(-1),
1470#endif
1473 }

◆ CompilationResult() [3/3]

dart::RegExpEngine::CompilationResult::CompilationResult ( IndirectGotoInstr backtrack_goto,
GraphEntryInstr graph_entry,
intptr_t  num_blocks,
intptr_t  num_stack_locals,
intptr_t  num_registers 
)
inline

Definition at line 1476 of file regexp.h.

1481 : error_message(nullptr),
1482 backtrack_goto(backtrack_goto),
1483 graph_entry(graph_entry),
1484 num_blocks(num_blocks),
1485 num_stack_locals(num_stack_locals),
1486 bytecode(nullptr) {}

Member Function Documentation

◆ NOT_IN_PRECOMPILED() [1/4]

dart::RegExpEngine::CompilationResult::NOT_IN_PRECOMPILED ( const intptr_t  num_blocks)

◆ NOT_IN_PRECOMPILED() [2/4]

dart::RegExpEngine::CompilationResult::NOT_IN_PRECOMPILED ( const intptr_t  num_stack_locals)

◆ NOT_IN_PRECOMPILED() [3/4]

dart::RegExpEngine::CompilationResult::NOT_IN_PRECOMPILED ( GraphEntryInstr graph_entry)

◆ NOT_IN_PRECOMPILED() [4/4]

dart::RegExpEngine::CompilationResult::NOT_IN_PRECOMPILED ( IndirectGotoInstr backtrack_goto)

Member Data Documentation

◆ bytecode

TypedData* dart::RegExpEngine::CompilationResult::bytecode

Definition at line 1496 of file regexp.h.

◆ error_message

const char* dart::RegExpEngine::CompilationResult::error_message

Definition at line 1489 of file regexp.h.

◆ num_registers

intptr_t dart::RegExpEngine::CompilationResult::num_registers

Definition at line 1497 of file regexp.h.


The documentation for this struct was generated from the following file: