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