class AM_STR_CONST < $AM_CONST
****
Representation of constant strings.


Ancestors
$AM_CONST $AM_EXPR $HASH $IS_EQ
$AM $PROG_ERR AM_CONST AM_EXPR
AM



Public


Readable Attributes
attr bval:STR;
**** The string if the compiler's are the same as the compiled program.
attr source:SFILE_ID;
**** Information identifying the origin of a node in Sather source. It encodes the file and the character offset of the originating construct.
attr tp_at:$TP;

Writable Attributes
attr bval:STR;
**** The string if the compiler's are the same as the compiled program.
attr source:SFILE_ID;
**** Information identifying the origin of a node in Sather source. It encodes the file and the character offset of the originating construct.
attr tp_at:$TP;

Features
can_invar_opt(prog:PROG):BOOL
copy:$AM_EXPR
create(t:AS_STR_LIT_EXPR):SAME
**** Create a string constant for tree form `t'. Must change this if the target has a different format.
create(source:SFILE_ID):SAME
**** A new object for the location `source' with default initialization.
create:SAME
create_from_str(src:SFILE_ID, str:STR):SAME
**** Create a string constant for tree form `t'. Must change this if the target has a different format.
hash:INT
is_eq(a:$OB):BOOL
is_neq(a:$OB):BOOL
tp:$TP