#include <FormulaParser.h>
Definition at line 21 of file FormulaParser.h.
◆ FormulaParser() [1/6]
storm::parser::FormulaParser::FormulaParser |
( |
| ) |
|
◆ FormulaParser() [2/6]
◆ FormulaParser() [3/6]
◆ FormulaParser() [4/6]
◆ FormulaParser() [5/6]
◆ FormulaParser() [6/6]
storm::parser::FormulaParser::FormulaParser |
( |
FormulaParser const & |
other | ) |
|
◆ addIdentifierExpression()
Adds an identifier and the expression it is supposed to be replaced with.
This can, for example be used to substitute special identifiers in the formula by expressions.
- Parameters
-
identifier | The identifier that is supposed to be substituted. |
expression | The expression it is to be substituted with. |
Definition at line 106 of file FormulaParser.cpp.
◆ operator=()
◆ parseFromFile()
std::vector< storm::jani::Property > storm::parser::FormulaParser::parseFromFile |
( |
std::string const & |
filename | ) |
const |
Parses the properties in the given file.
- Parameters
-
filename | The name of the file to parse. |
- Returns
- The contained properties.
Definition at line 62 of file FormulaParser.cpp.
◆ parseFromString()
std::vector< storm::jani::Property > storm::parser::FormulaParser::parseFromString |
( |
std::string const & |
propertyString | ) |
const |
Parses the property given by the provided string.
- Parameters
-
propertyString | The formula as a string. |
- Returns
- The contained properties.
Definition at line 84 of file FormulaParser.cpp.
◆ parseSingleFormulaFromString()
std::shared_ptr< storm::logic::Formula const > storm::parser::FormulaParser::parseSingleFormulaFromString |
( |
std::string const & |
formulaString | ) |
const |
Parses the formula given by the provided string.
- Parameters
-
formulaString | The formula as a string. |
- Returns
- The resulting formula.
Definition at line 55 of file FormulaParser.cpp.
The documentation for this class was generated from the following files: