Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <qqmljsast_p.h>
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 2391 of file qqmljsast_p.h.
|
inline |
Definition at line 2396 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.
|
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(), QQmlJSFunctionInitializer::run(), QQmlJSFunctionInitializer::run(), QV4::Compiler::Codegen::visit(), QV4::Compiler::Codegen::visit(), and QQmlJSImportVisitor::visit().
|
inlineoverridevirtual |
Implements QQmlJS::AST::Node.
Definition at line 2403 of file qqmljsast_p.h.
|
inlineoverridevirtual |
Implements QQmlJS::AST::Node.
Definition at line 2406 of file qqmljsast_p.h.
StatementList* QQmlJS::AST::FunctionExpression::body |
Definition at line 2416 of file qqmljsast_p.h.
Referenced by accept0(), QQmlJS::AST::FunctionDeclaration::accept0(), QV4::Compiler::ScanFunctions::enterFunction(), QV4::RuntimeCodegen::generateFromFunctionExpression(), QQmlJS::Dom::ScriptFormatter::visit(), and QV4::Compiler::Codegen::visit().
FormalParameterList* QQmlJS::AST::FunctionExpression::formals |
Definition at line 2415 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::ScriptFormatter::visit(), and QV4::Compiler::Codegen::visit().
SourceLocation QQmlJS::AST::FunctionExpression::functionToken |
Definition at line 2418 of file qqmljsast_p.h.
Referenced by QQmlJSFunctionInitializer::run().
SourceLocation QQmlJS::AST::FunctionExpression::identifierToken |
Definition at line 2419 of file qqmljsast_p.h.
Referenced by QV4::Compiler::ScanFunctions::enterFunction(), QQmlJS::Dom::ScriptFormatter::visit(), and QV4::Compiler::ScanFunctions::visit().
bool QQmlJS::AST::FunctionExpression::isArrowFunction = false |
Definition at line 2413 of file qqmljsast_p.h.
Referenced by QQmlJS::Dom::ScriptFormatter::endVisit(), and QQmlJS::Dom::ScriptFormatter::visit().
bool QQmlJS::AST::FunctionExpression::isGenerator = false |
Definition at line 2414 of file qqmljsast_p.h.
Referenced by QQmlJS::Dom::ScriptFormatter::visit().
SourceLocation QQmlJS::AST::FunctionExpression::lbraceToken |
Definition at line 2422 of file qqmljsast_p.h.
Referenced by QQmlJSFunctionInitializer::run(), and QQmlJS::Dom::ScriptFormatter::visit().
SourceLocation QQmlJS::AST::FunctionExpression::lparenToken |
Definition at line 2420 of file qqmljsast_p.h.
Referenced by QQmlJS::Dom::ScriptFormatter::visit().
QStringView QQmlJS::AST::FunctionExpression::name |
Definition at line 2412 of file qqmljsast_p.h.
Referenced by QV4::Compiler::ScanFunctions::enterFunction(), QV4::RuntimeCodegen::generateFromFunctionExpression(), QQmlJS::Dom::ScriptFormatter::visit(), QV4::Compiler::Codegen::visit(), and QV4::Compiler::Codegen::visit().
SourceLocation QQmlJS::AST::FunctionExpression::rbraceToken |
Definition at line 2423 of file qqmljsast_p.h.
Referenced by QQmlJSFunctionInitializer::run(), and QQmlJS::Dom::ScriptFormatter::visit().
SourceLocation QQmlJS::AST::FunctionExpression::rparenToken |
Definition at line 2421 of file qqmljsast_p.h.
Referenced by QQmlJS::Dom::ScriptFormatter::visit().
TypeAnnotation* QQmlJS::AST::FunctionExpression::typeAnnotation |
Definition at line 2417 of file qqmljsast_p.h.
Referenced by accept0(), and QQmlJS::AST::FunctionDeclaration::accept0().