code: def parse_directives(parser):
      directives = []
      while peek(parser, TokenKind.AT):
          directives.append(parse_directive(parser))
      return directives
  
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 34 for calling a global function with example usage: parse_directives(parser) and returns: directives