weixin_39880615
weixin_39880615
2021-01-10 12:24

Rust: fill inherits and end fields

(This is based on pull request #1601 submitted by .)

For the input

impl A for B {

Rust parser emits:

 B  foo.rs  /^impl A for B {$/;"    kind:implementation inherits:A

This on on the analogy of what Java parser does:

interface A {
}
class B implements A {
}

For the above input ctags emits for class B:

B   foo.java    /^class B implements A {$/;"    inherits:A

该提问来源于开源项目:universal-ctags/ctags

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

5条回答

为你推荐

换一换