#NEWLINE# def _function( self ) : #NEWLINE# #INDENT# 'Parse a function.\n\n        function ::= function funcbody\n\n        Returns:\n          Function(funcbody)\n        ' #NEWLINE# pos = self . _pos #NEWLINE# if self . _accept ( lexer . TokKeyword ( 'function' ) ) : #NEWLINE# #INDENT# funcbody = self . _assert ( self . _funcbody ( ) , 'funcbody in function' ) #NEWLINE# return Function ( funcbody , start = pos , end = self . _pos ) #NEWLINE# #UNINDENT# return None