|
@ -326,6 +326,12 @@ namespace storm { |
|
|
ensureBooleanType(arguments[0], opstring, 0, scopeDescription); |
|
|
ensureBooleanType(arguments[0], opstring, 0, scopeDescription); |
|
|
ensureBooleanType(arguments[1], opstring, 1, scopeDescription); |
|
|
ensureBooleanType(arguments[1], opstring, 1, scopeDescription); |
|
|
return arguments[0] && arguments[1]; |
|
|
return arguments[0] && arguments[1]; |
|
|
|
|
|
} else if (opstring == "⇒") { |
|
|
|
|
|
arguments = parseUnaryExpressionArguments(expressionStructure, opstring, scopeDescription, localVars); |
|
|
|
|
|
assert(arguments.size() == 2); |
|
|
|
|
|
ensureBooleanType(arguments[0], opstring, 0, scopeDescription); |
|
|
|
|
|
ensureBooleanType(arguments[0], opstring, 1, scopeDescription); |
|
|
|
|
|
return (!arguments[0]) || arguments[1]; |
|
|
} else if (opstring == "¬") { |
|
|
} else if (opstring == "¬") { |
|
|
arguments = parseUnaryExpressionArguments(expressionStructure, opstring, scopeDescription, localVars); |
|
|
arguments = parseUnaryExpressionArguments(expressionStructure, opstring, scopeDescription, localVars); |
|
|
assert(arguments.size() == 1); |
|
|
assert(arguments.size() == 1); |
|
|