class CompoundStatement
Declaration
class CompoundStatement : public Statement { /* full declaration omitted */ };
Description
{ statement1; statement2; … }
Declared at: clang/include/clang/Tooling/Syntax/Nodes.h:340
Inherits from: Statement
Member Variables
Method Overview
- public CompoundStatement()
- public static bool classof(const clang::syntax::Node * N)
- public clang::syntax::Leaf * getLbrace()
- public clang::syntax::Leaf * getRbrace()
- public std::vector<Statement *> getStatements()
Inherited from Statement:
Inherited from Tree:
- public classof
- public findChild
- public findChild
- public findFirstLeaf
- public findFirstLeaf
- public findLastLeaf
- public findLastLeaf
- public getChildren
- public getChildren
- public getFirstChild
- public getFirstChild
- public getLastChild
- public getLastChild
Inherited from Node:
- public assertInvariants
- public assertInvariantsRecursive
- public canModify
- public dump
- public dumpTokens
- public getKind
- public getNextSibling
- public getNextSibling
- public getParent
- public getParent
- public getPreviousSibling
- public getPreviousSibling
- public getRole
- public isDetached
- public isOriginal
Methods
¶CompoundStatement()
CompoundStatement()
Declared at: clang/include/clang/Tooling/Syntax/Nodes.h:342
¶static bool classof(const clang::syntax::Node* N)
static bool classof(const clang::syntax::Node* N)
Declared at: clang/include/clang/Tooling/Syntax/Nodes.h:343
Parameters
- const clang::syntax::Node* N
¶clang::syntax::Leaf* getLbrace()
clang::syntax::Leaf* getLbrace()
Declared at: clang/include/clang/Tooling/Syntax/Nodes.h:344
¶clang::syntax::Leaf* getRbrace()
clang::syntax::Leaf* getRbrace()
Declared at: clang/include/clang/Tooling/Syntax/Nodes.h:347
¶std::vector<Statement*> getStatements()
std::vector<Statement*> getStatements()
Description
FIXME: use custom iterator instead of 'vector'.
Declared at: clang/include/clang/Tooling/Syntax/Nodes.h:346