code: def parse_name(parser):
      # type: (Parser) -> Name
      
      token = expect(parser, TokenKind.NAME)
      return ast.Name(value=token.value, loc=loc(parser, token.start))
docs: Converts a name lex token into a name parse node.