ALib C++ Library
Library Version: 2510 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
parser.cpp
1// #################################################################################################
2// ALib C++ Library
3//
4// Copyright 2013-2025 A-Worx GmbH, Germany
5// Published under 'Boost Software License' (a free software license, see LICENSE.txt)
6// #################################################################################################
7#include "alib_precompile.hpp"
8#if !defined(ALIB_C20_MODULES) || ((ALIB_C20_MODULES != 0) && (ALIB_C20_MODULES != 1))
9# error "Symbol ALIB_C20_MODULES has to be given to the compiler as either 0 or 1"
10#endif
11#if ALIB_C20_MODULES
12 module;
13#endif
14// ====================================== Global Fragment ======================================
16
17// =========================================== Module ==========================================
18#if ALIB_C20_MODULES
19 module ALib.Expressions;
21#else
22# include "ALib.Expressions.H"
24#endif
25// ====================================== Implementation =======================================
26namespace alib { namespace expressions { namespace detail {
27
28// static creation method
30{
31 return compiler.allocator().New<detail::ParserImpl>(compiler, compiler.allocator );
32}
33
34
35}}} // namespace [alib::expressions::detail]
This detail class constitutes an abstract base class for expression parsers.
Definition parser.inl:15
static ALIB_DLL Parser * Create(Compiler &compiler)
Definition parser.cpp:29