an abstract factory for the domain specific languages supported by MFront implemented using the singleton pattern.
More...
#include </home/runner/work/tfel/tfel/mfront/include/MFront/DSLFactory.hxx>
|
| using | DSLGenerator |
| | a simple alias
|
|
using | DescriptionGenerator = std::function<std::string()> |
| | a simple alias
|
|
|
static DSLFactory & | getDSLFactory () |
| | return the unique instance of the DSLFactory class.
|
an abstract factory for the domain specific languages supported by MFront implemented using the singleton pattern.
◆ DSLGenerator
Initial value: std::function<std::shared_ptr<AbstractDSL>(
tfel::utilities::DataMap DSLOptions
a simple alias
Definition AbstractDSL.hxx:39
a simple alias
◆ createNewDSL()
- Returns
- an instance of the DSL with the given name
- Parameters
-
| [in] | n | name of the DSL to be generated |
◆ createNewParser()
- Returns
- an instance of the DSL with the given name
- Parameters
-
| [in] | n | name of the DSL to be generated |
◆ getRegistredDSLs()
| std::vector< std::string > mfront::DSLFactory::getRegistredDSLs |
( |
const bool | = true | ) |
const |
|
nodiscard |
- Returns
- the list of all registred DSLs.
- Parameters
-
The documentation for this struct was generated from the following file: