class_docstr: Parser for ASDL files.
  
  Create, then call the parse method on a buffer containing ASDL.
  This is a simple recursive descent parser that uses tokenize_asdl for the
  lexing.
class_docstr_tok: ["Parser","for","ASDL","files",".","Create",",","then","call","the","parse","method","on","a","buffer","containing","ASDL",".","This","is","a","simple","recursive","descent","parser","that","uses","tokenize_asdl","for","the","lexing","."]
code: def _parse_optional_field_quantifier(self):
      is_seq, is_opt = False, False
      if self.cur_token.kind == TokenKind.Asterisk:
          is_seq = True
          self._advance()
      elif self.cur_token.kind == TokenKind.Question:
          is_opt = True
          self._advance()
      return is_seq, is_opt
  
imports: from collections import namedtuple
  import re
label_desc: Use image node_id 10 for calling the ASDLParser obj's underlying member method code with example usage: obj._parse_optional_field_quantifier() and returns: is_seq,  is_opt