![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qv4bytecodegenerator_p.h>
Public Types | |
| enum | Special : int { Unlinked = -1 , Dead = -2 } |
| enum | LinkMode { LinkNow , LinkLater } |
Public Member Functions | |
| Label ()=default | |
| Label (BytecodeGenerator *generator, LinkMode modemode=LinkNow) | |
| void | link () const |
| bool | isValid () const |
Public Attributes | |
| BytecodeGenerator * | generator = nullptr |
| int | index = -1 |
Definition at line 50 of file qv4bytecodegenerator_p.h.
| Enumerator | |
|---|---|
| LinkNow | |
| LinkLater | |
Definition at line 56 of file qv4bytecodegenerator_p.h.
| enum QV4::Moth::BytecodeGenerator::Label::Special : int |
| Enumerator | |
|---|---|
| Unlinked | |
| Dead | |
Definition at line 51 of file qv4bytecodegenerator_p.h.
|
default |
|
inline |
Definition at line 61 of file qv4bytecodegenerator_p.h.
References generator, index, link(), LinkNow, and Unlinked.
Referenced by QV4::Moth::BytecodeGenerator::ExceptionHandler::ExceptionHandler(), QV4::Moth::BytecodeGenerator::label(), and QV4::Moth::BytecodeGenerator::newLabel().
|
inline |
Definition at line 86 of file qv4bytecodegenerator_p.h.
References generator.
|
inline |
Definition at line 70 of file qv4bytecodegenerator_p.h.
References QV4::Moth::BytecodeGenerator::clearLastInstruction(), Dead, generator, index, and Unlinked.
Referenced by Label(), and QV4::Moth::BytecodeGenerator::Jump::link().
| BytecodeGenerator* QV4::Moth::BytecodeGenerator::Label::generator = nullptr |
Definition at line 88 of file qv4bytecodegenerator_p.h.
Referenced by Label(), QV4::Moth::BytecodeGenerator::ExceptionHandler::~ExceptionHandler(), QV4::Moth::BytecodeGenerator::ExceptionHandler::isValid(), isValid(), and link().
| int QV4::Moth::BytecodeGenerator::Label::index = -1 |
Definition at line 89 of file qv4bytecodegenerator_p.h.
Referenced by Label(), QV4::Moth::BytecodeGenerator::Jump::link(), and link().