SageBuilder::buildCastExp¶
All overloads of SageBuilder::buildCastExp
Build a fully checked type conversion. All semantic fields are mandatory.
Synopsis¶
Declared in <SageIII/sageInterface/sageBuilder.h>
[[visibility("default")]]
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,
SgType* source_type); 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. |
| semantic_kind | Exact semantic classification of a cast expression. |
| value_category | Exact C/C++ value category of the cast expression. |
| source_type | This class represents the base class for all types. |
Created with MrDocs