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

Last change on this file was 136, checked in by chronos, 7 years ago
  • Added: Support for whitespaces in And rule.
  • Added: Terminals can be specified as escaped strings with slash.
File size: 947 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 <WithWhiteSpaces>0</WithWhiteSpaces>
11 <RuleItem>
12 <Type>0</Type>
13 <Optional>0</Optional>
14 <Repetitive>0</Repetitive>
15 <AnyExcept>0</AnyExcept>
16 <Terminal>a</Terminal>
17 </RuleItem>
18 <RuleItem>
19 <Type>0</Type>
20 <Optional>0</Optional>
21 <Repetitive>0</Repetitive>
22 <AnyExcept>0</AnyExcept>
23 <Terminal>b</Terminal>
24 </RuleItem>
25 <RuleItem>
26 <Type>0</Type>
27 <Optional>0</Optional>
28 <Repetitive>0</Repetitive>
29 <AnyExcept>0</AnyExcept>
30 <Terminal>c</Terminal>
31 </RuleItem>
32 </RuleItems>
33 </Rule>
34 </Rules>
35 <TopRule>Main</TopRule>
36</GrammerProject>
Note: See TracBrowser for help on using the repository browser.