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>.
Loading...
Searching...
No Matches
QQmlJS::AST Namespace Reference

Classes

class  ArgumentList
 
class  ArrayMemberExpression
 
class  ArrayPattern
 
class  BaseVisitor
 
class  BinaryExpression
 
class  Block
 
struct  BoundName
 
struct  BoundNames
 
class  BreakStatement
 
class  CallExpression
 
class  CaseBlock
 
class  CaseClause
 
class  CaseClauses
 
class  Catch
 
class  ClassDeclaration
 
class  ClassElementList
 
class  ClassExpression
 
class  ComputedPropertyName
 
class  ConditionalExpression
 
class  ContinueStatement
 
class  DebuggerStatement
 
class  DefaultClause
 
class  DeleteExpression
 
class  DoWhileStatement
 
class  Elision
 
class  EmptyStatement
 
class  ESModule
 
class  ExportClause
 
class  ExportDeclaration
 
class  ExportsList
 
class  ExportSpecifier
 
class  Expression
 
class  ExpressionNode
 
class  ExpressionStatement
 
class  FalseLiteral
 
class  FieldMemberExpression
 
class  Finally
 
class  ForEachStatement
 
class  FormalParameterList
 
class  ForStatement
 
class  FromClause
 
class  FunctionDeclaration
 
class  FunctionExpression
 
class  IdentifierExpression
 
class  IdentifierPropertyName
 
class  IfStatement
 
class  ImportClause
 
class  ImportDeclaration
 
class  ImportsList
 
class  ImportSpecifier
 
class  InitializerExpression
 
class  JSVisitor
 
class  LabelledStatement
 
class  LeftHandSideExpression
 
class  NamedImports
 
class  NameSpaceImport
 
class  NestedExpression
 
class  NewExpression
 
class  NewMemberExpression
 
class  Node
 
class  NotExpression
 
class  NullExpression
 
class  NumericLiteral
 
class  NumericLiteralPropertyName
 
class  ObjectPattern
 
class  Pattern
 
class  PatternElement
 
class  PatternElementList
 
class  PatternProperty
 
class  PatternPropertyList
 
class  PostDecrementExpression
 
class  PostIncrementExpression
 
class  PreDecrementExpression
 
class  PreIncrementExpression
 
class  Program
 
class  PropertyName
 
class  RegExpLiteral
 
class  ReturnStatement
 
class  Statement
 
class  StatementList
 
class  StringLiteral
 
class  StringLiteralPropertyName
 
class  SuperLiteral
 
class  SwitchStatement
 
class  TaggedTemplate
 
class  TemplateLiteral
 
class  ThisExpression
 
class  ThrowStatement
 
class  TildeExpression
 
class  TrueLiteral
 
class  TryStatement
 
class  Type
 
class  TypeAnnotation
 
class  TypeExpression
 
class  TypeOfExpression
 
class  UiAnnotation
 
class  UiAnnotationList
 
class  UiArrayBinding
 
class  UiArrayMemberList
 
class  UiEnumDeclaration
 
class  UiEnumMemberList
 
class  UiHeaderItemList
 
class  UiImport
 
class  UiInlineComponent
 
class  UiObjectBinding
 
class  UiObjectDefinition
 
class  UiObjectInitializer
 
class  UiObjectMember
 
class  UiObjectMemberList
 
class  UiParameterList
 
class  UiPragma
 
class  UiPragmaValueList
 
class  UiProgram
 
class  UiPropertyAttributes
 
class  UiPublicMember
 
class  UiQualifiedId
 
class  UiRequired
 
class  UiScriptBinding
 
class  UiSourceElement
 
class  UiVersionSpecifier
 
class  UnaryMinusExpression
 
class  UnaryPlusExpression
 
class  VariableDeclarationList
 
class  VariableStatement
 
class  Visitor
 
class  VoidExpression
 
class  WhileStatement
 
class  WithStatement
 
class  YieldExpression
 

Enumerations

enum class  VariableScope { NoScope , Var , Let , Const }
 
enum class  ForEachType { In , Of }
 

Functions

FunctionExpressionasAnonymousFunctionDefinition (Node *n)
 
ClassExpressionasAnonymousClassDefinition (Node *n)
 
template<typename T1 , typename T2 >
T1 cast (T2 *ast)
 
template<typename T >
lastListElement (T head)
 

Enumeration Type Documentation

◆ ForEachType

enum class QQmlJS::AST::ForEachType
strong
Enumerator
In 
Of 

Definition at line 1966 of file qqmljsast_p.h.

◆ VariableScope

enum class QQmlJS::AST::VariableScope
strong
Enumerator
NoScope 
Var 
Let 
Const 

Definition at line 91 of file qqmljsast_p.h.

Function Documentation

◆ asAnonymousClassDefinition()

ClassExpression * QQmlJS::AST::asAnonymousClassDefinition ( Node * n)

Definition at line 29 of file qqmljsast.cpp.

References QQmlJS::AST::ClassExpression::asClassDefinition().

+ Here is the call graph for this function:

◆ asAnonymousFunctionDefinition()

FunctionExpression * QQmlJS::AST::asAnonymousFunctionDefinition ( Node * n)

Definition at line 19 of file qqmljsast.cpp.

References QQmlJS::AST::FunctionExpression::asFunctionDefinition().

+ Here is the call graph for this function:

◆ cast()

template<typename T1 , typename T2 >
T1 QQmlJS::AST::cast ( T2 * ast)

Definition at line 99 of file qqmljsast_p.h.

◆ lastListElement()