MCPcopy Create free account
hub / github.com/Glyphack/enderpy / len

Method len

parser/src/ast.rs:36–38  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

34 }
35
36 pub fn len(&self) -> u32 {
37 self.end - self.start
38 }
39
40 pub fn is_empty(&self) -> bool {
41 self.len() == 0

Callers 14

assert_tokens_eqFunction · 0.45
internMethod · 0.45
allocMethod · 0.45
is_emptyMethod · 0.45
fromMethod · 0.45
parse_for_statementMethod · 0.45
parse_patternsMethod · 0.45
parse_or_patternMethod · 0.45
parse_target_listMethod · 0.45
parse_targetMethod · 0.45
parse_expression_listMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected