Equality and comparison

This commit is contained in:
Rafał Grodziński
2025-06-04 17:24:30 +09:00
parent 36e798ae3f
commit 4feeb0f8af
7 changed files with 118 additions and 10 deletions

View File

@@ -22,6 +22,8 @@ private:
shared_ptr<StatementInvalid> matchStatementInvalid();
shared_ptr<Expression> nextExpression();
shared_ptr<Expression> matchEquality(); // =, !=
shared_ptr<Expression> matchComparison(); // <, <=, >, >=
shared_ptr<Expression> matchTerm(); // +, -
shared_ptr<Expression> matchFactor(); // *, /, %
shared_ptr<Expression> matchPrimary(); // integer, ()