SageInterface::isAssignmentStatement
Check if a SgNode _s is an assignment statement (any of =,+=,‐=,&=,/=, ˆ=, etc)
Synopsis
Declared in <SageIII/sageInterface/sageInterface.h>
bool
isAssignmentStatement(
SgNode* _s,
SgExpression** lhs = NULL,
SgExpression** rhs = NULL,
bool* readlhs = NULL);
Description
Return the left hand, right hand expressions and if the left hand variable is also being read
Parameters
Name |
Description |
_s |
This class represents the base class for all IR nodes within Sage III. |
lhs |
This class represents the notion of an expression. Expressions |
rhs |
This class represents the notion of an expression. Expressions |
Created with MrDocs