コード例 #1
0
ファイル: parser.py プロジェクト: treycucco/pxp
 def digit(self, text):
   """digit = ? get_digit ? ;"""
   self._attempting(text)
   return PB.get_digit(text).retyped(TokenType.digit)
コード例 #2
0
ファイル: parser.py プロジェクト: treycucco/pyebnf
 def digit(self, text):
   """digit = ? get_digit ? ;"""
   self._attempting(text)
   return PB.get_digit(text)