next up previous contents index
Next: Attributes for conditional statements Up: Various attributes and functions Previous: Various attributes and functions

  
Attributes for labels

  The labels are coded as integer constants (i.e nodes of variant "int_cst"). For example, the AST   attribute applied to the fortran statement 10 print *,i gives the following string

labstat(int_cst 10, print(star(), l_ioexp[name i]))

We can see that labeled statements are coded by an node of variant "labstat".

  $\blacktriangleright$ stat.STATEMENT
 
The expression   returns the statement associated to the node stat of variant "labstat". (see section 8.2 for more informations).
  $\blacktriangleright$ stat.LABEL
 
The expression   returns the label associated to a statement stat. stat can be a "labstat"



Yann Mevel
1999-04-30