pet_expr: document the read and write fields
[pet.git] / tests / enum.scop
blob891d2d1e99ddc4c46a8dd54bb90e4891e9b0eeb2
1 start: 91
2 end: 136
3 indent: "\t"
4 context: '{  :  }'
5 arrays:
6 - context: '{  :  }'
7   extent: '{ a[i0] : i0 >= 0 and i0 <= 2 }'
8   element_type: int
9   element_size: 4
10 statements:
11 - line: 13
12   domain: '{ S_0[] }'
13   schedule: '{ S_0[] -> [0] }'
14   body:
15     type: expression
16     expr:
17       type: op
18       operation: =
19       arguments:
20       - type: access
21         index: '{ S_0[] -> a[(1)] }'
22         reference: __pet_ref_0
23         read: 0
24         write: 1
25       - type: int
26         value: 5