Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QmlIR::Document Struct Reference

#include <qqmlirbuilder_p.h>

+ Collaboration diagram for QmlIR::Document:

Public Member Functions

 Document (bool debugMode)
 
bool isSingleton () const
 
int registerString (const QString &str)
 
QString stringAt (int index) const
 
int objectCount () const
 
ObjectobjectAt (int i) const
 

Public Attributes

QString code
 
QQmlJS::Engine jsParserEngine
 
QV4::Compiler::Module jsModule
 
QList< const QV4::CompiledData::Import * > imports
 
QList< Pragma * > pragmas
 
QQmlJS::AST::UiProgramprogram
 
QVector< Object * > objects
 
QV4::Compiler::JSUnitGenerator jsGenerator
 
QV4::CompiledData::CompilationUnit javaScriptCompilationUnit
 

Detailed Description

Definition at line 461 of file qqmlirbuilder_p.h.

Constructor & Destructor Documentation

◆ Document()

Document::Document ( bool  debugMode)

Definition at line 329 of file qqmlirbuilder.cpp.

Member Function Documentation

◆ isSingleton()

bool QmlIR::Document::isSingleton ( ) const
inline

Definition at line 475 of file qqmlirbuilder_p.h.

References QList< T >::constBegin(), and QList< T >::constEnd().

Referenced by QQmlTypeData::done().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ objectAt()

Object * QmlIR::Document::objectAt ( int  i) const
inline

Definition at line 485 of file qqmlirbuilder_p.h.

References QList< T >::at(), and i.

+ Here is the call graph for this function:

◆ objectCount()

int QmlIR::Document::objectCount ( ) const
inline

Definition at line 484 of file qqmlirbuilder_p.h.

References QList< T >::size().

+ Here is the call graph for this function:

◆ registerString()

int QmlIR::Document::registerString ( const QString str)
inline

Definition at line 481 of file qqmlirbuilder_p.h.

References QV4::Compiler::JSUnitGenerator::registerString(), and str.

+ Here is the call graph for this function:

◆ stringAt()

QString QmlIR::Document::stringAt ( int  index) const
inline

Definition at line 482 of file qqmlirbuilder_p.h.

References QV4::Compiler::JSUnitGenerator::stringForIndex().

Referenced by checkArgumentsObjectUseInSignalHandlers(), QQmlJSAotCompiler::compileBinding(), QQmlJSLinterCodegen::compileBinding(), QmlIR::JSCodeGen::generateJSCodeForFunctionsAndBindings(), and QQmlTypeCompiler::stringAt().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ code

◆ imports

◆ javaScriptCompilationUnit

◆ jsGenerator

◆ jsModule

◆ jsParserEngine

◆ objects

◆ pragmas

QList<Pragma*> QmlIR::Document::pragmas

Definition at line 468 of file qqmlirbuilder_p.h.

Referenced by isStrict(), and QQmlIRLoader::load().

◆ program


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