isAtBlockEnd static method
Gets whether or not parser
's current line should end the previous block.
Implementation
static bool isAtBlockEnd(BlockParser parser) {
if (parser.isDone) return true;
return parser.blockSyntaxes
.any((s) => s.canParse(parser) && s.canEndBlock(parser));
}