Skip to content

SageBuilder::buildTryStmt

Build a try statement.

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

[[visibility]]
SgTryStmt*
buildTryStmt(
    SgStatement* body,
    SgCatchOptionStmt* catch0 = NULL,
    SgCatchOptionStmt* catch1 = NULL,
    SgCatchOptionStmt* catch2 = NULL,
    SgCatchOptionStmt* catch3 = NULL,
    SgCatchOptionStmt* catch4 = NULL);

Return Value

This class represents the concept of try statement within the try‐catch

Parameters

Name

Description

body

This class represents the notion of a statement.

catch0

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

catch1

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

catch2

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

catch3

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

catch4

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

Created with MrDocs