|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcetus.hir.BinaryOperator
cetus.hir.AccessOperator
public class AccessOperator
Infix operators that accesses righthand side member of lefthand side structure, class, or union.
| Field Summary | |
|---|---|
static AccessOperator |
MEMBER_ACCESS
. |
static AccessOperator |
MEMBER_DEREF_ACCESS
.* |
static AccessOperator |
POINTER_ACCESS
-> |
static AccessOperator |
POINTER_MEMBER_ACCESS
->* |
| Fields inherited from class cetus.hir.BinaryOperator |
|---|
ADD, BITWISE_AND, BITWISE_EXCLUSIVE_OR, BITWISE_INCLUSIVE_OR, COMPARE_EQ, COMPARE_GE, COMPARE_GT, COMPARE_LE, COMPARE_LT, COMPARE_NE, DIVIDE, INSTANCEOF, LOGICAL_AND, LOGICAL_OR, MODULUS, MULTIPLY, SHIFT_LEFT, SHIFT_RIGHT, SUBTRACT, value |
| Method Summary | |
|---|---|
static AccessOperator |
fromString(java.lang.String s)
|
void |
print(java.io.OutputStream stream)
Print the code for the IR represented by the object. |
java.lang.String |
toString()
|
void |
verify()
Verifies this operator is valid. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final AccessOperator MEMBER_ACCESS
public static final AccessOperator POINTER_ACCESS
public static final AccessOperator MEMBER_DEREF_ACCESS
public static final AccessOperator POINTER_MEMBER_ACCESS
| Method Detail |
|---|
public static AccessOperator fromString(java.lang.String s)
public void print(java.io.OutputStream stream)
Printable
print in interface Printableprint in class BinaryOperatorstream - The stream on which to print the data.public java.lang.String toString()
toString in class BinaryOperator
public void verify()
throws java.lang.IllegalStateException
verify in class BinaryOperatorjava.lang.IllegalStateException - if the operator is invalid.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||