namespace NubLang.Ast;

public sealed class CompilationUnit
{
    public CompilationUnit(List<FuncNode> functions, List<NubStructType> importedStructTypes, List<FuncPrototypeNode> importedFunctions)
    {
        Functions = functions;
        ImportedStructTypes = importedStructTypes;
        ImportedFunctions = importedFunctions;
    }

    public List<FuncNode> Functions { get; }
    public List<NubStructType> ImportedStructTypes { get; }
    public List<FuncPrototypeNode> ImportedFunctions { get; }
}