Qt 4.8
Public Functions | List of all members
QScript::AST::Statement Class Reference

#include <qscriptast_p.h>

Inheritance diagram for QScript::AST::Statement:
QScript::AST::Node QScript::AST::Block QScript::AST::BreakStatement QScript::AST::ContinueStatement QScript::AST::DebuggerStatement QScript::AST::DoWhileStatement QScript::AST::EmptyStatement QScript::AST::ExpressionStatement QScript::AST::ForEachStatement QScript::AST::ForStatement QScript::AST::IfStatement QScript::AST::LabelledStatement QScript::AST::LocalForEachStatement QScript::AST::LocalForStatement QScript::AST::ReturnStatement QScript::AST::SwitchStatement QScript::AST::ThrowStatement QScript::AST::TryStatement QScript::AST::VariableStatement QScript::AST::WhileStatement QScript::AST::WithStatement

Public Functions

 Statement ()
 
virtual StatementstatementCast ()
 
virtual ~Statement ()
 
- Public Functions inherited from QScript::AST::Node
void accept (Visitor *visitor)
 
virtual void accept0 (Visitor *visitor)=0
 
virtual BinaryExpressionbinaryExpressionCast ()
 
virtual ExpressionNodeexpressionCast ()
 
 Node ()
 
virtual ~Node ()
 

Additional Inherited Members

- Public Types inherited from QScript::AST::Node
enum  Kind {
  Kind_Node, Kind_ExpressionNode, Kind_Statement, Kind_ThisExpression,
  Kind_IdentifierExpression, Kind_NullExpression, Kind_TrueLiteral, Kind_FalseLiteral,
  Kind_NumericLiteral, Kind_StringLiteral, Kind_RegExpLiteral, Kind_ArrayLiteral,
  Kind_ObjectLiteral, Kind_ElementList, Kind_Elision, Kind_PropertyNameAndValueList,
  Kind_PropertyName, Kind_IdentifierPropertyName, Kind_StringLiteralPropertyName, Kind_NumericLiteralPropertyName,
  Kind_ArrayMemberExpression, Kind_FieldMemberExpression, Kind_NewMemberExpression, Kind_NewExpression,
  Kind_CallExpression, Kind_ArgumentList, Kind_PostIncrementExpression, Kind_PostDecrementExpression,
  Kind_DeleteExpression, Kind_VoidExpression, Kind_TypeOfExpression, Kind_PreIncrementExpression,
  Kind_PreDecrementExpression, Kind_UnaryPlusExpression, Kind_UnaryMinusExpression, Kind_TildeExpression,
  Kind_NotExpression, Kind_BinaryExpression, Kind_ConditionalExpression, Kind_Expression,
  Kind_Block, Kind_StatementList, Kind_VariableStatement, Kind_VariableDeclarationList,
  Kind_VariableDeclaration, Kind_EmptyStatement, Kind_ExpressionStatement, Kind_IfStatement,
  Kind_DoWhileStatement, Kind_WhileStatement, Kind_ForStatement, Kind_LocalForStatement,
  Kind_ForEachStatement, Kind_LocalForEachStatement, Kind_ContinueStatement, Kind_BreakStatement,
  Kind_ReturnStatement, Kind_WithStatement, Kind_SwitchStatement, Kind_CaseBlock,
  Kind_CaseClauses, Kind_CaseClause, Kind_DefaultClause, Kind_LabelledStatement,
  Kind_ThrowStatement, Kind_TryStatement, Kind_Catch, Kind_Finally,
  Kind_FunctionDeclaration, Kind_FunctionExpression, Kind_FormalParameterList, Kind_FunctionBody,
  Kind_Program, Kind_SourceElements, Kind_SourceElement, Kind_FunctionSourceElement,
  Kind_StatementSourceElement, Kind_DebuggerStatement
}
 
- Static Public Functions inherited from QScript::AST::Node
static void acceptChild (Node *node, Visitor *visitor)
 
- Public Variables inherited from QScript::AST::Node
int endColumn
 
int endLine
 
Kind kind
 
int startColumn
 
int startLine
 

Detailed Description

Definition at line 217 of file qscriptast_p.h.

Constructors and Destructors

◆ Statement()

QScript::AST::Statement::Statement ( )
inline

◆ ~Statement()

virtual QScript::AST::Statement::~Statement ( )
inlinevirtual

Definition at line 221 of file qscriptast_p.h.

221 {}

Functions

◆ statementCast()

Statement * QScript::AST::Statement::statementCast ( )
virtual

Reimplemented from QScript::AST::Node.

Definition at line 57 of file qscriptast.cpp.

58 {
59  return this;
60 }

The documentation for this class was generated from the following files: