TypeOfExpression Class | Extending Qt Creator Manual

Extending Qt Creator Manual | TypeOfExpression

Extending Qt Creator Manual 4.5.0

# TypeOfExpression Class

(CPlusPlus::TypeOfExpression)

- List of all members, including inherited members

## Public Types

enum | PreprocessMode { NoPreprocess, Preprocess }

## Public Functions

| TypeOfExpression()
ExpressionAST * | ast() const
const LookupContext & | context() const
ExpressionAST * | expressionAST() const
void | init(Document::Ptr thisDocument, const Snapshot &snapshot, QSharedPointer<CreateBindings> bindings = QSharedPointer<CreateBindings> (), const QSet<const Declaration *> &autoDeclarationsBeingResolved = QSet<const Declaration *> ())
QByteArray | preprocess(const QByteArray &utf8code) const
QByteArray | preprocessedExpression(const QByteArray &utf8code) const
QList<LookupItem> | reference(const QByteArray &utf8code, Scope *scope, PreprocessMode mode = NoPreprocess)
QList<LookupItem> | reference(ExpressionAST *expression, Document::Ptr document, Scope *scope)
Scope * | scope() const
void | setExpandTemplates(bool expandTemplates)
QList<LookupItem> | operator()(const QByteArray &utf8code, Scope *scope, PreprocessMode mode = NoPreprocess)
QList<LookupItem> | operator()(ExpressionAST *expression, Document::Ptr document, Scope *scope)

## Member Type Documentation

### enum TypeOfExpression::PreprocessMode

## Member Function Documentation

### TypeOfExpression::TypeOfExpression()

Default constructs an instance of TypeOfExpression.

### ExpressionAST *TypeOfExpression::ast() const

### const LookupContext &TypeOfExpression::context() const

### ExpressionAST *TypeOfExpression::expressionAST() const

### void TypeOfExpression::init(Document::Ptr thisDocument, const Snapshot &snapshot, QSharedPointer<CreateBindings> bindings = QSharedPointer<CreateBindings> (), const QSet<const Declaration *> &autoDeclarationsBeingResolved = QSet<const Declaration *> ())

### QByteArray TypeOfExpression::preprocess(const QByteArray &utf8code) const

### QByteArray TypeOfExpression::preprocessedExpression(const QByteArray &utf8code) const

### QList<LookupItem> TypeOfExpression::reference(const QByteArray &utf8code, Scope *scope, PreprocessMode mode = NoPreprocess)

### QList<LookupItem> TypeOfExpression::reference(ExpressionAST *expression, Document::Ptr document, Scope *scope)

### Scope *TypeOfExpression::scope() const

### void TypeOfExpression::setExpandTemplates(bool expandTemplates)

### QList<LookupItem> TypeOfExpression::operator()(const QByteArray &utf8code, Scope *scope, PreprocessMode mode = NoPreprocess)

### QList<LookupItem> TypeOfExpression::operator()(ExpressionAST *expression, Document::Ptr document, Scope *scope)