SageBuilder::buildVariantExpression
handle side effects of parent pointers, Sg_File_Info, lvalue etc.
Synopsis
Declared in <SageIII/sageInterface/sageBuilder.h>
[[visibility]]
SgVariantExpression*
buildVariantExpression();
Description
Expressions are usually built using bottomup approach, i.e. buiding operandsfirst, then the expression operating on the operands. It is also possible tobuild expressions with NULL operands or empty values first, then set themafterwards. ‐ Value string is not included in the argument list for simplicty. It can beset afterwards using set_valueString() ‐ Expression builders are organized roughtly in the order of class hierarchylist of ROSE Web Reference ‐ default values for arguments are provided to support top‐down construction.Should use SageInterface::setOperand(),setLhsOperand(), setRhsOperand() etc toset operands and handle side effects.
Created with MrDocs