chc.api.CFunctionContract module
User-provided function contract with assumptions and guarantees.
- class chc.api.CFunctionContract.CFunctionContract(cfilecontracts: CFileContracts, xnode: xml.etree.ElementTree.Element)[source]
Bases:
object- property api: CFunctionApi
- property cfile: CFile
- property cfilecontracts: CFileContracts
- property cfun: CFunction
- property ifd: InterfaceDictionary
- property ignore: bool
- property name: str
- property postconditions: Dict[int, XPredicate]
- property postrequests: Dict[int, XPredicate]
- property preconditions: Dict[int, XPredicate]
- property rsignature: Dict[int, str]
- property sideeffects: Dict[int, XPredicate]
- property signature: Dict[str, int]