Extending Qt Creator Manual | VariableDeclaration

Extending Qt Creator Manual 4.7.2

# VariableDeclaration Class

(Debugger::QmlJS::AST::VariableDeclaration)

Inherits: | Debugger::QmlJS::AST::Node

- List of all members, including inherited members

## Public Types

enum | VariableScope { FunctionScope, BlockScope, ReadOnlyBlockScope }
enum | anonymous { K }

## Public Functions

| VariableDeclaration(const Debugger::QStringRef &n, Debugger::QmlJS::AST::ExpressionNode *e, Debugger::QmlJS::AST::VariableDeclaration::VariableScope s)
bool | isLexicallyScoped() const

## Reimplemented Public Functions

virtual void | accept0(Debugger::QmlJS::AST::Visitor *visitor) override
virtual Debugger::QmlJS::AST::SourceLocation | firstSourceLocation() const override
virtual Debugger::QmlJS::AST::SourceLocation | lastSourceLocation() const override

- 8 public functions inherited from Debugger::QmlJS::AST::Node

### Additional Inherited Members

- 2 static public members inherited from Debugger::QmlJS::AST::Node
- 3 static public members inherited from Debugger::QmlJS::Managed

## Member Type Documentation

### enum VariableDeclaration::VariableScope

### enum VariableDeclaration::anonymous

## Member Function Documentation

### VariableDeclaration::VariableDeclaration(const Debugger::QStringRef &n, Debugger::QmlJS::AST::ExpressionNode *e, Debugger::QmlJS::AST::VariableDeclaration::VariableScope s)

Default constructs an instance of VariableDeclaration.

### `[override virtual]` void VariableDeclaration::accept0(Debugger::QmlJS::AST::Visitor *visitor)

### `[override virtual]` Debugger::QmlJS::AST::SourceLocation VariableDeclaration::firstSourceLocation() const

### bool VariableDeclaration::isLexicallyScoped() const

### `[override virtual]` Debugger::QmlJS::AST::SourceLocation VariableDeclaration::lastSourceLocation() const