24 lines
575 B
C#
24 lines
575 B
C#
using System.Collections.Immutable;
|
|
|
|
namespace Parser.Binding
|
|
{
|
|
public class FunctionSymbol
|
|
{
|
|
public FunctionSymbol(
|
|
string name,
|
|
ImmutableArray<ParameterSymbol> parameters,
|
|
FunctionDeclarationSyntaxNode? declaration)
|
|
{
|
|
Name = name;
|
|
Parameters = parameters;
|
|
Declaration = declaration;
|
|
}
|
|
|
|
public string Name { get; }
|
|
|
|
public ImmutableArray<ParameterSymbol> Parameters { get; }
|
|
|
|
public FunctionDeclarationSyntaxNode? Declaration { get; }
|
|
}
|
|
}
|