Skip to content

SageBuilder::buildCaseOptionStmt

Build a case option statement

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

[[visibility]]
SgCaseOptionStmt*
buildCaseOptionStmt(
    SgExpression* key = NULL,
    SgStatement* body = NULL);

Return Value

This class represents the concept of a C and C++ case option (used within a switch statement).

Parameters

Name

Description

key

This class represents the notion of an expression. Expressions

body

This class represents the notion of a statement.

Created with MrDocs