Refactor statements

This commit is contained in:
nub31
2025-06-02 15:27:19 +02:00
parent 9f7bc4d2d5
commit 96ad3d2677
36 changed files with 354 additions and 230 deletions

View File

@@ -0,0 +1,10 @@
using Nub.Lang.Frontend.Lexing;
using Nub.Lang.Frontend.Typing;
namespace Nub.Lang.Frontend.Parsing;
public class ArrayInitializerNode(IReadOnlyList<Token> tokens, ExpressionNode capacity, NubType itemType) : ExpressionNode(tokens)
{
public ExpressionNode Capacity { get; } = capacity;
public NubType ItemType { get; } = itemType;
}