Extending Qt Creator Manual | Context

Extending Qt Creator Manual 4.7.0

# Context Class

(QmlJS::QmlJS::Context)

- List of all members, including inherited members

## Public Functions

| ~Context()
QmlJS::QString | defaultPropertyName(const QmlJS::QmlJS::ObjectValue *object) const
const QmlJS::QmlJS::Imports * | imports(const QmlJS::QmlJS::Document *doc) const
const QmlJS::QmlJS::Value * | lookupReference(const QmlJS::QmlJS::Value *value) const
const QmlJS::QmlJS::ObjectValue * | lookupType(const QmlJS::QmlJS::Document *doc, AST::UiQualifiedId *qmlTypeName, AST::UiQualifiedId *qmlTypeNameEnd = 0) const
const QmlJS::QmlJS::ObjectValue * | lookupType(const QmlJS::QmlJS::Document *doc, const QmlJS::QStringList &qmlTypeName) const
QmlJS::QmlJS::ContextPtr | ptr() const
QmlJS::QmlJS::Snapshot | snapshot() const
QmlJS::QmlJS::ValueOwner * | valueOwner() const
QmlJS::QmlJS::ViewerContext | viewerContext() const

## Static Public Members

QmlJS::QmlJS::ContextPtr | create(const QmlJS::QmlJS::Snapshot &snapshot, QmlJS::QmlJS::ValueOwner *valueOwner, const int &imports, const QmlJS::QmlJS::ViewerContext &viewerContext)

## Member Function Documentation

### Context::~Context()

Destroys the instance of Context.

### `[static]` QmlJS::QmlJS::ContextPtr Context::create(const QmlJS::QmlJS::Snapshot &snapshot, QmlJS::QmlJS::ValueOwner *valueOwner, const int &imports, const QmlJS::QmlJS::ViewerContext &viewerContext)

### QmlJS::QString Context::defaultPropertyName(const QmlJS::QmlJS::ObjectValue *object) const

### const QmlJS::QmlJS::Imports *Context::imports(const QmlJS::QmlJS::Document *doc) const

### const QmlJS::QmlJS::Value *Context::lookupReference(const QmlJS::QmlJS::Value *value) const

### const QmlJS::QmlJS::ObjectValue *Context::lookupType(const QmlJS::QmlJS::Document *doc, AST::UiQualifiedId *qmlTypeName, AST::UiQualifiedId *qmlTypeNameEnd = 0) const

### const QmlJS::QmlJS::ObjectValue *Context::lookupType(const QmlJS::QmlJS::Document *doc, const QmlJS::QStringList &qmlTypeName) const

### QmlJS::QmlJS::ContextPtr Context::ptr() const

### QmlJS::QmlJS::Snapshot Context::snapshot() const

### QmlJS::QmlJS::ValueOwner *Context::valueOwner() const

### QmlJS::QmlJS::ViewerContext Context::viewerContext() const