source: branches/generator/Grammers/Test Subitems.grm

Last change on this file was 133, checked in by chronos, 7 years ago
  • Modified: Generate subitems as local function inside method.
File size: 1.4 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<GrammerProject>
3 <Rules>
4 <Rule>
5 <Name>Main</Name>
6 <CreateSourceNode>0</CreateSourceNode>
7 <Level>0</Level>
8 <RuleItems>
9 <Type>0</Type>
10 <RuleItem>
11 <Type>0</Type>
12 <Optional>0</Optional>
13 <Repetitive>0</Repetitive>
14 <AnyExcept>0</AnyExcept>
15 <Terminal>a</Terminal>
16 </RuleItem>
17 <RuleItem>
18 <Type>2</Type>
19 <Optional>0</Optional>
20 <Repetitive>0</Repetitive>
21 <AnyExcept>0</AnyExcept>
22 <SubItems>
23 <Type>0</Type>
24 <RuleItem>
25 <Type>0</Type>
26 <Optional>0</Optional>
27 <Repetitive>0</Repetitive>
28 <AnyExcept>0</AnyExcept>
29 <Terminal>b</Terminal>
30 </RuleItem>
31 <RuleItem>
32 <Type>0</Type>
33 <Optional>0</Optional>
34 <Repetitive>0</Repetitive>
35 <AnyExcept>0</AnyExcept>
36 <Terminal>c</Terminal>
37 </RuleItem>
38 </SubItems>
39 </RuleItem>
40 <RuleItem>
41 <Type>0</Type>
42 <Optional>0</Optional>
43 <Repetitive>0</Repetitive>
44 <AnyExcept>0</AnyExcept>
45 <Terminal>d</Terminal>
46 </RuleItem>
47 </RuleItems>
48 </Rule>
49 </Rules>
50 <TopRule>Main</TopRule>
51</GrammerProject>
Note: See TracBrowser for help on using the repository browser.