##// END OF EJS Templates
parser: update documentation about tokenizer and elements
Yuya Nishihara -
r25655:b8b73652 default
parent child Browse files
Show More
@@ -10,8 +10,9 b''
10 # for background
10 # for background
11
11
12 # takes a tokenizer and elements
12 # takes a tokenizer and elements
13 # tokenizer is an iterator that returns type, value pairs
13 # tokenizer is an iterator that returns (type, value, pos) tuples
14 # elements is a mapping of types to binding strength, prefix and infix actions
14 # elements is a mapping of types to binding strength, prefix, infix and
15 # optional suffix actions
15 # an action is a tree node name, a tree label, and an optional match
16 # an action is a tree node name, a tree label, and an optional match
16 # __call__(program) parses program into a labeled tree
17 # __call__(program) parses program into a labeled tree
17
18
General Comments 0
You need to be logged in to leave comments. Login now