mirror of
https://github.com/PashaBibko/LX.git
synced 2026-04-03 17:39:02 +00:00
Now supports function calling
This commit is contained in:
@@ -30,6 +30,7 @@ namespace LX::AST
|
||||
|
||||
NUMBER_LITERAL,
|
||||
OPERATION,
|
||||
FUNCTION_CALL,
|
||||
|
||||
// Variable manipulation //
|
||||
|
||||
@@ -57,6 +58,9 @@ namespace LX::AST
|
||||
// Function to log the node to a file //
|
||||
virtual void Log(unsigned depth) = 0;
|
||||
|
||||
// Function to get the node's type name //
|
||||
virtual const char* TypeName() = 0;
|
||||
|
||||
// Function for generating C/C++ code (Currently not implemented) //
|
||||
//virtual void GenC() = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user