class AM_IF_EXPR < $AM_EXPR
****
Conditional expression. Only one of the two branches will be executed.


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



Public


Readable Attributes
attr if_false:$AM_EXPR;
**** Expression with result if false.
attr if_true:$AM_EXPR;
**** Expression with result if true.
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 test:$AM_EXPR;
**** The boolean expression to test.
attr tp_at:$TP;
**** The type.

Writable Attributes
attr if_false:$AM_EXPR;
**** Expression with result if false.
attr if_true:$AM_EXPR;
**** Expression with result if true.
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 test:$AM_EXPR;
**** The boolean expression to test.
attr tp_at:$TP;
**** The type.

Features
copy:$AM_EXPR
create(source:SFILE_ID):SAME
**** A new object for the location `source' with default initialization.
hash:INT
is_eq(am:$OB):BOOL
**** Changed argument from $AM_EXPR
is_neq(a:$OB):BOOL
tp:$TP