class AS_SHARED_DEF < $AS_CLASS_ELT |
---|
**** | Definition of shared attributes. Parser should make one of these for each element in a list like "shared a,b,c:INT". |
$AS_CLASS_ELT | $NEXT{_} | $AS_NODE | $PROG_ERR | AS_CLASS_ELT | AS_NODE |
attr init:$AS_EXPR; |
---|
**** | Initialization expression, if any. |
attr is_:BOOL; |
---|
**** | True if declared . |
attr is_:BOOL; |
---|
**** | True if declared . |
attr name:IDENT; |
---|
**** | Name of the shared. |
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 tp:AS_TYPE_SPEC; |
---|
**** | Type declaration. |
attr init:$AS_EXPR; |
---|
**** | Initialization expression, if any. |
attr is_:BOOL; |
---|
**** | True if declared . |
attr is_:BOOL; |
---|
**** | True if declared . |
attr name:IDENT; |
---|
**** | Name of the shared. |
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 tp:AS_TYPE_SPEC; |
---|
**** | Type declaration. |
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. |