Added VarAssign, VarAccess and MultiNode

This commit is contained in:
Pasha Bibko
2025-04-28 19:59:45 +01:00
parent d8773d4020
commit 3ec6cc0c6e
7 changed files with 186 additions and 20 deletions

View File

@@ -26,11 +26,20 @@ namespace LX::AST
// Used so a pointer to Node can be used and then turned into it's true type //
enum NodeType
{
// "Nodes" //
MULTI_NODE,
// General Nodes //
NUMBER_LITERAL,
OPERATION,
// Variable manipulation //
VARIABLE_DECLARATION,
VARIABLE_ASSIGNMENT,
VARIABLE_ACCESS,
// Control flow Nodes //