line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
%{ |
2
|
|
|
|
|
|
|
# header code goes here |
3
|
|
|
|
|
|
|
%} |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
%start elements |
6
|
1
|
|
|
1
|
0
|
4
|
%token OBRACE |
7
|
1
|
50
|
|
|
|
6
|
%token EBRACE |
8
|
|
|
|
|
|
|
%token PIPE |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
%% |
11
|
|
|
|
|
|
|
|
12
|
4
|
|
|
4
|
|
11
|
text: TEXT { $_[0]->YYData->{tree}->add_child("text",$_[0]->YYData->{DATA}[1],$_[0]->YYData->{DATA}[2]); } ; |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
1
|
|
|
element: text | parser_spin { }; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
1
|
|
|
elementpipe: elements pipe { } ; |
17
|
|
|
|
|
|
|
|
18
|
1
|
|
|
1
|
|
3
|
ebrace: EBRACE { $_[0]->YYData->{tree}->ebrace; } ; |
19
|
|
|
|
|
|
|
|
20
|
1
|
|
|
1
|
|
5
|
obrace: OBRACE { $_[0]->YYData->{tree}->obrace; } ; |
21
|
|
|
|
|
|
|
|
22
|
1
|
|
|
1
|
|
4
|
pipe: PIPE { $_[0]->YYData->{tree}->add_child("pipe") } ; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
elementpipes: |
25
|
|
|
|
|
|
|
| |
26
|
|
|
|
1
|
|
|
elementpipes elementpipe { } |
27
|
|
|
|
|
|
|
; |
28
|
|
|
|
|
|
|
|
29
|
1
|
|
|
1
|
|
4
|
parser_spin: obrace elementpipes elements ebrace { $_[0]->YYData->{tree}->last_child->{type} = "spin"; } ; |
30
|
1
|
|
|
|
|
82
|
|
31
|
|
|
|
|
|
|
elements: /* empty */ |
32
|
|
|
|
|
|
|
| |
33
|
|
|
|
|
|
|
elements element |
34
|
|
|
|
|
|
|
; |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
%% |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
|