class SwitchStatement
Declaration
class SwitchStatement : public Statement { /* full declaration omitted */ };
Description
switch ( <cond >) <body >
Declared at: clang/include/clang/Tooling/Syntax/Nodes.h:238
Inherits from: Statement
Member Variables
Method Overview
- public SwitchStatement()
- public static bool classof(const clang::syntax::Node * N)
- public clang::syntax::Statement * getBody()
- public clang::syntax::Leaf * getSwitchKeyword()
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
¶SwitchStatement()
SwitchStatement()
Declared at: clang/include/clang/Tooling/Syntax/Nodes.h:240
¶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:241
Parameters
- const clang::syntax::Node* N
¶clang::syntax::Statement* getBody()
clang::syntax::Statement* getBody()
Declared at: clang/include/clang/Tooling/Syntax/Nodes.h:243
¶clang::syntax::Leaf* getSwitchKeyword()
clang::syntax::Leaf* getSwitchKeyword()
Declared at: clang/include/clang/Tooling/Syntax/Nodes.h:242