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
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
 
QQmlRefPointer< QV4::CompiledData::CompilationUnitjavaScriptCompilationUnit
 

Detailed Description

Definition at line 463 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 477 of file qqmlirbuilder_p.h.

Referenced by QQmlTypeData::done().

+ Here is the caller graph for this function:

◆ objectAt()

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

Definition at line 487 of file qqmlirbuilder_p.h.

References i.

◆ objectCount()

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

Definition at line 486 of file qqmlirbuilder_p.h.

◆ registerString()

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

Definition at line 483 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 484 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 470 of file qqmlirbuilder_p.h.

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

◆ program

QQmlJS::AST::UiProgram* QmlIR::Document::program

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