Skip to content

SageBuilder::buildCatchOptionStmt

Build a catch statement.

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

[[visibility("default")]]
SgCatchOptionStmt*
buildCatchOptionStmt(
    SgVariableDeclaration* condition = NULL,
    SgStatement* body = NULL);

Return Value

This class represents the concept of a catch within a try-catch construct used in

Parameters

Name Description
condition This class represents the concept of a C or C++ variable declaration.
body This class represents the notion of a statement.

Created with MrDocs