class AM_INT_CONST < $AM_CONST |
---|
**** | Representation of constant INT objects. Uses `bval' if the program being compiled uses the same sized integers as the compiler, val otherwise. Can tell by checking whether `val' is void. |
$AM_CONST | $AM_EXPR | $HASH | $IS_EQ | $AM | $PROG_ERR | AM_CONST | AM_EXPR | AM |
attr val:INTI; |
---|
**** | The bits of the integer, if non-void. |
attr val:INTI; |
---|
**** | The bits of the integer, if non-void. |
create(t:AS_INT_LIT_EXPR):SAME |
---|
**** | Create a new integer constant for the tree form `t'. Must change this is the target has a different format. |
hash:INT |
---|
is_eq(a:$OB):BOOL |
---|