Storm
A Modern Probabilistic Model Checker
|
#include <PrismParserGrammar.h>
Static Public Member Functions | |
static storm::prism::Program | parse (std::string const &filename, bool prismCompatability=false) |
Parses the given file into the PRISM storage classes assuming it complies with the PRISM syntax. | |
static storm::prism::Program | parseFromString (std::string const &input, std::string const &filename, bool prismCompatability=false) |
Parses the given input stream into the PRISM storage classes assuming it complies with the PRISM syntax. | |
Definition at line 94 of file PrismParserGrammar.h.
|
static |
Parses the given file into the PRISM storage classes assuming it complies with the PRISM syntax.
filename | the name of the file to parse. |
Definition at line 21 of file PrismParserGrammar.cpp.
|
static |
Parses the given input stream into the PRISM storage classes assuming it complies with the PRISM syntax.
input | The input string to parse. |
filename | The name of the file from which the input was read. |
Definition at line 46 of file PrismParserGrammar.cpp.