Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ScriptedAlchemy/tracedecay
/ extract
Function
extract
tests/extraction_suite/lean.rs:5–7 ·
view source on GitHub ↗
(source: &str)
Source
from the content-addressed store, hash-verified
3
use tracedecay::types::*;
4
5
fn extract(source: &str) -> ExtractionResult {
6
LeanExtractor.extract(
"Demo.lean"
, source)
7
}
8
9
fn names_of(result: &ExtractionResult, kind: NodeKind) -> Vec<String> {
10
result
Callers
15
def_is_function
Function · 0.70
theorem_is_function
Function · 0.70
structure_is_struct
Function · 0.70
axiom_is_const
Function · 0.70
inductive_is_enum
Function · 0.70
namespace_creates_module_and_parents_children
Function · 0.70
nested_namespaces_parent_correctly
Function · 0.70
import_emits_uses_edge
Function · 0.70
empty_file_produces_only_file_node
Function · 0.70
anonymous_instance_emits_nothing
Function · 0.70
named_instance_is_const
Function · 0.70
anonymous_section_emits_no_module_but_recurses_body
Function · 0.70
Calls
1
extract
Method · 0.45
Tested by
15
def_is_function
Function · 0.56
theorem_is_function
Function · 0.56
structure_is_struct
Function · 0.56
axiom_is_const
Function · 0.56
inductive_is_enum
Function · 0.56
namespace_creates_module_and_parents_children
Function · 0.56
nested_namespaces_parent_correctly
Function · 0.56
import_emits_uses_edge
Function · 0.56
empty_file_produces_only_file_node
Function · 0.56
anonymous_instance_emits_nothing
Function · 0.56
named_instance_is_const
Function · 0.56
anonymous_section_emits_no_module_but_recurses_body
Function · 0.56