Qt 4.8
Public Functions | Properties | List of all members
QDeclarativeJS::NodePool Class Reference

#include <qdeclarativejsnodepool_p.h>

Inheritance diagram for QDeclarativeJS::NodePool:
QDeclarativeJS::MemoryPool QSharedData

Public Functions

Code * createCompiledCode (AST::Node *node, CompilationUnit &compilation)
 
Engineengine () const
 
QString fileName () const
 
qint64 id () const
 
 NodePool (const QString &fileName, Engine *engine)
 
virtual ~NodePool ()
 
- Public Functions inherited from QDeclarativeJS::MemoryPool
char * allocate (int bytes)
 
int bytesAllocated () const
 
 MemoryPool ()
 
virtual ~MemoryPool ()
 
- Public Functions inherited from QSharedData
 QSharedData ()
 Constructs a QSharedData object with a reference count of 0. More...
 
 QSharedData (const QSharedData &)
 Constructs a QSharedData object with reference count 0. More...
 

Properties

QHash< AST::Node *, Code * > m_codeCache
 
Enginem_engine
 
QString m_fileName
 
qint64 m_id
 

Additional Inherited Members

- Public Types inherited from QDeclarativeJS::MemoryPool
enum  { maxBlockCount = -1 }
 
enum  { defaultBlockSize = 1 << 12 }
 
- Public Variables inherited from QSharedData
QAtomicInt ref
 

Detailed Description

Definition at line 109 of file qdeclarativejsnodepool_p.h.

Constructors and Destructors

◆ NodePool()

QDeclarativeJS::NodePool::NodePool ( const QString fileName,
Engine engine 
)

Definition at line 87 of file qdeclarativejsengine_p.cpp.

◆ ~NodePool()

QDeclarativeJS::NodePool::~NodePool ( )
virtual

Definition at line 93 of file qdeclarativejsengine_p.cpp.

94 {
95 }

Functions

◆ createCompiledCode()

Code * QDeclarativeJS::NodePool::createCompiledCode ( AST::Node node,
CompilationUnit &  compilation 
)

Definition at line 97 of file qdeclarativejsengine_p.cpp.

98 {
99  Q_ASSERT(0);
100  return 0;
101 }
#define Q_ASSERT(cond)
Definition: qglobal.h:1823

◆ engine()

Engine* QDeclarativeJS::NodePool::engine ( ) const
inline

Definition at line 118 of file qdeclarativejsnodepool_p.h.

118 { return m_engine; }

◆ fileName()

QString QDeclarativeJS::NodePool::fileName ( ) const
inline

Definition at line 117 of file qdeclarativejsnodepool_p.h.

◆ id()

qint64 QDeclarativeJS::NodePool::id ( ) const
inline

Definition at line 120 of file qdeclarativejsnodepool_p.h.

Properties

◆ m_codeCache

QHash<AST::Node*, Code*> QDeclarativeJS::NodePool::m_codeCache
private

Definition at line 124 of file qdeclarativejsnodepool_p.h.

◆ m_engine

Engine* QDeclarativeJS::NodePool::m_engine
private

Definition at line 126 of file qdeclarativejsnodepool_p.h.

Referenced by NodePool().

◆ m_fileName

QString QDeclarativeJS::NodePool::m_fileName
private

Definition at line 125 of file qdeclarativejsnodepool_p.h.

◆ m_id

qint64 QDeclarativeJS::NodePool::m_id
private

Definition at line 128 of file qdeclarativejsnodepool_p.h.


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