code: def parse_enum_type_definition(parser):
      start = parser.token.start
      expect_keyword(parser, "enum")
  
      return ast.EnumTypeDefinition(
          name=parse_name(parser),
          directives=parse_directives(parser),
          values=many(
              parser,
              TokenKind.BRACE_L,
              parse_enum_value_definition,
              TokenKind.BRACE_R,
          ),
          loc=loc(parser, start),
      )
  
imports: from .None import ast
  from ..error import GraphQLSyntaxError
  from .lexer import Lexer, TokenKind, get_token_desc, get_token_kind_desc
  from .source import Source
label_desc: Use image node_id 50 for calling a global function with example usage: parse_enum_type_definition(parser) and returns: ast