MCPcopy Create free account
hub / github.com/agenticsorg/lean-agentic / len

Method len

leanr-syntax/src/span.rs:45–47  ·  view source on GitHub ↗

Get the length of this span

(&self)

Source from the content-addressed store, hash-verified

43
44 /// Get the length of this span
45 pub fn len(&self) -> u32 {
46 self.end - self.start
47 }
48
49 /// Check if this span is empty
50 pub fn is_empty(&self) -> bool {

Callers 7

mask_ssn_patternFunction · 0.45
mask_credit_card_patternFunction · 0.45
mask_email_patternFunction · 0.45
currentMethod · 0.45
advanceMethod · 0.45
lineMethod · 0.45
is_eofMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected