Changed statement kinds

This commit is contained in:
Rafał Grodziński
2025-06-23 11:33:57 +09:00
parent f1ae9c61bc
commit fefde721c0
7 changed files with 12 additions and 15 deletions

View File

@@ -5,21 +5,14 @@
#include "Types.h"
class Expression;
class Statement;
class StatementBlock;
class StatementReturn;
class StatementExpression;
class StatementInvalid;
using namespace std;
enum class StatementKind {
FUNCTION_DECLARATION,
VAR_DECLARATION,
EXPRESSION,
BLOCK,
RETURN,
EXPRESSION,
FUNCTION,
VARIABLE,
META_EXTERN_FUNCTION,
INVALID
};