My favorites | Sign in
Project Logo
                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
namespace Boo.Pegs

class PegRule(PegExpression):

[property(Expression)]
_e as PegExpression

[property(Name)]
_name as string

def constructor(name as string):
_name = name

override def Match(context as PegContext):
return context.MatchRule(self)

override def ToString():
return _name;
Show details Hide details

Change log

r57 by rodrigobamboo on May 07, 2008   Diff
better support for debugging with rule
names and PegDebugContext
Go to: 
Project members, sign in to write a code review

Older revisions

r47 by rodrigobamboo on May 04, 2008   Diff
more explicit names for repetition
rules;
better file names and other things;
r46 by rodrigobamboo on May 02, 2008   Diff
$text
r43 by rodrigobamboo on May 02, 2008   Diff
Parsing Expression Grammas framework.
All revisions of this file

File info

Size: 308 bytes, 18 lines
Hosted by Google Code