![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qv4compilercontrolflow_p.h>
Public Member Functions | |
ControlFlowFinally (Codegen *cg, QQmlJS::AST::Finally *finally, bool hasCatchBlock) | |
virtual bool | requiresUnwind () override |
BytecodeGenerator::ExceptionHandler * | unwindHandler () override |
~ControlFlowFinally () | |
Public Member Functions inherited from QV4::Compiler::ControlFlowUnwind | |
ControlFlowUnwind (Codegen *cg, Type type) | |
void | setupUnwindHandler () |
void | emitUnwindHandler () |
Public Member Functions inherited from QV4::Compiler::ControlFlow | |
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 () |
Public Attributes | |
QQmlJS::AST::Finally * | finally |
bool | insideFinally = false |
Public Attributes inherited from QV4::Compiler::ControlFlowUnwind | |
BytecodeGenerator::ExceptionHandler | unwindLabel |
Public Attributes inherited from QV4::Compiler::ControlFlow | |
Codegen * | cg |
ControlFlow * | parent |
Type | type |
Additional Inherited Members | |
Public Types inherited from QV4::Compiler::ControlFlow | |
enum | Type { Loop , With , Block , Finally , Catch } |
enum | UnwindType { Break , Continue , Return } |
using | Reference = Codegen::Reference |
using | BytecodeGenerator = Moth::BytecodeGenerator |
using | Instruction = Moth::Instruction |
Protected Member Functions inherited from QV4::Compiler::ControlFlow | |
virtual BytecodeGenerator::Label | getUnwindTarget (UnwindType, const QString &=QString()) |
QString | loopLabel () const |
BytecodeGenerator * | generator () const |
Definition at line 336 of file qv4compilercontrolflow_p.h.
|
inline |
Definition at line 341 of file qv4compilercontrolflow_p.h.
References ControlFlowFinally(), QV4::Compiler::ControlFlow::Finally, and QV4::Compiler::ControlFlowUnwind::setupUnwindHandler().
Referenced by ControlFlowFinally().
|
inline |
Definition at line 362 of file qv4compilercontrolflow_p.h.
References QV4::Compiler::ControlFlowUnwind::emitUnwindHandler(), and insideFinally.
|
inlineoverridevirtual |
Reimplemented from QV4::Compiler::ControlFlow.
Definition at line 354 of file qv4compilercontrolflow_p.h.
References insideFinally.
|
inlineoverridevirtual |
Reimplemented from QV4::Compiler::ControlFlowUnwind.
Definition at line 358 of file qv4compilercontrolflow_p.h.
QQmlJS::AST::Finally* QV4::Compiler::ControlFlowFinally::finally |
Definition at line 338 of file qv4compilercontrolflow_p.h.
bool QV4::Compiler::ControlFlowFinally::insideFinally = false |
Definition at line 339 of file qv4compilercontrolflow_p.h.
Referenced by ~ControlFlowFinally(), and requiresUnwind().