Storm
1.14.0.1
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>
4
5
#include "
storm-parsers/storm-parsers-api.h
"
6
#include "
storm/storage/prism/Program.h
"
7
8
namespace
storm::parser
{
9
10
class
STORM_PARSERS_API
PrismParser
{
11
public
:
18
static
storm::prism::Program
parse
(std::string
const
& filename,
bool
prismCompatability =
false
);
19
27
static
storm::prism::Program
parseFromString
(std::string
const
& input, std::string
const
& filename,
bool
prismCompatability =
false
);
28
};
29
}
// namespace storm::parser
Program.h
storm::parser::PrismParser
Definition
PrismParser.h:10
storm::parser::PrismParser::parseFromString
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...
Definition
PrismParser.cpp:9
storm::parser::PrismParser::parse
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.
Definition
PrismParser.cpp:5
storm::prism::Program
Definition
Program.h:30
storm::parser
Contains all file parsers and helper classes.
Definition
DFTGalileoParser.h:6
storm-parsers-api.h
STORM_PARSERS_API
#define STORM_PARSERS_API
Definition
storm-parsers-api.h:7
src
storm-parsers
parser
PrismParser.h
Generated by
1.15.0