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

Method level_params

crates/kernel/src/constant.rs:136–146  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

134 #[allow(unreachable_patterns)]
135 match self {
136 KConst::Defn { level_params, .. }
137 | KConst::Recr { level_params, .. }
138 | KConst::Axio { level_params, .. }
139 | KConst::Quot { level_params, .. }
140 | KConst::Indc { level_params, .. }
141 | KConst::Ctor { level_params, .. } => level_params,
142 }
143 }
144}
145
146#[cfg(test)]
147mod tests {
148 use super::super::expr::KExpr;
149 use super::super::id::KId;

Callers 2

check_const_memberMethod · 0.80
check_block_bodyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected