aboutsummaryrefslogtreecommitdiff
path: root/ast/CC/Context.hs
blob: acfb6141aab75ed62abba0447fd3c3499345a6b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
module CC.Context where

import Data.Map.Strict (Map)

import CC.AST.Typed


-- | Source metadata for compilation
data Context = Context FilePath Builtins

-- | Information about builtins supported by the enabled backend
data Builtins = Builtins (Map Name Type) String