parameters: (input_handler)
return_statement: return FunExpr("unit", block_stmt, [])
docstring: Parse a source unit from an input_handler object
docstring_summary: Parse a source unit from an input_handler object
docstring_tokens: Parse a source unit from an input_handler object
function: def parse_unit(input_handler):
      """Parse a source unit from an input_handler object"""
      if input_handler.match('#language'):
          input_handler.expect_ws('"')
          while True:
              if input_handler.eof():
                  raise ParseError(input_handler, "end of input_handler inside language declaration")
              if input_handler.read_ch() == '"':
                  break
      block_stmt = parse_block_stmt(input_handler, "")
      return FunExpr("unit", block_stmt, [])
function_tokens: def parse_unit ( input_handler ) : if input_handler . match ( '#language' ) : input_handler . expect_ws ( '"' ) while True : if input_handler . eof ( ) : raise ParseError ( input_handler , "end of input_handler inside language declaration" ) if input_handler . read_ch ( ) == '"' : break block_stmt = parse_block_stmt ( input_handler , "" ) return FunExpr ( "unit" , block_stmt , [ ] )