﻿using System.Collections.Generic;

namespace slang.Compilation
{
    public class CompilationRoot
    {
        public CompilationRoot (CompilationMetadata metadata)
        {
            CompilationUnits = new List<CompilationUnit> ();
            Metadata = metadata;
        }

        public List<CompilationUnit> CompilationUnits { get; private set; }

        public CompilationMetadata Metadata { get; private set; }
    }
}


Add a compilation root as a container for individual compilation units created by parsing each file.
Add a compilation root as a container for individual compilation units created by parsing each file.
