This commit is contained in:
Rafał Grodziński
2025-05-29 22:02:44 +09:00
parent e709102abc
commit d5d21aa422
5 changed files with 77 additions and 4 deletions

View File

@@ -1,5 +1,24 @@
#include "Parser.h"
std::vector Parser::getExpressions() {
Parser::Parser(std::vector<Token> tokens) : tokens(tokens) {
}
/*Expression Parser::getExpression() {
return term();
}*/
/*Expression Parser::term() {
}*/
/*Expression Parser::primary() {
}*/
Expression Parser::matchInteger() {
//Token token = tokens.at(currentIndex);
//if (token.getKind() == Token::Kind::INTEGER)
// ExpressionInteger(token);
return Expression::Invalid;
}