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

Last change on this file was 132, checked in by chronos, 7 years ago
  • Modified: Improved parser generation.
File size: 701 bytes
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>-1</Optional>
13 <Repetitive>0</Repetitive>
14 <AnyExcept>0</AnyExcept>
15 <Terminal>a</Terminal>
16 </RuleItem>
17 <RuleItem>
18 <Type>0</Type>
19 <Optional>0</Optional>
20 <Repetitive>0</Repetitive>
21 <AnyExcept>0</AnyExcept>
22 <Terminal>b</Terminal>
23 </RuleItem>
24 </RuleItems>
25 </Rule>
26 </Rules>
27 <TopRule>Main</TopRule>
28</GrammerProject>
Note: See TracBrowser for help on using the repository browser.