|
|
|
@ -1,5 +1,6 @@ |
|
|
|
package parser.ast; |
|
|
|
|
|
|
|
import param.BigRational; |
|
|
|
import parser.EvaluateContext; |
|
|
|
import parser.visitor.ASTVisitor; |
|
|
|
import prism.PrismLangException; |
|
|
|
@ -193,11 +194,18 @@ public class ExpressionRegular extends Expression { |
|
|
|
* Note: assumes that type checking has been done already. |
|
|
|
*/ |
|
|
|
//TODO: What??? |
|
|
|
@Override |
|
|
|
public Object evaluate(EvaluateContext ec) throws PrismLangException |
|
|
|
{ |
|
|
|
throw new PrismLangException("Cannot evaluate a temporal operator without a path"); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public BigRational evaluateExact(EvaluateContext ec) throws PrismLangException |
|
|
|
{ |
|
|
|
throw new PrismLangException("Cannot evaluate a temporal operator without a path"); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public boolean returnsSingleValue() |
|
|
|
{ |
|
|
|
|