class AS_DEC_STMT < $AS_STMT |
---|
**** | A local declaration statement. Parser should make one of these for each element in a list like "a,b,c:FOO". |
$AS_STMT | $NEXT{_} | $AS_NODE | $PROG_ERR | AS_STMT | AS_NODE |
attr name:IDENT; |
---|
**** | Name of the local. |
attr next:T; |
---|
**** | Pointer to next element in list, if any. |
attr source:SFILE_ID; |
---|
**** | The origin of a node in a Sather source file. |
attr surr_stmt_list : AS_STMT_LIST; |
---|
attr tp:AS_TYPE_SPEC; |
---|
**** | The type of the local. |
attr transformed : BOOL; |
---|
attr name:IDENT; |
---|
**** | Name of the local. |
attr next:T; |
---|
**** | Pointer to next element in list, if any. |
attr source:SFILE_ID; |
---|
**** | The origin of a node in a Sather source file. |
attr surr_stmt_list : AS_STMT_LIST; |
---|
attr tp:AS_TYPE_SPEC; |
---|
**** | The type of the local. |
attr transformed : BOOL; |
---|
append(l:T) |
---|
**** | Append the list `l' to the end of the list self. self may not be void but `l' may be. |
create: SAME |
---|
**** | A new object with default initialization. |
insert(e:T) |
---|
**** | Insert the single element `e' after self. Neither may be void, `e.next' must be void. |
size:INT |
---|
**** | The number of elements in the list starting with self. Self may be void. |