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

Method new

parser/src/ast.rs:32–34  ·  view source on GitHub ↗
(start: u32, end: u32)

Source from the content-addressed store, hash-verified

30
31impl Node {
32 pub fn new(start: u32, end: u32) -> Self {
33 Self { start, end }
34 }
35
36 pub fn len(&self) -> u32 {
37 self.end - self.start

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected