Array type works with args
This commit is contained in:
7
src/compiler/Nub.Lang/Frontend/Parsing/ArrayIndexNode.cs
Normal file
7
src/compiler/Nub.Lang/Frontend/Parsing/ArrayIndexNode.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace Nub.Lang.Frontend.Parsing;
|
||||
|
||||
public class ArrayIndexNode(ExpressionNode expression, ExpressionNode index) : ExpressionNode
|
||||
{
|
||||
public ExpressionNode Expression { get; } = expression;
|
||||
public ExpressionNode Index { get; } = index;
|
||||
}
|
||||
Reference in New Issue
Block a user