code: def parse_list(parser, is_const):
      start = parser.token.start
      item = parse_const_value if is_const else parse_variable_value
  
      return ast.ListValue(
          values=any(
              parser, TokenKind.BRACKET_L, item, TokenKind.BRACKET_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 31 for calling a global function with example usage: parse_list(parser, is_const) and returns: ast