mirror of
https://github.com/PashaBibko/LX.git
synced 2026-12-02 22:07:39 +00:00
Now supports function calling
This commit is contained in:
1 parent
c47889a4ff
commit
2a47fd1756
9 files changed
+206
-44
No files matched your search
@@ -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