Extending Qt Creator Manual | ConvertToNumber

Extending Qt Creator Manual 4.7.1

# ConvertToNumber Class

(QmlJS::QmlJS::ConvertToNumber)

Inherits: | QmlJS::QmlJS::ValueVisitor (protected)

- List of all members, including inherited members

## Public Functions

| ConvertToNumber(QmlJS::QmlJS::ValueOwner *valueOwner)
const QmlJS::QmlJS::Value * | operator()(const QmlJS::QmlJS::Value *value)

- 11 public functions inherited from QmlJS::QmlJS::ValueVisitor

## Protected Functions

const QmlJS::QmlJS::Value * | switchResult(const QmlJS::QmlJS::Value *value)

## Reimplemented Protected Functions

virtual void | visit(const QmlJS::QmlJS::NullValue *) override
virtual void | visit(const QmlJS::QmlJS::UndefinedValue *) override
virtual void | visit(const QmlJS::QmlJS::NumberValue *) override
virtual void | visit(const QmlJS::QmlJS::BooleanValue *) override
virtual void | visit(const QmlJS::QmlJS::StringValue *) override
virtual void | visit(const QmlJS::QmlJS::ObjectValue *) override
virtual void | visit(const QmlJS::QmlJS::FunctionValue *) override

## Member Function Documentation

### ConvertToNumber::ConvertToNumber(QmlJS::QmlJS::ValueOwner *valueOwner)

Default constructs an instance of ConvertToNumber.

### `[protected]` const QmlJS::QmlJS::Value *ConvertToNumber::switchResult(const QmlJS::QmlJS::Value *value)

### `[override virtual protected]` void ConvertToNumber::visit(const QmlJS::QmlJS::NullValue *)

### `[override virtual protected]` void ConvertToNumber::visit(const QmlJS::QmlJS::UndefinedValue *)

### `[override virtual protected]` void ConvertToNumber::visit(const QmlJS::QmlJS::NumberValue *)

### `[override virtual protected]` void ConvertToNumber::visit(const QmlJS::QmlJS::BooleanValue *)

### `[override virtual protected]` void ConvertToNumber::visit(const QmlJS::QmlJS::StringValue *)

### `[override virtual protected]` void ConvertToNumber::visit(const QmlJS::QmlJS::ObjectValue *)

### `[override virtual protected]` void ConvertToNumber::visit(const QmlJS::QmlJS::FunctionValue *)

### const QmlJS::QmlJS::Value *ConvertToNumber::operator()(const QmlJS::QmlJS::Value *value)