Extending Qt Creator Manual | ConvertToNumber

Extending Qt Creator Manual 4.5.0

# ConvertToNumber Class

(QmlJS::ConvertToNumber)

Inherits: | QmlJS::ValueVisitor (protected)

- List of all members, including inherited members

## Public Functions

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

- 11 public functions inherited from QmlJS::ValueVisitor

## Protected Functions

const Value * | switchResult(const Value *value)

## Reimplemented Protected Functions

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

## Member Function Documentation

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

Default constructs an instance of ConvertToNumber.

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

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

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

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

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

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

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

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

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