This commit is contained in:
nub31
2026-02-24 20:34:27 +01:00
parent 76efc84984
commit 35867ffa28
4 changed files with 118 additions and 52 deletions

View File

@@ -802,7 +802,7 @@ public class NodeStatementMatch(List<Token> tokens, NodeExpression target, List<
public class Case(List<Token> tokens, TokenIdent type, TokenIdent variableName, NodeStatement body) : Node(tokens)
{
public TokenIdent Type { get; } = type;
public TokenIdent Variant { get; } = type;
public TokenIdent VariableName { get; } = variableName;
public NodeStatement Body { get; } = body;
}