pub struct DocIRItem {
pub name: String,
pub kind: String,
pub signature: String,
pub doc_comment: String,
pub deprecated: bool,
}Expand description
A single documented declaration extracted from an LcnfModule.
Fields§
§name: StringFully-qualified declaration name.
kind: StringDeclaration kind: "def", "axiom", or "extern".
"def" covers all top-level function declarations (including theorems
and instances whose proofs have been compiled). "axiom" / "extern"
is used for declarations that have no compiled body (external stubs,
axioms, opaques).
signature: StringPretty-printed type signature.
Currently always an empty string — type information is partially erased by the LCNF lowering pass and cannot be reliably reconstructed here.
doc_comment: StringDoc comment text.
Currently always empty; doc comments are not propagated into codegen.
Use oxilean-doc’s source-level extractor for accurate doc comments.
deprecated: boolWhether this declaration was annotated with @[deprecated].
Not preserved through the LCNF pipeline; always false here.