Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
GLSL::CompoundStatementAST Class Reference

#include <glslast_p.h>

Inheritance diagram for GLSL::CompoundStatementAST:
Collaboration diagram for GLSL::CompoundStatementAST:

Public Member Functions

 CompoundStatementAST ()
 CompoundStatementAST (List< StatementAST * > *_statements)
CompoundStatementASTasCompoundStatement () override
void accept0 (Visitor *visitor) override
Public Member Functions inherited from GLSL::StatementAST
StatementASTasStatement () override
Public Member Functions inherited from GLSL::AST
virtual TranslationUnitASTasTranslationUnit ()
virtual ExpressionASTasExpression ()
virtual IdentifierExpressionASTasIdentifierExpression ()
virtual LiteralExpressionASTasLiteralExpression ()
virtual BinaryExpressionASTasBinaryExpression ()
virtual UnaryExpressionASTasUnaryExpression ()
virtual TernaryExpressionASTasTernaryExpression ()
virtual AssignmentExpressionASTasAssignmentExpression ()
virtual MemberAccessExpressionASTasMemberAccessExpression ()
virtual FunctionCallExpressionASTasFunctionCallExpression ()
virtual FunctionIdentifierASTasFunctionIdentifier ()
virtual DeclarationExpressionASTasDeclarationExpression ()
virtual ExpressionStatementASTasExpressionStatement ()
virtual IfStatementASTasIfStatement ()
virtual WhileStatementASTasWhileStatement ()
virtual DoStatementASTasDoStatement ()
virtual ForStatementASTasForStatement ()
virtual JumpStatementASTasJumpStatement ()
virtual ReturnStatementASTasReturnStatement ()
virtual SwitchStatementASTasSwitchStatement ()
virtual CaseLabelStatementASTasCaseLabelStatement ()
virtual DeclarationStatementASTasDeclarationStatement ()
virtual TypeASTasType ()
virtual BasicTypeASTasBasicType ()
virtual NamedTypeASTasNamedType ()
virtual ArrayTypeASTasArrayType ()
virtual StructTypeASTasStructType ()
virtual QualifiedTypeASTasQualifiedType ()
virtual LayoutQualifierASTasLayoutQualifier ()
virtual DeclarationASTasDeclaration ()
virtual PrecisionDeclarationASTasPrecisionDeclaration ()
virtual ParameterDeclarationASTasParameterDeclaration ()
virtual VariableDeclarationASTasVariableDeclaration ()
virtual TypeDeclarationASTasTypeDeclaration ()
virtual TypeAndVariableDeclarationASTasTypeAndVariableDeclaration ()
virtual InvariantDeclarationASTasInvariantDeclaration ()
virtual InitDeclarationASTasInitDeclaration ()
virtual FunctionDeclarationASTasFunctionDeclaration ()
void accept (Visitor *visitor)
Public Member Functions inherited from GLSL::Managed
 Managed ()
virtual ~Managed ()
voidoperator new (size_t size, MemoryPool *pool)
void operator delete (void *)
void operator delete (void *, MemoryPool *)

Public Attributes

List< StatementAST * > * statements
int start
int end
Blocksymbol
Public Attributes inherited from GLSL::AST
int kind
int lineno

Additional Inherited Members

Public Types inherited from GLSL::AST
enum  Kind {
  Kind_Undefined , Kind_TranslationUnit , Kind_Identifier , Kind_Literal ,
  Kind_PreIncrement , Kind_PostIncrement , Kind_PreDecrement , Kind_PostDecrement ,
  Kind_UnaryPlus , Kind_UnaryMinus , Kind_LogicalNot , Kind_BitwiseNot ,
  Kind_Plus , Kind_Minus , Kind_Multiply , Kind_Divide ,
  Kind_Modulus , Kind_ShiftLeft , Kind_ShiftRight , Kind_Equal ,
  Kind_NotEqual , Kind_LessThan , Kind_LessEqual , Kind_GreaterThan ,
  Kind_GreaterEqual , Kind_LogicalAnd , Kind_LogicalOr , Kind_LogicalXor ,
  Kind_BitwiseAnd , Kind_BitwiseOr , Kind_BitwiseXor , Kind_Comma ,
  Kind_ArrayAccess , Kind_Conditional , Kind_MemberAccess , Kind_FunctionCall ,
  Kind_MemberFunctionCall , Kind_FunctionIdentifier , Kind_DeclarationExpression , Kind_Assign ,
  Kind_AssignPlus , Kind_AssignMinus , Kind_AssignMultiply , Kind_AssignDivide ,
  Kind_AssignModulus , Kind_AssignShiftLeft , Kind_AssignShiftRight , Kind_AssignAnd ,
  Kind_AssignOr , Kind_AssignXor , Kind_ExpressionStatement , Kind_CompoundStatement ,
  Kind_If , Kind_While , Kind_Do , Kind_For ,
  Kind_Break , Kind_Continue , Kind_Discard , Kind_Return ,
  Kind_ReturnExpression , Kind_Switch , Kind_CaseLabel , Kind_DefaultLabel ,
  Kind_DeclarationStatement , Kind_BasicType , Kind_NamedType , Kind_ArrayType ,
  Kind_OpenArrayType , Kind_StructType , Kind_AnonymousStructType , Kind_StructField ,
  Kind_LayoutQualifier , Kind_QualifiedType , Kind_PrecisionDeclaration , Kind_ParameterDeclaration ,
  Kind_VariableDeclaration , Kind_TypeDeclaration , Kind_TypeAndVariableDeclaration , Kind_InvariantDeclaration ,
  Kind_InitDeclaration , Kind_FunctionDeclaration
}
Static Public Member Functions inherited from GLSL::AST
static void accept (AST *ast, Visitor *visitor)
template<typename T>
static void accept (List< T > *it, Visitor *visitor)
Protected Member Functions inherited from GLSL::StatementAST
 StatementAST (Kind _kind)
Protected Member Functions inherited from GLSL::AST
 AST (Kind _kind)
 ~AST () override
Static Protected Member Functions inherited from GLSL::AST
template<typename T>
static List< T > * finish (List< T > *list)

Detailed Description

Definition at line 498 of file glslast_p.h.

Constructor & Destructor Documentation

◆ CompoundStatementAST() [1/2]

GLSL::CompoundStatementAST::CompoundStatementAST ( )
inline

Definition at line 501 of file glslast_p.h.

◆ CompoundStatementAST() [2/2]

GLSL::CompoundStatementAST::CompoundStatementAST ( List< StatementAST * > * _statements)
inline

Definition at line 504 of file glslast_p.h.

Member Function Documentation

◆ accept0()

void CompoundStatementAST::accept0 ( Visitor * visitor)
overridevirtual

Implements GLSL::AST.

Definition at line 119 of file glslast.cpp.

◆ asCompoundStatement()

CompoundStatementAST * GLSL::CompoundStatementAST::asCompoundStatement ( )
inlineoverridevirtual

Reimplemented from GLSL::AST.

Definition at line 508 of file glslast_p.h.

Member Data Documentation

◆ end

int GLSL::CompoundStatementAST::end

Definition at line 515 of file glslast_p.h.

◆ start

int GLSL::CompoundStatementAST::start

Definition at line 514 of file glslast_p.h.

◆ statements

List<StatementAST *>* GLSL::CompoundStatementAST::statements

Definition at line 513 of file glslast_p.h.

◆ symbol

Block* GLSL::CompoundStatementAST::symbol

Definition at line 516 of file glslast_p.h.


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