ALib C++ Library
by
Library Version:
2412 R0
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 !DOXYGEN
10
# include "
alib/expressions/detail/parser.hpp
"
11
# include "
alib/expressions/compiler.hpp
"
12
# include "
alib/expressions/detail/parser_impl.hpp
"
13
#endif
// !DOXYGEN
14
15
16
namespace
alib
{
namespace
expressions {
namespace
detail {
17
18
// static creation method
19
Parser
*
Parser::Create
(
Compiler
& compiler )
20
{
21
return
compiler.
allocator
().New<
detail::ParserImpl
>(compiler, compiler.
allocator
);
22
}
23
24
25
}}}
// namespace [alib::expressions::detail]
alib_precompile.hpp
alib::expressions::Compiler
Definition
compiler.hpp:69
alib::expressions::Compiler::allocator
MonoAllocator allocator
Definition
compiler.hpp:87
alib::expressions::detail::ParserImpl
Definition
parser_impl.hpp:41
compiler.hpp
alib
Definition
alib.cpp:69
parser.hpp
parser_impl.hpp
alib::expressions::detail::Parser
This detail class constitutes an abstract base class for expression parsers.
Definition
parser.hpp:24
alib::expressions::detail::Parser::Create
static ALIB_API Parser * Create(Compiler &compiler)
Definition
parser.cpp:19