ALib C++ Library
by
Library Version:
2402 R1
Documentation generated by
Loading...
Searching...
No Matches
home
dev
A-Worx
ALib
src
alib
expressions
detail
parser.cpp
1
// #################################################################################################
2
// ALib C++ Library
3
//
4
// Copyright 2013-2024 A-Worx GmbH, Germany
5
// Published under 'Boost Software License' (a free software license, see LICENSE.txt)
6
// #################################################################################################
7
#include "
alib/alib_precompile.hpp
"
8
9
#if !defined(ALIB_DOX)
10
# if !defined (HPP_ALIB_EXPRESSIONS_DETAIL_PARSER)
11
# include "
alib/expressions/detail/parser.hpp
"
12
# endif
13
# if !defined (HPP_ALIB_EXPRESSIONS_COMPILER)
14
# include "
alib/expressions/compiler.hpp
"
15
# endif
16
# if !defined (HPP_ALIB_EXPRESSIONS_DETAIL_PARSER_IMPL)
17
# include "
alib/expressions/detail/parser_impl.hpp
"
18
# endif
19
#endif
// !defined(ALIB_DOX)
20
21
22
namespace
alib
{
namespace
expressions {
namespace
detail {
23
24
// static creation method
25
Parser
*
Parser::Create
(
Compiler
& compiler )
26
{
27
return
compiler.
allocator
.
Emplace
<
detail::ParserImpl
>( compiler, &compiler.
allocator
);
28
}
29
30
31
}}}
// namespace [alib::expressions::detail]
alib_precompile.hpp
alib::expressions::Compiler
Definition
compiler.hpp:90
alib::expressions::Compiler::allocator
MonoAllocator allocator
Definition
compiler.hpp:108
alib::expressions::detail::ParserImpl
Definition
parser_impl.hpp:55
alib::monomem::MonoAllocator::Emplace
ALIB_FORCE_INLINE T * Emplace(TArgs &&... args)
Definition
monoallocator.hpp:496
compiler.hpp
alib
Definition
alib.cpp:57
parser.hpp
parser_impl.hpp
alib::expressions::detail::Parser
Definition
parser.hpp:35
alib::expressions::detail::Parser::Create
static ALIB_API Parser * Create(Compiler &compiler)
Definition
parser.cpp:25