Returns the universe level parameter names of this constant.
(&self)
| 1435 | ConstantInfo::QuotInfo(v) => &v.cnst.typ, |
| 1436 | ConstantInfo::InductInfo(v) => &v.cnst.typ, |
| 1437 | ConstantInfo::CtorInfo(v) => &v.cnst.typ, |
| 1438 | ConstantInfo::RecInfo(v) => &v.cnst.typ, |
| 1439 | } |
| 1440 | } |
| 1441 | |
| 1442 | /// Returns the value of this constant, if it has one (definitions, theorems, opaques). |
| 1443 | pub fn get_value(&self) -> Option<&Expr> { |
| 1444 | match self { |
| 1445 | ConstantInfo::DefnInfo(v) => Some(&v.value), |
| 1446 | ConstantInfo::ThmInfo(v) => Some(&v.value), |
| 1447 | ConstantInfo::OpaqueInfo(v) => Some(&v.value), |
| 1448 | _ => None, |
| 1449 | } |
| 1450 | } |
| 1451 |
no outgoing calls
no test coverage detected