term method
Implementation
AstNode term() {
AstNode expr = factor();
while (match([TokenType.minus, TokenType.plus])) {
Token operator = previous();
AstNode right = factor();
expr = BinaryExpression(expr, operator, right);
}
return expr;
}