def _program(self): return pyparsing.ZeroOrMore( self._element() | self._typedef() ).setParseAction(self._make_prog)