MCPcopy Create free account
hub / github.com/argumentcomputer/ix / get_type

Method get_type

crates/common/src/env.rs:1413–1424  ·  view source on GitHub ↗

Returns the type of this constant.

(&self)

Source from the content-addressed store, hash-verified

1411 hasher.finalize()
1412 }
1413
1414 /// Returns the name of this constant.
1415 pub fn get_name(&self) -> &Name {
1416 match self {
1417 ConstantInfo::AxiomInfo(v) => &v.cnst.name,
1418 ConstantInfo::DefnInfo(v) => &v.cnst.name,
1419 ConstantInfo::ThmInfo(v) => &v.cnst.name,
1420 ConstantInfo::OpaqueInfo(v) => &v.cnst.name,
1421 ConstantInfo::QuotInfo(v) => &v.cnst.name,
1422 ConstantInfo::InductInfo(v) => &v.cnst.name,
1423 ConstantInfo::CtorInfo(v) => &v.cnst.name,
1424 ConstantInfo::RecInfo(v) => &v.cnst.name,
1425 }
1426 }
1427

Callers 7

print_const_comparisonFunction · 0.80
roundtrip_blockFunction · 0.80
const_alpha_eqFunction · 0.80
generate_aux_patchesFunction · 0.80
rs_compile_validate_auxFunction · 0.80
compare_envsFunction · 0.80
const_congruentFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected