refactor: remove unused method

上级 359f8923
...@@ -15,11 +15,3 @@ func GetNodeIndex(node antlr.ParseTree) int { ...@@ -15,11 +15,3 @@ func GetNodeIndex(node antlr.ParseTree) int {
} }
return 0 return 0
} }
func GetLeftSibling(ctx antlr.ParseTree) antlr.Tree {
index := GetNodeIndex(ctx)
if index < 1 {
return nil
}
return ctx.GetParent().GetChild(index - 1)
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册