Added VarAssign, VarAccess and MultiNode

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

No files matched your search

+9
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 //