type method

Parser type()

Implementation

Parser type() => [
  ref0(simpleType),
  ref0(typePointer),
  seq2(
    ref1(token, 'packed').optional(),
    [
      ref0(typeSet),
      ref0(typeArray),
      ref0(typeRecord),
      ref0(typeFile),
    ].toChoiceParser(),
  ),
].toChoiceParser();