atomPattern method

Parser<PatternNode> atomPattern()
inherited

Atomic patterns.

Implementation

Parser<PatternNode> atomPattern() => [
  ref0(wildcardPattern),
  ref0(literalPattern),
  ref0(classOrCapturePattern),
  ref0(sequencePattern),
  ref0(mappingPattern),
].toChoiceParser();