2023-07-29 05:52:06 -04:00
|
|
|
#include "helpers/push_ignores.inline.hpp"
|
2023-07-24 22:19:21 -04:00
|
|
|
|
2023-04-10 21:33:06 -04:00
|
|
|
// ReSharper disable CppClangTidyClangDiagnosticSwitchEnum
|
2023-07-08 14:11:41 -04:00
|
|
|
|
2023-07-18 23:33:00 -04:00
|
|
|
#if ! defined(GEN_DONT_ENFORCE_GEN_TIME_GUARD) && ! defined(GEN_TIME)
|
2023-07-25 15:12:51 -04:00
|
|
|
# error Gen.hpp : GEN_TIME not defined
|
2023-07-18 23:33:00 -04:00
|
|
|
#endif
|
|
|
|
|
2023-08-04 16:12:13 -04:00
|
|
|
#include "gen.hpp"
|
|
|
|
|
2024-12-05 00:40:51 -05:00
|
|
|
// These are intended for use in the base library of gencpp and the C-variant of the library
|
|
|
|
// It provides a interoperability between the C++ and C interfacing for containers. (not letting these do any crazy substiution though)
|
|
|
|
// They are undefined in gen.hpp and gen.cpp at the end of the files.
|
|
|
|
// We cpp library expects the user to use the regular calls as they can resolve the type fine.
|
|
|
|
|
2024-12-05 17:04:17 -05:00
|
|
|
#include "helpers/push_container_defines.inline.hpp"
|
2024-12-05 00:40:51 -05:00
|
|
|
|
2023-07-16 12:08:57 -04:00
|
|
|
//! If its desired to roll your own dependencies, define GEN_ROLL_OWN_DEPENDENCIES before including this file.
|
|
|
|
//! Dependencies are derived from the c-zpl library: https://github.com/zpl-c/zpl
|
|
|
|
#ifndef GEN_ROLL_OWN_DEPENDENCIES
|
2023-07-25 15:12:51 -04:00
|
|
|
# include "gen.dep.cpp"
|
2023-07-12 02:37:51 -04:00
|
|
|
#endif
|
2023-07-16 12:08:57 -04:00
|
|
|
|
2023-08-21 22:48:05 -04:00
|
|
|
GEN_NS_BEGIN
|
2023-07-19 23:42:28 -04:00
|
|
|
|
2023-07-29 05:52:06 -04:00
|
|
|
#include "components/static_data.cpp"
|
2023-05-06 00:18:44 -04:00
|
|
|
|
2023-07-29 05:52:06 -04:00
|
|
|
#include "components/ast_case_macros.cpp"
|
|
|
|
#include "components/ast.cpp"
|
2023-11-19 20:34:46 -05:00
|
|
|
#include "components/code_serialization.cpp"
|
2023-07-24 00:27:13 -04:00
|
|
|
|
2023-07-29 05:52:06 -04:00
|
|
|
#include "components/interface.cpp"
|
|
|
|
#include "components/interface.upfront.cpp"
|
2023-08-21 23:28:39 -04:00
|
|
|
#include "components/gen/etoktype.cpp"
|
2023-11-20 15:09:01 -05:00
|
|
|
#include "components/lexer.cpp"
|
|
|
|
#include "components/parser.cpp"
|
2023-07-29 05:52:06 -04:00
|
|
|
#include "components/interface.parsing.cpp"
|
2023-08-21 20:30:13 -04:00
|
|
|
#include "components/interface.untyped.cpp"
|
2023-07-24 00:27:13 -04:00
|
|
|
|
2023-08-21 22:48:05 -04:00
|
|
|
GEN_NS_END
|
2023-07-19 23:42:28 -04:00
|
|
|
|
2024-12-05 17:04:17 -05:00
|
|
|
#include "helpers/pop_container_defines.inline.hpp"
|
2023-07-29 05:52:06 -04:00
|
|
|
#include "helpers/pop_ignores.inline.hpp"
|