statement method
Implementation
AstNode statement() {
if (match([TokenType.leftBrace])) {
return block();
} else if (match([TokenType.tartBreak])) {
return breakStatement();
} else {
return expressionStatement();
}
}
AstNode statement() {
if (match([TokenType.leftBrace])) {
return block();
} else if (match([TokenType.tartBreak])) {
return breakStatement();
} else {
return expressionStatement();
}
}