Rename struct member to struct field

This commit is contained in:
nub31
2025-05-04 19:30:06 +02:00
parent 862971bf17
commit 6755342cdb
3 changed files with 5 additions and 5 deletions

View File

@@ -0,0 +1,10 @@
using Nub.Lang.Frontend.Parsing;
namespace Nub.Lang;
public class StructField(string name, NubType type, Optional<ExpressionNode> value)
{
public string Name { get; } = name;
public NubType Type { get; } = type;
public Optional<ExpressionNode> Value { get; } = value;
}