![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qqmlirbuilder_p.h>
Public Types | |
| enum class | IsQmlFunction { Yes , No } |
Static Public Member Functions | |
| static QString | asString (QQmlJS::AST::UiQualifiedId *node) |
| static QTypeRevision | extractVersion (QStringView string) |
| static bool | isStatementNodeScript (QQmlJS::AST::Statement *statement) |
| static bool | isRedundantNullInitializerForPropertyDeclaration (Property *property, QQmlJS::AST::Statement *statement) |
Public Attributes | |
| QList< QQmlJS::DiagnosticMessage > | errors |
| QSet< QString > | inlineComponentsNames |
| QList< const QV4::CompiledData::Import * > | _imports |
| QList< Pragma * > | _pragmas |
| QVector< Object * > | _objects |
| QV4::CompiledData::TypeReferenceMap | _typeReferences |
| Object * | _object |
| Property * | _propertyDeclaration |
| QQmlJS::MemoryPool * | pool |
| QString | sourceCode |
| QV4::Compiler::JSUnitGenerator * | jsGenerator |
| bool | insideInlineComponent = false |
Additional Inherited Members | |
| Protected Attributes inherited from QQmlJS::AST::BaseVisitor | |
| quint16 | m_recursionDepth = 0 |
Definition at line 506 of file qqmlirbuilder_p.h.
|
strong |
| Enumerator | |
|---|---|
| Yes | |
| No | |
Definition at line 578 of file qqmlirbuilder_p.h.
| IRBuilder::IRBuilder | ( | ) |
Definition at line 372 of file qqmlirbuilder.cpp.
| void IRBuilder::accept | ( | QQmlJS::AST::Node * | node | ) |
Definition at line 573 of file qqmlirbuilder.cpp.
| bool IRBuilder::appendAlias | ( | QQmlJS::AST::UiPublicMember * | node | ) |
Definition at line 1379 of file qqmlirbuilder.cpp.
| void IRBuilder::appendBinding | ( | const QQmlJS::SourceLocation & | qualifiedNameLocation, |
| const QQmlJS::SourceLocation & | nameLocation, | ||
| quint32 | propertyNameIndex, | ||
| int | objectIndex, | ||
| bool | isListItem = false, | ||
| bool | isOnAssignment = false ) |
Definition at line 1341 of file qqmlirbuilder.cpp.
| void IRBuilder::appendBinding | ( | const QQmlJS::SourceLocation & | qualifiedNameLocation, |
| const QQmlJS::SourceLocation & | nameLocation, | ||
| quint32 | propertyNameIndex, | ||
| QQmlJS::AST::Statement * | value, | ||
| QQmlJS::AST::Node * | parentNode ) |
Definition at line 1326 of file qqmlirbuilder.cpp.
| void IRBuilder::appendBinding | ( | QQmlJS::AST::UiQualifiedId * | name, |
| int | objectIndex, | ||
| bool | isOnAssignment = false ) |
Definition at line 1315 of file qqmlirbuilder.cpp.
| void IRBuilder::appendBinding | ( | QQmlJS::AST::UiQualifiedId * | name, |
| QQmlJS::AST::Statement * | value, | ||
| QQmlJS::AST::Node * | parentNode ) |
Definition at line 1300 of file qqmlirbuilder.cpp.
|
static |
Definition at line 1166 of file qqmlirbuilder.cpp.
| QStringView IRBuilder::asStringRef | ( | QQmlJS::AST::Node * | node | ) |
Definition at line 1180 of file qqmlirbuilder.cpp.
| Object * IRBuilder::bindingsTarget | ( | ) | const |
Definition at line 1450 of file qqmlirbuilder.cpp.
|
inline |
Definition at line 543 of file qqmlirbuilder_p.h.
| bool IRBuilder::defineQMLObject | ( | int * | objectIndex, |
| QQmlJS::AST::UiQualifiedId * | qualifiedTypeNameId, | ||
| const QV4::CompiledData::Location & | location, | ||
| QQmlJS::AST::UiObjectInitializer * | initializer, | ||
| Object * | declarationsOverride = nullptr ) |
Definition at line 578 of file qqmlirbuilder.cpp.
|
static |
Definition at line 1188 of file qqmlirbuilder.cpp.
Definition at line 380 of file qqmlirbuilder.cpp.
|
static |
Definition at line 1616 of file qqmlirbuilder.cpp.
|
static |
Definition at line 1591 of file qqmlirbuilder.cpp.
|
inline |
Definition at line 592 of file qqmlirbuilder_p.h.
| void IRBuilder::recordError | ( | const QQmlJS::SourceLocation & | location, |
| const QString & | description ) |
Definition at line 1583 of file qqmlirbuilder.cpp.
|
virtual |
Reimplemented in QQmlJSAOTIRBuilder.
Definition at line 1102 of file qqmlirbuilder.cpp.
Definition at line 591 of file qqmlirbuilder_p.h.
| bool IRBuilder::resolveQualifiedId | ( | QQmlJS::AST::UiQualifiedId ** | nameToResolve, |
| Object ** | object, | ||
| bool | onAssignment = false ) |
Definition at line 1504 of file qqmlirbuilder.cpp.
| QString IRBuilder::sanityCheckFunctionNames | ( | Object * | obj, |
| QQmlJS::SourceLocation * | errorLocation ) |
Definition at line 134 of file qqmlirbuilder.cpp.
|
virtual |
Reimplemented in QQmlJSAOTIRBuilder.
Definition at line 1204 of file qqmlirbuilder.cpp.
| bool IRBuilder::setId | ( | const QQmlJS::SourceLocation & | idLocation, |
| QQmlJS::AST::Statement * | value ) |
Definition at line 1457 of file qqmlirbuilder.cpp.
|
inline |
Definition at line 594 of file qqmlirbuilder_p.h.
| QStringView IRBuilder::textRefAt | ( | const QQmlJS::SourceLocation & | first, |
| const QQmlJS::SourceLocation & | last ) const |
Definition at line 1199 of file qqmlirbuilder.cpp.
|
inline |
Definition at line 557 of file qqmlirbuilder_p.h.
|
inlineoverridevirtual |
Implements QQmlJS::AST::BaseVisitor.
Definition at line 529 of file qqmlirbuilder_p.h.
| void IRBuilder::tryGeneratingTranslationBinding | ( | QStringView | base, |
| QQmlJS::AST::ArgumentList * | args, | ||
| QV4::CompiledData::Binding * | binding ) |
Definition at line 1277 of file qqmlirbuilder.cpp.
|
override |
Definition at line 536 of file qqmlirbuilder.cpp.
|
override |
Definition at line 944 of file qqmlirbuilder.cpp.
|
override |
Definition at line 627 of file qqmlirbuilder.cpp.
|
override |
Definition at line 487 of file qqmlirbuilder.cpp.
|
override |
Definition at line 518 of file qqmlirbuilder.cpp.
|
override |
Definition at line 453 of file qqmlirbuilder.cpp.
|
override |
Definition at line 881 of file qqmlirbuilder.cpp.
|
override |
Definition at line 447 of file qqmlirbuilder.cpp.
|
override |
Definition at line 988 of file qqmlirbuilder.cpp.
|
override |
Definition at line 1158 of file qqmlirbuilder.cpp.
|
override |
Definition at line 530 of file qqmlirbuilder.cpp.
|
override |
Definition at line 1141 of file qqmlirbuilder.cpp.
| QList<const QV4::CompiledData::Import *> QmlIR::IRBuilder::_imports |
Definition at line 605 of file qqmlirbuilder_p.h.
| Object* QmlIR::IRBuilder::_object |
Definition at line 611 of file qqmlirbuilder_p.h.
Definition at line 607 of file qqmlirbuilder_p.h.
Definition at line 606 of file qqmlirbuilder_p.h.
| Property* QmlIR::IRBuilder::_propertyDeclaration |
Definition at line 612 of file qqmlirbuilder_p.h.
| QV4::CompiledData::TypeReferenceMap QmlIR::IRBuilder::_typeReferences |
Definition at line 609 of file qqmlirbuilder_p.h.
| QList<QQmlJS::DiagnosticMessage> QmlIR::IRBuilder::errors |
Definition at line 601 of file qqmlirbuilder_p.h.
Definition at line 603 of file qqmlirbuilder_p.h.
| bool QmlIR::IRBuilder::insideInlineComponent = false |
Definition at line 618 of file qqmlirbuilder_p.h.
| QV4::Compiler::JSUnitGenerator* QmlIR::IRBuilder::jsGenerator |
Definition at line 616 of file qqmlirbuilder_p.h.
| QQmlJS::MemoryPool* QmlIR::IRBuilder::pool |
Definition at line 614 of file qqmlirbuilder_p.h.
| QString QmlIR::IRBuilder::sourceCode |
Definition at line 615 of file qqmlirbuilder_p.h.