Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QV4::Compiler::Codegen::Result Class Reference

#include <qv4codegen_p.h>

+ Collaboration diagram for QV4::Compiler::Codegen::Result:

Public Member Functions

 Result (const QString &name)
 
 Result (const Reference &lrvalue)
 
 Result (Format requested=ex)
 
 Result (const BytecodeGenerator::Label *iftrue, const BytecodeGenerator::Label *iffalse, bool trueBlockFollowsCondition)
 
const BytecodeGenerator::Labeliftrue () const
 
const BytecodeGenerator::Labeliffalse () const
 
Format format () const
 
bool accept (Format f)
 
bool trueBlockFollowsCondition () const
 
const Referenceresult () const
 
void setResult (const Reference &result)
 
void setResult (Reference &&result)
 
void clearResultName ()
 

Detailed Description

Definition at line 418 of file qv4codegen_p.h.

Constructor & Destructor Documentation

◆ Result() [1/4]

QV4::Compiler::Codegen::Result::Result ( const QString & name)
inlineexplicit

Definition at line 428 of file qv4codegen_p.h.

◆ Result() [2/4]

QV4::Compiler::Codegen::Result::Result ( const Reference & lrvalue)
inlineexplicit

Definition at line 433 of file qv4codegen_p.h.

◆ Result() [3/4]

QV4::Compiler::Codegen::Result::Result ( Format requested = ex)
inlineexplicit

Definition at line 438 of file qv4codegen_p.h.

◆ Result() [4/4]

QV4::Compiler::Codegen::Result::Result ( const BytecodeGenerator::Label * iftrue,
const BytecodeGenerator::Label * iffalse,
bool trueBlockFollowsCondition )
inlineexplicit

Definition at line 441 of file qv4codegen_p.h.

References Q_ASSERT.

Member Function Documentation

◆ accept()

bool QV4::Compiler::Codegen::Result::accept ( Format f)
inline

Definition at line 467 of file qv4codegen_p.h.

◆ clearResultName()

void QV4::Compiler::Codegen::Result::clearResultName ( )
inline

Definition at line 492 of file qv4codegen_p.h.

References QString::clear(), and QV4::Compiler::Codegen::Reference::name.

+ Here is the call graph for this function:

◆ format()

Format QV4::Compiler::Codegen::Result::format ( ) const
inline

Definition at line 463 of file qv4codegen_p.h.

◆ iffalse()

const BytecodeGenerator::Label * QV4::Compiler::Codegen::Result::iffalse ( ) const
inline

Definition at line 458 of file qv4codegen_p.h.

References Q_ASSERT.

Referenced by QV4::Compiler::Codegen::visit().

+ Here is the caller graph for this function:

◆ iftrue()

const BytecodeGenerator::Label * QV4::Compiler::Codegen::Result::iftrue ( ) const
inline

Definition at line 453 of file qv4codegen_p.h.

References Q_ASSERT.

Referenced by QV4::Compiler::Codegen::visit().

+ Here is the caller graph for this function:

◆ result()

const Reference & QV4::Compiler::Codegen::Result::result ( ) const
inline

Definition at line 480 of file qv4codegen_p.h.

Referenced by QV4::Compiler::Codegen::defineFunction().

+ Here is the caller graph for this function:

◆ setResult() [1/2]

void QV4::Compiler::Codegen::Result::setResult ( const Reference & result)
inline

Definition at line 484 of file qv4codegen_p.h.

◆ setResult() [2/2]

void QV4::Compiler::Codegen::Result::setResult ( Reference && result)
inline

Definition at line 488 of file qv4codegen_p.h.

◆ trueBlockFollowsCondition()

bool QV4::Compiler::Codegen::Result::trueBlockFollowsCondition ( ) const
inline

Definition at line 476 of file qv4codegen_p.h.

Referenced by QV4::Compiler::Codegen::visit().

+ Here is the caller graph for this function:

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