![]() |
Qt 6.x
The Qt SDK
|
#include <qv4compilercontrolflow_p.h>
Public Member Functions | |
ControlFlowUnwindCleanup (Codegen *cg, std::function< void()> cleanup, Type type=Block) | |
~ControlFlowUnwindCleanup () | |
bool | requiresUnwind () override |
![]() | |
ControlFlowUnwind (Codegen *cg, Type type) | |
void | setupUnwindHandler () |
void | emitUnwindHandler () |
virtual BytecodeGenerator::ExceptionHandler * | unwindHandler () override |
![]() | |
ControlFlow (Codegen *cg, Type type) | |
virtual | ~ControlFlow () |
UnwindTarget | unwindTarget (UnwindType type, const QString &label=QString()) |
virtual QString | label () const |
bool | hasLoop () const |
BytecodeGenerator::ExceptionHandler * | parentUnwindHandler () |
virtual BytecodeGenerator::ExceptionHandler * | unwindHandler () |
Public Attributes | |
std::function< void()> | cleanup = nullptr |
![]() | |
BytecodeGenerator::ExceptionHandler | unwindLabel |
![]() | |
Codegen * | cg |
ControlFlow * | parent |
Type | type |
Additional Inherited Members | |
![]() | |
enum | Type { Loop , With , Block , Finally , Catch } |
enum | UnwindType { Break , Continue , Return } |
using | Reference = Codegen::Reference |
using | BytecodeGenerator = Moth::BytecodeGenerator |
using | Instruction = Moth::Instruction |
![]() | |
virtual BytecodeGenerator::Label | getUnwindTarget (UnwindType, const QString &=QString()) |
virtual bool | requiresUnwind () |
QString | loopLabel () const |
BytecodeGenerator * | generator () const |
Definition at line 154 of file qv4compilercontrolflow_p.h.
|
inline |
Definition at line 158 of file qv4compilercontrolflow_p.h.
References cleanup, QV4::Compiler::ControlFlow::generator(), QV4::Moth::BytecodeGenerator::setUnwindHandler(), QV4::Compiler::ControlFlowUnwind::setupUnwindHandler(), and QV4::Compiler::ControlFlowUnwind::unwindLabel.
|
inline |
Definition at line 167 of file qv4compilercontrolflow_p.h.
References cleanup, QV4::Compiler::ControlFlowUnwind::emitUnwindHandler(), QV4::Compiler::ControlFlow::generator(), QV4::Moth::BytecodeGenerator::Label::link(), QV4::Compiler::ControlFlow::parentUnwindHandler(), QV4::Moth::BytecodeGenerator::setUnwindHandler(), and QV4::Compiler::ControlFlowUnwind::unwindLabel.
|
inlineoverridevirtual |
Reimplemented from QV4::Compiler::ControlFlow.
Definition at line 176 of file qv4compilercontrolflow_p.h.
References cleanup.
Definition at line 156 of file qv4compilercontrolflow_p.h.
Referenced by ControlFlowUnwindCleanup(), ~ControlFlowUnwindCleanup(), and requiresUnwind().