canParse method

bool canParse(
  1. BlockParser parser
)

Implementation

bool canParse(BlockParser parser) {
  return pattern!.firstMatch(parser.current) != null;
}