public interface ProBParserBase
Modifier and Type | Method and Description |
---|---|
void |
parseExpression(de.prob.prolog.output.IPrologTermOutput pto,
java.lang.String expression,
boolean wrap)
Parses a string that should contain an expression.
|
void |
parsePredicate(de.prob.prolog.output.IPrologTermOutput pto,
java.lang.String predicate,
boolean wrap)
Parses a string that should contain a predicate.
|
void |
parseTransitionPredicate(de.prob.prolog.output.IPrologTermOutput pto,
java.lang.String transPredicate,
boolean wrap)
Parses a string that should contain a predicate over a transition between
two states.
|
void parseExpression(de.prob.prolog.output.IPrologTermOutput pto, java.lang.String expression, boolean wrap) throws ProBParseException, java.lang.UnsupportedOperationException
pto
- The PrologTermOutput where the result should be written texpression
- The expression as stringwrap
- whether the Prolog representation should be wrapped by a term
that indicates the type of formalism.ProBParseException
- in case of a parse error (e.g. syntax or lexer errors)java.lang.UnsupportedOperationException
- if the formalism does not support expressionsvoid parsePredicate(de.prob.prolog.output.IPrologTermOutput pto, java.lang.String predicate, boolean wrap) throws ProBParseException, java.lang.UnsupportedOperationException
pto
- The PrologTermOutput where the result should be written tpredicate
- The predicate as stringwrap
- whether the Prolog representation should be wrapped by a term
that indicates the type of formalism.ProBParseException
- in case of a parse error (e.g. syntax or lexer errors)java.lang.UnsupportedOperationException
- if the formalism does not support predicatesvoid parseTransitionPredicate(de.prob.prolog.output.IPrologTermOutput pto, java.lang.String transPredicate, boolean wrap) throws ProBParseException, java.lang.UnsupportedOperationException
pto
- The PrologTermOutput where the result should be written ttransPredicate
- The transition predicate as stringwrap
- whether the Prolog representation should be wrapped by a term
that indicates the type of formalism.ProBParseException
- in case of a parse error (e.g. syntax or lexer errors)java.lang.UnsupportedOperationException
- if the formalism does not support predicates on transitions