mirror of
https://github.com/PashaBibko/LX.git
synced 2026-04-03 17:39:02 +00:00
Added VarAssign, VarAccess and MultiNode
This commit is contained in:
@@ -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 //
|
||||
|
||||
|
||||
Reference in New Issue
Block a user