SageBuilder::buildCastExp
Build a fully checked type conversion. All semantic fields are mandatory.
Synopsis
Declared in <SageIII/sageInterface/sageBuilder.h>
[[visibility]]
SgCastExp*
buildCastExp(
SgExpression* operand_i,
SgType* expression_type,
SgCastExp::cast_type_enum cast_type,
SgCastExp::semantic_conversion_kind_enum semantic_kind,
SgCastExp::value_category_enum value_category,
SgTypePtrList const& conversion_base_path);
Return Value
This class represents a cast of one type to another.
Parameters
Name |
Description |
operand_i |
This class represents the notion of an expression. Expressions |
expression_type |
This class represents the base class for all types. |
cast_type |
Classification of Casts |
semantic_kind |
Exact semantic classification of a cast expression. |
value_category |
Exact C/C++ value category of the cast expression. |
Created with MrDocs