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

Inherited from Statement:

Inherited from Tree:

Inherited from Node:

Methods

SwitchStatement()

Declared at: clang/include/clang/Tooling/Syntax/Nodes.h:240

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()

Declared at: clang/include/clang/Tooling/Syntax/Nodes.h:243

clang::syntax::Leaf* getSwitchKeyword()

Declared at: clang/include/clang/Tooling/Syntax/Nodes.h:242