class AM_CHAR_CONST < $AM_CONST |
---|
**** | Representation of constant CHAR objects. Uses `bval' if the program being compiled uses the same sized characters 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 bval:CHAR; |
---|
**** | The character, if the compiled program uses the same representation as the compiler. |
attr val:INTI; |
---|
**** | The value of the char, if non-void. |
attr bval:CHAR; |
---|
**** | The character, if the compiled program uses the same representation as the compiler. |
attr val:INTI; |
---|
**** | The value of the char, if non-void. |
create(t:AS_CHAR_LIT_EXPR):SAME |
---|
**** | Create a new character constant for the tree form `t'. Must change this if the target has a different format. |
hash:INT |
---|
is_eq(a:$OB):BOOL |
---|