pub trait Node { // Required methods fn pos(&self, objs: &AstObjects) -> Pos; fn end(&self, objs: &AstObjects) -> Pos; fn id(&self) -> NodeId; }