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
qv4codegen.cpp File Reference

(c9778d2e9c41036cbd59976c51927d746bb78bcc)

#include "qv4codegen_p.h"
#include <private/qqmljsast_p.h>
#include <private/qqmljsdiagnosticmessage_p.h>
#include <private/qqmljslexer_p.h>
#include <private/qqmljsparser_p.h>
#include <private/qv4bytecodegenerator_p.h>
#include <private/qv4compilercontext_p.h>
#include <private/qv4compilercontrolflow_p.h>
#include <private/qv4compilerscanfunctions_p.h>
#include <private/qv4object_p.h>
#include <private/qv4objectiterator_p.h>
#include <private/qv4staticvalue_p.h>
#include <private/qv4stringtoarrayindex_p.h>
#include <QtCore/qcoreapplication.h>
#include <QtCore/qloggingcategory.h>
#include <QtCore/qscopeguard.h>
#include <QtCore/qstack.h>
#include <QtCore/qstringlist.h>
#include <QtCore/qurl.h>
#include <cmath>
+ Include dependency graph for qv4codegen.cpp:

Go to the source code of this file.

Classes

class  QV4::Compiler::Codegen::VolatileMemoryLocationScanner
 

Enumerations

enum class  CompletionState {
  Empty , EmptyAbrupt , NonEmpty , Empty ,
  EmptyAbrupt , NonEmpty
}
 
enum class  CompletionState {
  Empty , EmptyAbrupt , NonEmpty , Empty ,
  EmptyAbrupt , NonEmpty
}
 

Functions

 Q_STATIC_LOGGING_CATEGORY (lcQmlUsedBeforeDeclared, "qt.qml.usedbeforedeclared")
 
 Q_STATIC_LOGGING_CATEGORY (lcQmlInjectedParameter, "qt.qml.injectedparameter")
 
static void setJumpOutLocation (QV4::Moth::BytecodeGenerator *bytecodeGenerator, const Statement *body, const SourceLocation &fallback)
 
static CompletionState completionState (StatementList *list)
 
static NodecompletionStatement (StatementList *list)
 
static QSOperator::Op baseOp (int op)
 
static bool endsWithReturn (Module *module, Node *node)
 

Variables

static constexpr const QLatin1StringView s_globalNames []
 

Enumeration Type Documentation

◆ CompletionState [1/2]

enum class CompletionState
strong
Enumerator
Empty 
EmptyAbrupt 
NonEmpty 
Empty 
EmptyAbrupt 
NonEmpty 

Definition at line 511 of file qv4codegen.cpp.

◆ CompletionState [2/2]

enum class CompletionState
strong
Enumerator
Empty 
EmptyAbrupt 
NonEmpty 
Empty 
EmptyAbrupt 
NonEmpty 

Definition at line 511 of file qv4codegen.cpp.

Function Documentation

◆ baseOp()

static QSOperator::Op baseOp ( int op)
static

Definition at line 1368 of file qv4codegen.cpp.

◆ completionState()

static CompletionState completionState ( StatementList * list)
static

Definition at line 517 of file qv4codegen.cpp.

References Empty, EmptyAbrupt, and NonEmpty.

◆ completionStatement()

static Node * completionStatement ( StatementList * list)
static

Definition at line 538 of file qv4codegen.cpp.

References Empty, EmptyAbrupt, and NonEmpty.

◆ endsWithReturn()

static bool endsWithReturn ( Module * module,
Node * node )
static

Definition at line 3332 of file qv4codegen.cpp.

◆ Q_STATIC_LOGGING_CATEGORY() [1/2]

Q_STATIC_LOGGING_CATEGORY ( lcQmlInjectedParameter ,
"qt.qml.injectedparameter"  )

◆ Q_STATIC_LOGGING_CATEGORY() [2/2]

Q_STATIC_LOGGING_CATEGORY ( lcQmlUsedBeforeDeclared ,
"qt.qml.usedbeforedeclared"  )

◆ setJumpOutLocation()

static void setJumpOutLocation ( QV4::Moth::BytecodeGenerator * bytecodeGenerator,
const Statement * body,
const SourceLocation & fallback )
inlinestatic

Definition at line 54 of file qv4codegen.cpp.

Variable Documentation

◆ s_globalNames

static constexpr const QLatin1StringView s_globalNames
staticconstexpr

Definition at line 111 of file qv4codegen.cpp.