Package | Description |
---|---|
cetus.hir |
Modifier and Type | Class and Description |
---|---|
class |
AccessOperator
Infix operators that accesses righthand side member of lefthand side
structure, class, or union.
|
class |
AssignmentOperator
Infix operators that assign the value of their righthand side to their
lefthand side.
|
Modifier and Type | Field and Description |
---|---|
static BinaryOperator |
BinaryOperator.ADD
+
|
static BinaryOperator |
BinaryOperator.BITWISE_AND
&
|
static BinaryOperator |
BinaryOperator.BITWISE_EXCLUSIVE_OR
^
|
static BinaryOperator |
BinaryOperator.BITWISE_INCLUSIVE_OR
|
|
static BinaryOperator |
BinaryOperator.COMPARE_EQ
==
|
static BinaryOperator |
BinaryOperator.COMPARE_GE
>=
|
static BinaryOperator |
BinaryOperator.COMPARE_GT
>
|
static BinaryOperator |
BinaryOperator.COMPARE_LE
<=
|
static BinaryOperator |
BinaryOperator.COMPARE_LT
<
|
static BinaryOperator |
BinaryOperator.COMPARE_NE
!=
|
static BinaryOperator |
BinaryOperator.DIVIDE
/
|
static BinaryOperator |
BinaryOperator.INSTANCEOF
instanceof
|
static BinaryOperator |
BinaryOperator.LOGICAL_AND
&&
|
static BinaryOperator |
BinaryOperator.LOGICAL_OR
||
|
static BinaryOperator |
BinaryOperator.MODULUS
%
|
static BinaryOperator |
BinaryOperator.MULTIPLY
*
|
static BinaryOperator |
BinaryOperator.SHIFT_LEFT
<<
|
static BinaryOperator |
BinaryOperator.SHIFT_RIGHT
>>
|
static BinaryOperator |
BinaryOperator.SUBTRACT
-
|
Modifier and Type | Method and Description |
---|---|
static BinaryOperator |
BinaryOperator.fromString(java.lang.String s)
Returns a binary operator that matches the specified string s.
|
BinaryOperator |
BinaryExpression.getOperator()
Returns the operator of the expression.
|
BinaryOperator |
AccessExpression.getOperator()
Returns the operator of the expression.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
Tools.containsBinary(Traversable t,
BinaryOperator op)
Deprecated.
|
static boolean |
IRTools.containsBinary(Traversable t,
BinaryOperator op)
Checks if the traversable object contains the specified type of binary
operations.
|
void |
BinaryExpression.setOperator(BinaryOperator op)
Sets the operator for the expression.
|
Constructor and Description |
---|
BinaryExpression(Expression lhs,
BinaryOperator op,
Expression rhs)
Creates a binary expression.
|