Extending Qt Creator Manual | ASTFunctionValue

Extending Qt Creator Manual 4.7.0

# ASTFunctionValue Class

(QmlJS::QmlJS::ASTFunctionValue)

Inherits: | QmlJS::QmlJS::FunctionValue

- List of all members, including inherited members

## Public Functions

| ASTFunctionValue(AST::FunctionExpression *ast, const QmlJS::QmlJS::Document *doc, QmlJS::QmlJS::ValueOwner *valueOwner)
virtual | ~ASTFunctionValue()
AST::FunctionExpression * | ast() const

## Reimplemented Public Functions

virtual QmlJS::QString | argumentName(int index) const override
virtual const QmlJS::QmlJS::ASTFunctionValue * | asAstFunctionValue() const override
virtual bool | getSourceLocation(QmlJS::QString *fileName, int *line, int *column) const override
virtual bool | isVariadic() const override
virtual int | namedArgumentCount() const override

- 8 public functions inherited from QmlJS::QmlJS::FunctionValue
- 16 public functions inherited from QmlJS::QmlJS::ObjectValue
- 29 public functions inherited from QmlJS::QmlJS::Value

## Member Function Documentation

### ASTFunctionValue::ASTFunctionValue(AST::FunctionExpression *ast, const QmlJS::QmlJS::Document *doc, QmlJS::QmlJS::ValueOwner *valueOwner)

Default constructs an instance of ASTFunctionValue.

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

Destroys the instance of ASTFunctionValue. The destructor is virtual.

### `[override virtual]` QmlJS::QString ASTFunctionValue::argumentName(int index) const

### `[override virtual]` const QmlJS::QmlJS::ASTFunctionValue *ASTFunctionValue::asAstFunctionValue() const

### AST::FunctionExpression *ASTFunctionValue::ast() const

### `[override virtual]` bool ASTFunctionValue::getSourceLocation(QmlJS::QString *fileName, int *line, int *column) const

### `[override virtual]` bool ASTFunctionValue::isVariadic() const

### `[override virtual]` int ASTFunctionValue::namedArgumentCount() const