From 967be9e750221ab2ab783f95df79bb26d290a45e Mon Sep 17 00:00:00 2001 From: Martial Simon Date: Mon, 15 Sep 2025 01:07:58 +0200 Subject: add: added projects --- tiger-compiler/src/bind/libbind.hh | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 tiger-compiler/src/bind/libbind.hh (limited to 'tiger-compiler/src/bind/libbind.hh') diff --git a/tiger-compiler/src/bind/libbind.hh b/tiger-compiler/src/bind/libbind.hh new file mode 100644 index 0000000..f4b8bb5 --- /dev/null +++ b/tiger-compiler/src/bind/libbind.hh @@ -0,0 +1,29 @@ +/** +** \file bind/libbind.hh + ** \brief Interface of the bind module. + */ + +// FIXME DONE: Some code was deleted here. + +#pragma once + +#include +#include +#include + +namespace bind +{ + /// \brief Bind the whole ast in place, return the error code + /// + /// \param last the ast you want to bind + /// + /// \return a misc::error that serve to indicate possible failure + misc::error bind(ast::ChunkList* d); + + /// \brief Rename the whole ast in place + /// + /// \param ast the ast you want to rename + /// + /// \return a misc::error that serve to indicate possible failure + misc::error rename(ast::Ast& ast); +} // namespace bind -- cgit v1.2.3