![]() |
Qt 6.x
The Qt SDK
|
#include <qv4bytecodegenerator_p.h>
Inheritance diagram for QV4::Moth::BytecodeGenerator::Label:
Collaboration diagram for QV4::Moth::BytecodeGenerator::Label:Public Types | |
| enum | LinkMode { LinkNow , LinkLater } |
Public Member Functions | |
| Label ()=default | |
| Label (BytecodeGenerator *generator, LinkMode mode=LinkNow) | |
| void | link () |
| bool | isValid () const |
Public Attributes | |
| BytecodeGenerator * | generator = nullptr |
| int | index = -1 |
Definition at line 47 of file qv4bytecodegenerator_p.h.
| Enumerator | |
|---|---|
| LinkNow | |
| LinkLater | |
Definition at line 48 of file qv4bytecodegenerator_p.h.
|
default |
|
inline |
Definition at line 53 of file qv4bytecodegenerator_p.h.
References generator, link(), and LinkNow.
Here is the call graph for this function:
|
inline |
Definition at line 67 of file qv4bytecodegenerator_p.h.
References generator.
Referenced by QV4::Compiler::ControlFlow::unwindTarget().
Here is the caller graph for this function:
|
inline |
Definition at line 61 of file qv4bytecodegenerator_p.h.
References QV4::Moth::BytecodeGenerator::clearLastInstruction(), generator, index, and Q_ASSERT.
Referenced by Label(), QV4::Compiler::ControlFlowBlock::~ControlFlowBlock(), QV4::Compiler::ControlFlowCatch::~ControlFlowCatch(), QV4::Compiler::ControlFlowFinally::~ControlFlowFinally(), QV4::Compiler::ControlFlowUnwindCleanup::~ControlFlowUnwindCleanup(), QV4::Compiler::ControlFlowWith::~ControlFlowWith(), QV4::Compiler::Codegen::defineFunction(), QV4::Compiler::Codegen::visit(), QV4::Compiler::Codegen::visit(), QV4::Compiler::Codegen::visit(), QV4::Compiler::Codegen::visit(), QV4::Compiler::Codegen::visit(), QV4::Compiler::Codegen::visit(), and QV4::Compiler::Codegen::visit().
Here is the call graph for this function:
Here is the caller graph for this function:| BytecodeGenerator* QV4::Moth::BytecodeGenerator::Label::generator = nullptr |
Definition at line 69 of file qv4bytecodegenerator_p.h.
Referenced by Label(), QV4::Moth::BytecodeGenerator::ExceptionHandler::~ExceptionHandler(), isValid(), QV4::Moth::BytecodeGenerator::ExceptionHandler::isValid(), and link().
| int QV4::Moth::BytecodeGenerator::Label::index = -1 |
Definition at line 70 of file qv4bytecodegenerator_p.h.
Referenced by link(), and QV4::Moth::BytecodeGenerator::Jump::link().