skylabs.lang.cpp.syntax.templates
(*
* Copyright (c) 2026 SkyLabs AI, Inc.
* This software is distributed under the terms of the BedRock Open-Source License.
* See the LICENSE-BedRock file in the repository root for details.
*)
Require Import skylabs.prelude.base.
Require Import skylabs.prelude.error.
Require Import skylabs.lang.cpp.syntax.core.
Require Export skylabs.lang.cpp.syntax.mcore.
Require Import skylabs.lang.cpp.syntax.decl.
Require Export skylabs.lang.cpp.syntax.translation_unit.
Require Export skylabs.lang.cpp.syntax.namemap.
* Copyright (c) 2026 SkyLabs AI, Inc.
* This software is distributed under the terms of the BedRock Open-Source License.
* See the LICENSE-BedRock file in the repository root for details.
*)
Require Import skylabs.prelude.base.
Require Import skylabs.prelude.error.
Require Import skylabs.lang.cpp.syntax.core.
Require Export skylabs.lang.cpp.syntax.mcore.
Require Import skylabs.lang.cpp.syntax.decl.
Require Export skylabs.lang.cpp.syntax.translation_unit.
Require Export skylabs.lang.cpp.syntax.namemap.
Template TUs
Record Mtranslation_unit : Type := {
msymbols : Msymbol_table;
mtypes : Mtype_table;
maliases : Malias_table; (* we eschew <<Gtypedef>> for now *)
minstances : Minstance_table
}.
msymbols : Msymbol_table;
mtypes : Mtype_table;
maliases : Malias_table; (* we eschew <<Gtypedef>> for now *)
minstances : Minstance_table
}.