![]() |
Qt 6.x
The Qt SDK
|
#include <qv4compilercontrolflow_p.h>
Inheritance diagram for QV4::Compiler::ControlFlowBlock:
Collaboration diagram for QV4::Compiler::ControlFlowBlock:Public Member Functions | |
| ControlFlowBlock (Codegen *cg, QQmlJS::AST::Node *ast) | |
| virtual | ~ControlFlowBlock () |
| virtual bool | requiresUnwind () override |
Public Member Functions inherited from QV4::Compiler::ControlFlowUnwind | |
| ControlFlowUnwind (Codegen *cg, Type type) | |
| void | setupUnwindHandler () |
| void | emitUnwindHandler () |
| virtual BytecodeGenerator::ExceptionHandler * | unwindHandler () override |
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 () |
| virtual BytecodeGenerator::ExceptionHandler * | unwindHandler () |
Public Attributes | |
| Context * | block |
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()) |
| virtual bool | requiresUnwind () |
| QString | loopLabel () const |
| BytecodeGenerator * | generator () const |
Definition at line 243 of file qv4compilercontrolflow_p.h.
|
inline |
Definition at line 245 of file qv4compilercontrolflow_p.h.
References block, QV4::Compiler::ControlFlow::cg, QV4::Compiler::Context::emitBlockHeader(), QV4::Compiler::Codegen::enterBlock(), QV4::Compiler::ControlFlow::generator(), QV4::Compiler::Context::requiresExecutionContext, QV4::Moth::BytecodeGenerator::setUnwindHandler(), QV4::Compiler::ControlFlowUnwind::setupUnwindHandler(), and QV4::Compiler::ControlFlowUnwind::unwindLabel.
Here is the call graph for this function:
|
inlinevirtual |
Definition at line 257 of file qv4compilercontrolflow_p.h.
References block, QV4::Compiler::ControlFlow::cg, QV4::Compiler::Context::emitBlockFooter(), QV4::Compiler::ControlFlowUnwind::emitUnwindHandler(), QV4::Compiler::ControlFlow::generator(), QV4::Compiler::Codegen::leaveBlock(), QV4::Moth::BytecodeGenerator::Label::link(), QV4::Compiler::ControlFlow::parentUnwindHandler(), QV4::Compiler::Context::requiresExecutionContext, QV4::Moth::BytecodeGenerator::setUnwindHandler(), and QV4::Compiler::ControlFlowUnwind::unwindLabel.
Here is the call graph for this function:
|
inlineoverridevirtual |
Reimplemented from QV4::Compiler::ControlFlow.
Definition at line 271 of file qv4compilercontrolflow_p.h.
References block, and QV4::Compiler::Context::requiresExecutionContext.
| Context* QV4::Compiler::ControlFlowBlock::block |
Definition at line 275 of file qv4compilercontrolflow_p.h.
Referenced by ControlFlowBlock(), ~ControlFlowBlock(), and requiresUnwind().