fact: Definition EvalParam (f : Param) (e : Expression) (st : State.t) : Value := match PARAMSIGNATURE.type (PARAM.signature f) with | PrimitiveType BOOLEAN => Bool (EvalBoolExpression e st) | PrimitiveType _ => Num (EvalNumExpression e st) | ReferenceType _ => match EvalRefExpression e st with | Some loc => Ref loc | None => Null end end.
imports: Coq(List) Coq(ListSet) Coq(FSetInterface) Coq(Bool) Coq(ZArith) Coq(Relation_Operators) JML(ListHelpers)