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

Method info

crates/kernel/src/expr.rs:88–102  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

86
87impl<M: KernelMode> ExprData<M> {
88 pub fn info(&self) -> &ExprInfo<M> {
89 match self {
90 ExprData::Var(.., i)
91 | ExprData::FVar(.., i)
92 | ExprData::Sort(.., i)
93 | ExprData::Const(.., i)
94 | ExprData::App(.., i)
95 | ExprData::Lam(.., i)
96 | ExprData::All(.., i)
97 | ExprData::Let(.., i)
98 | ExprData::Prj(.., i)
99 | ExprData::Nat(.., i)
100 | ExprData::Str(.., i) => i,
101 }
102 }
103}
104
105impl<M: KernelMode> KExpr<M> {

Callers 5

addrMethod · 0.80
lbrMethod · 0.80
count_0Method · 0.80
has_fvarsMethod · 0.80
mdataMethod · 0.80

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected