Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
PrismParser.h
Go to the documentation of this file.
1#pragma once
2
3#include <string>
5
6namespace storm::parser {
7
9 public:
16 static storm::prism::Program parse(std::string const& filename, bool prismCompatability = false);
17
25 static storm::prism::Program parseFromString(std::string const& input, std::string const& filename, bool prismCompatability = false);
26};
27} // namespace storm::parser
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 synt...
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.
Contains all file parsers and helper classes.