Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QV4::Compiler::ControlFlowWith Struct Reference

#include <qv4compilercontrolflow_p.h>

Inheritance diagram for QV4::Compiler::ControlFlowWith:
Collaboration diagram for QV4::Compiler::ControlFlowWith:

Public Member Functions

 ControlFlowWith (Codegen *cg)
 ~ControlFlowWith ()
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::ExceptionHandlerparentUnwindHandler ()

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
Public Attributes inherited from QV4::Compiler::ControlFlowUnwind
BytecodeGenerator::ExceptionHandler unwindLabel
Public Attributes inherited from QV4::Compiler::ControlFlow
Codegencg
ControlFlowparent
Type type
Protected Member Functions inherited from QV4::Compiler::ControlFlow
virtual BytecodeGenerator::Label getUnwindTarget (UnwindType, const QString &=QString())
QString loopLabel () const
BytecodeGeneratorgenerator () const

Detailed Description

Definition at line 212 of file qv4compilercontrolflow_p.h.

Constructor & Destructor Documentation

◆ ControlFlowWith()

QV4::Compiler::ControlFlowWith::ControlFlowWith ( Codegen * cg)
inline

Definition at line 214 of file qv4compilercontrolflow_p.h.

References QV4::Compiler::ControlFlowUnwind::setupUnwindHandler(), and QV4::Compiler::ControlFlow::With.

Here is the call graph for this function:

◆ ~ControlFlowWith()

QV4::Compiler::ControlFlowWith::~ControlFlowWith ( )
inline

Definition at line 225 of file qv4compilercontrolflow_p.h.

References QV4::Compiler::ControlFlowUnwind::emitUnwindHandler().

Here is the call graph for this function:

Member Function Documentation

◆ requiresUnwind()

bool QV4::Compiler::ControlFlowWith::requiresUnwind ( )
inlineoverridevirtual

Reimplemented from QV4::Compiler::ControlFlow.

Definition at line 236 of file qv4compilercontrolflow_p.h.


The documentation for this struct was generated from the following file: