This commit is contained in:
nub31
2025-06-13 00:07:14 +02:00
parent f458f95b5a
commit bf7995e12c
64 changed files with 167 additions and 176 deletions

View File

@@ -0,0 +1,10 @@
using syntax.Tokenization;
using syntax.Typing;
namespace syntax.Parsing.Expressions;
public class StructInitializerNode(IReadOnlyList<Token> tokens, NubStructType structType, Dictionary<string, ExpressionNode> initializers) : ExpressionNode(tokens)
{
public NubStructType StructType { get; } = structType;
public Dictionary<string, ExpressionNode> Initializers { get; } = initializers;
}