![]() |
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>
Classes | |
| struct | UnwindTarget |
Public Types | |
| enum | Type { Loop , With , Block , Finally , Catch } |
| enum | UnwindType { Break , Continue , Return } |
| using | Reference = Codegen::Reference |
| using | BytecodeGenerator = Moth::BytecodeGenerator |
| using | Instruction = Moth::Instruction |
Public Member Functions | |
| 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 | |
| Codegen * | cg |
| ControlFlow * | parent |
| Type | type |
Protected Member Functions | |
| virtual BytecodeGenerator::Label | getUnwindTarget (UnwindType, const QString &=QString()) |
| virtual bool | requiresUnwind () |
| QString | loopLabel () const |
| BytecodeGenerator * | generator () const |
Definition at line 27 of file qv4compilercontrolflow_p.h.
Definition at line 29 of file qv4compilercontrolflow_p.h.
Definition at line 30 of file qv4compilercontrolflow_p.h.
Definition at line 28 of file qv4compilercontrolflow_p.h.
| Enumerator | |
|---|---|
| Loop | |
| With | |
| Block | |
| Finally | |
| Catch | |
Definition at line 32 of file qv4compilercontrolflow_p.h.
| Enumerator | |
|---|---|
| Break | |
| Continue | |
| Return | |
Definition at line 40 of file qv4compilercontrolflow_p.h.
Definition at line 55 of file qv4compilercontrolflow_p.h.
References ControlFlow(), parent, and type.
Referenced by ControlFlow().
|
inlinevirtual |
Definition at line 61 of file qv4compilercontrolflow_p.h.
|
inlineprotected |
Definition at line 122 of file qv4compilercontrolflow_p.h.
|
inlineprotectedvirtual |
Reimplemented in QV4::Compiler::ControlFlowLoop.
Definition at line 96 of file qv4compilercontrolflow_p.h.
|
inline |
Definition at line 85 of file qv4compilercontrolflow_p.h.
|
inlinevirtual |
Reimplemented in QV4::Compiler::ControlFlowLoop.
Definition at line 83 of file qv4compilercontrolflow_p.h.
|
inlineprotected |
Definition at line 114 of file qv4compilercontrolflow_p.h.
|
inline |
Definition at line 104 of file qv4compilercontrolflow_p.h.
References parent.
|
inlineprotectedvirtual |
Reimplemented in QV4::Compiler::ControlFlowBlock, QV4::Compiler::ControlFlowCatch, QV4::Compiler::ControlFlowFinally, QV4::Compiler::ControlFlowUnwindCleanup, and QV4::Compiler::ControlFlowWith.
Definition at line 99 of file qv4compilercontrolflow_p.h.
Referenced by QV4::Compiler::ControlFlowUnwind::emitUnwindHandler(), and unwindTarget().
|
inlinevirtual |
Reimplemented in QV4::Compiler::ControlFlowCatch, QV4::Compiler::ControlFlowFinally, and QV4::Compiler::ControlFlowUnwind.
Definition at line 108 of file qv4compilercontrolflow_p.h.
|
inline |
Definition at line 65 of file qv4compilercontrolflow_p.h.
References Break, Continue, parent, requiresUnwind(), and Return.
| Codegen* QV4::Compiler::ControlFlow::cg |
Definition at line 51 of file qv4compilercontrolflow_p.h.
| ControlFlow* QV4::Compiler::ControlFlow::parent |
Definition at line 52 of file qv4compilercontrolflow_p.h.
Referenced by ControlFlow(), hasLoop(), parentUnwindHandler(), and unwindTarget().
| Type QV4::Compiler::ControlFlow::type |
Definition at line 53 of file qv4compilercontrolflow_p.h.
Referenced by ControlFlow(), and hasLoop().