Skip to content

SageBuilder::buildConditionalExp

Build a conditional expression ?:

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

[[visibility]]
SgConditionalExp*
buildConditionalExp(
    SgExpression* test = NULL,
    SgExpression* a = NULL,
    SgExpression* b = NULL);

Return Value

This class represents the concept of a C trinary conditional expression (e.g. "test ? true : false")

Parameters

Name

Description

test

This class represents the notion of an expression. Expressions

a

This class represents the notion of an expression. Expressions

b

This class represents the notion of an expression. Expressions

Created with MrDocs