parser: function declaration

This commit is contained in:
2026-04-28 20:09:23 +02:00
parent 1f17da04f6
commit 9227e58e65
3 changed files with 175 additions and 3 deletions

View File

@@ -29,7 +29,14 @@ typedef enum noomP_NodeType {
NOOMP_NODE_CALL,
NOOMP_NODE_METHODCALL,
NOOMP_NODE_FUNCTIONDECLARATION,
NOOMP_NODE_FUNCTIONPARAMETERS,
NOOMP_NODE_FUNCTIONNAME,
NOOMP_NODE_FIELDNAME,
NOOMP_NODE_METHODNAME, // only used in function decl as of right now.
NOOMP_NODE_VARARG,
NOOMP_NODE_PARENTHESIZED,