Extending Qt Creator Manual | DescribeValueVisitor

Extending Qt Creator Manual 4.5.2

# DescribeValueVisitor Class

(QmlJS::DescribeValueVisitor)

Inherits: | QmlJS::ValueVisitor

- List of all members, including inherited members

## Public Functions

| DescribeValueVisitor(int detailDepth = 1, int startIndent = 0, int indentIncrement = 2, ContextPtr context = ContextPtr())
virtual | ~DescribeValueVisitor()
void | basicDump(const char *baseName, const Value *value, bool opensContext)
void | closeContext(const char *closeStr = "}")
QString | description() const
void | dump(const char *toAdd)
void | dump(const QString &toAdd)
void | dumpNewline()
void | openContext(const char *openStr = "{")
QString | operator()(const Value *value)

## Reimplemented Public Functions

virtual void | visit(const NullValue *) override
virtual void | visit(const UndefinedValue *) override
virtual void | visit(const UnknownValue *) 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
virtual void | visit(const Reference *) override
virtual void | visit(const ColorValue *) override
virtual void | visit(const AnchorLineValue *) override

- 11 public functions inherited from QmlJS::ValueVisitor

## Static Public Members

QString | describe(const Value *value, int depth = 1, ContextPtr context = ContextPtr())

## Member Function Documentation

### DescribeValueVisitor::DescribeValueVisitor(int detailDepth = 1, int startIndent = 0, int indentIncrement = 2, ContextPtr context = ContextPtr())

Default constructs an instance of DescribeValueVisitor.

### `[virtual]` DescribeValueVisitor::~DescribeValueVisitor()

Destroys the instance of DescribeValueVisitor. The destructor is virtual.

### void DescribeValueVisitor::basicDump(const char *baseName, const Value *value, bool opensContext)

### void DescribeValueVisitor::closeContext(const char *closeStr = "}")

### `[static]` QString DescribeValueVisitor::describe(const Value *value, int depth = 1, ContextPtr context = ContextPtr())

### QString DescribeValueVisitor::description() const

### void DescribeValueVisitor::dump(const char *toAdd)

### void DescribeValueVisitor::dump(const QString &toAdd)

### void DescribeValueVisitor::dumpNewline()

### void DescribeValueVisitor::openContext(const char *openStr = "{")

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

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

### `[override virtual]` void DescribeValueVisitor::visit(const UnknownValue *)

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

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

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

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

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

### `[override virtual]` void DescribeValueVisitor::visit(const Reference *)

### `[override virtual]` void DescribeValueVisitor::visit(const ColorValue *)

### `[override virtual]` void DescribeValueVisitor::visit(const AnchorLineValue *)

### QString DescribeValueVisitor::operator()(const Value *value)