namespace

This commit is contained in:
nub31
2025-05-26 19:38:02 +02:00
parent cfd7a6ebef
commit 37b4ce3989
7 changed files with 107 additions and 62 deletions

View File

@@ -1,8 +1,7 @@
namespace Nub.Lang.Frontend.Parsing;
public class SourceFile(string module, List<string> imports, List<DefinitionNode> definitions)
public class SourceFile(string @namespace, List<DefinitionNode> definitions)
{
public string Module { get; } = module;
public List<string> Imports { get; } = imports;
public string Namespace { get; } = @namespace;
public List<DefinitionNode> Definitions { get; } = definitions;
}