Home | History | Annotate | Download | only in tests

Lines Matching full:capture

16             def capture(self, t):
72 {self.capture("\%s, \%s" \% ($ID, $INT))}
106 {self.capture(str($ID)+", "+str($INT))}
141 b : ID INT {self.capture(str($ID)+" "+str($INT)+'\n')}
142 | ^(ID INT) {self.capture("^("+str($ID)+" "+str($INT)+')');}
176 b : ID INT+ {self.capture(str($ID)+" "+str($INT)+"\n")}
177 | ^(x=ID (y=INT)+) {self.capture("^("+str($x)+' '+str($y)+')')}
210 a : ID INT+ PERIOD {self.capture("alt 1")}
211 | ID INT+ SEMI {self.capture("alt 2")}
265 {self.capture(str($ID))}
298 {self.capture(str($ID))}
331 {self.capture(str($ID)+", "+str($b.text))}
365 {self.capture(str($ID)+", "+str(x))}
394 a : ^('+' . INT) { self.capture("alt 1") }
422 a : ^('+' . INT) { self.capture("alt 1") }
423 | ^('+' . .) { self.capture("alt 2") }
453 a : ^('+' ID INT) { self.capture("alt 1") }
454 | ^('+' . .) { self.capture("alt 2") }
484 a : ^('+' INT INT ) { self.capture("alt 1") }
485 | ^('+' .+) { self.capture("alt 2") }