Skip to content

SageBuilder::buildSwitchStatement

All overloads of SageBuilder::buildSwitchStatement

Build a switch statement

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

[[visibility("default")]]
SgSwitchStatement*
buildSwitchStatement(
    SgStatement* item_selector = NULL,
    SgStatement* body = NULL);

Return Value

This class represents the concept of a switch.

Parameters

Name Description
item_selector This class represents the notion of a statement.
body This class represents the notion of a statement.

Created with MrDocs