parseEndOfStmtMark method
Implementation
bool parseEndOfStmtMark({bool required = false}) {
bool hasEndOfStmtMark = true;
if (config.explicitEndOfStatement || required) {
match(lexer.lexicon.endOfStatementMark);
} else {
hasEndOfStmtMark =
expect([lexer.lexicon.endOfStatementMark], consume: true);
}
return hasEndOfStmtMark;
}