![]() |
Qt 6.x
The Qt SDK
|
#include <qqmljsast_p.h>
Inheritance diagram for QQmlJS::AST::FunctionExpression:
Collaboration diagram for QQmlJS::AST::FunctionExpression:Public Attributes | |
| QStringView | name |
| bool | isArrowFunction = false |
| bool | isGenerator = false |
| FormalParameterList * | formals |
| StatementList * | body |
| TypeAnnotation * | typeAnnotation |
| SourceLocation | functionToken |
| SourceLocation | identifierToken |
| SourceLocation | lparenToken |
| SourceLocation | rparenToken |
| SourceLocation | lbraceToken |
| SourceLocation | rbraceToken |
Public Attributes inherited from QQmlJS::AST::Node | |
| int | kind = Kind_Undefined |
Definition at line 2333 of file qqmljsast_p.h.
|
inline |
Definition at line 2338 of file qqmljsast_p.h.
|
overridevirtual |
Implements QQmlJS::AST::Node.
Definition at line 991 of file qqmljsast.cpp.
References QQmlJS::AST::Node::accept(), body, formals, and typeAnnotation.
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from QQmlJS::AST::Node.
Definition at line 1002 of file qqmljsast.cpp.
Referenced by QQmlJS::AST::asAnonymousFunctionDefinition(), QQmlJS::AST::UiSourceElement::firstSourceLocation(), QQmlJS::AST::UiSourceElement::lastSourceLocation(), QV4::Compiler::Codegen::visit(), QV4::Compiler::Codegen::visit(), and QQmlJSImportVisitor::visit().
Here is the caller graph for this function:
|
inlineoverridevirtual |
Implements QQmlJS::AST::Node.
Definition at line 2345 of file qqmljsast_p.h.
|
inlineoverridevirtual |
Implements QQmlJS::AST::Node.
Definition at line 2348 of file qqmljsast_p.h.
| StatementList* QQmlJS::AST::FunctionExpression::body |
Definition at line 2358 of file qqmljsast_p.h.
Referenced by accept0(), QQmlJS::AST::FunctionDeclaration::accept0(), QV4::Compiler::ScanFunctions::enterFunction(), QV4::RuntimeCodegen::generateFromFunctionExpression(), QQmlJS::Dom::Rewriter::visit(), and QV4::Compiler::Codegen::visit().
| FormalParameterList* QQmlJS::AST::FunctionExpression::formals |
Definition at line 2357 of file qqmljsast_p.h.
Referenced by accept0(), QQmlJS::AST::FunctionDeclaration::accept0(), QV4::Compiler::ScanFunctions::enterFunction(), QV4::RuntimeCodegen::generateFromFunctionExpression(), QV4::Compiler::ScanFunctions::handleTopLevelFunctionFormals(), QQmlJS::Dom::Rewriter::visit(), and QV4::Compiler::Codegen::visit().
| SourceLocation QQmlJS::AST::FunctionExpression::functionToken |
Definition at line 2360 of file qqmljsast_p.h.
Referenced by QQmlJSFunctionInitializer::run().
| SourceLocation QQmlJS::AST::FunctionExpression::identifierToken |
Definition at line 2361 of file qqmljsast_p.h.
Referenced by QV4::Compiler::ScanFunctions::enterFunction(), QQmlJS::Dom::Rewriter::visit(), and QV4::Compiler::ScanFunctions::visit().
| bool QQmlJS::AST::FunctionExpression::isArrowFunction = false |
Definition at line 2355 of file qqmljsast_p.h.
Referenced by QQmlJS::Dom::Rewriter::visit().
| bool QQmlJS::AST::FunctionExpression::isGenerator = false |
Definition at line 2356 of file qqmljsast_p.h.
| SourceLocation QQmlJS::AST::FunctionExpression::lbraceToken |
Definition at line 2364 of file qqmljsast_p.h.
Referenced by QQmlJSFunctionInitializer::run(), and QQmlJS::Dom::Rewriter::visit().
| SourceLocation QQmlJS::AST::FunctionExpression::lparenToken |
Definition at line 2362 of file qqmljsast_p.h.
Referenced by QQmlJS::Dom::Rewriter::visit().
| QStringView QQmlJS::AST::FunctionExpression::name |
Definition at line 2354 of file qqmljsast_p.h.
Referenced by QQmlJSImportVisitor::endVisit(), QQmlJSImportVisitor::endVisit(), QV4::Compiler::ScanFunctions::enterFunction(), QV4::RuntimeCodegen::generateFromFunctionExpression(), QQmlJS::Dom::Rewriter::visit(), QV4::Compiler::Codegen::visit(), and QV4::Compiler::Codegen::visit().
| SourceLocation QQmlJS::AST::FunctionExpression::rbraceToken |
Definition at line 2365 of file qqmljsast_p.h.
Referenced by QQmlJSFunctionInitializer::run(), and QQmlJS::Dom::Rewriter::visit().
| SourceLocation QQmlJS::AST::FunctionExpression::rparenToken |
Definition at line 2363 of file qqmljsast_p.h.
Referenced by QQmlJS::Dom::Rewriter::visit().
| TypeAnnotation* QQmlJS::AST::FunctionExpression::typeAnnotation |
Definition at line 2359 of file qqmljsast_p.h.
Referenced by accept0(), and QQmlJS::AST::FunctionDeclaration::accept0().