2023-07-29 02:52:06 -07:00
|
|
|
#include "helpers/push_ignores.inline.hpp"
|
2023-07-24 19:19:21 -07:00
|
|
|
|
2023-04-10 18:33:06 -07:00
|
|
|
// ReSharper disable CppClangTidyClangDiagnosticSwitchEnum
|
2023-07-08 11:11:41 -07:00
|
|
|
|
2023-07-18 20:33:00 -07:00
|
|
|
#if ! defined(GEN_DONT_ENFORCE_GEN_TIME_GUARD) && ! defined(GEN_TIME)
|
2023-07-25 12:12:51 -07:00
|
|
|
# error Gen.hpp : GEN_TIME not defined
|
2023-07-18 20:33:00 -07:00
|
|
|
#endif
|
|
|
|
|
2023-08-04 13:12:13 -07:00
|
|
|
#include "gen.hpp"
|
|
|
|
|
2024-12-04 21:40:51 -08: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 14:04:17 -08:00
|
|
|
#include "helpers/push_container_defines.inline.hpp"
|
2024-12-04 21:40:51 -08:00
|
|
|
|
2023-07-16 09:08:57 -07: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 12:12:51 -07:00
|
|
|
# include "gen.dep.cpp"
|
2023-07-11 23:37:51 -07:00
|
|
|
#endif
|
2023-07-16 09:08:57 -07:00
|
|
|
|
2023-08-21 19:48:05 -07:00
|
|
|
GEN_NS_BEGIN
|
2023-07-19 20:42:28 -07:00
|
|
|
|
2023-07-29 02:52:06 -07:00
|
|
|
#include "components/static_data.cpp"
|
2023-05-05 21:18:44 -07:00
|
|
|
|
2023-07-29 02:52:06 -07:00
|
|
|
#include "components/ast_case_macros.cpp"
|
|
|
|
#include "components/ast.cpp"
|
2023-11-19 17:34:46 -08:00
|
|
|
#include "components/code_serialization.cpp"
|
2023-07-23 21:27:13 -07:00
|
|
|
|
2023-07-29 02:52:06 -07:00
|
|
|
#include "components/interface.cpp"
|
|
|
|
#include "components/interface.upfront.cpp"
|
2023-11-20 12:09:01 -08:00
|
|
|
#include "components/lexer.cpp"
|
2024-12-14 08:24:21 -08:00
|
|
|
#include "components/parser_case_macros.cpp"
|
2023-11-20 12:09:01 -08:00
|
|
|
#include "components/parser.cpp"
|
2023-07-29 02:52:06 -07:00
|
|
|
#include "components/interface.parsing.cpp"
|
2023-08-21 17:30:13 -07:00
|
|
|
#include "components/interface.untyped.cpp"
|
2023-07-23 21:27:13 -07:00
|
|
|
|
2024-12-10 17:45:00 -08:00
|
|
|
#include "auxillary/builder.cpp"
|
|
|
|
#include "auxillary/scanner.cpp"
|
|
|
|
|
2023-08-21 19:48:05 -07:00
|
|
|
GEN_NS_END
|
2023-07-19 20:42:28 -07:00
|
|
|
|
2024-12-05 14:04:17 -08:00
|
|
|
#include "helpers/pop_container_defines.inline.hpp"
|
2023-07-29 02:52:06 -07:00
|
|
|
#include "helpers/pop_ignores.inline.hpp"
|