canParse method

bool canParse(
  1. BlockParser parser
)

Implementation

bool canParse(BlockParser parser) {
  return pattern.hasMatch(parser.current.content);
}