This repository has been archived on 2025-10-24. You can view files and clone it, but cannot push or open issues or pull requests.
Files
nub-lang-archive-2/lang/Nub.Lang/Frontend/Parsing/ExpressionNode.cs
nub31 5f2d1ff3f9 ...
2025-05-04 16:02:48 +02:00

11 lines
288 B
C#

namespace Nub.Lang.Frontend.Parsing;
public abstract class ExpressionNode : Node
{
private NubType? _type;
public NubType Type
{
get => _type ?? throw new Exception("Tried to access expression type before type was populated");
set => _type = value;
}
}