MCPcopy Create free account
hub / github.com/bytebase/bytebase / offsetOmniLocs

Function offsetOmniLocs

backend/plugin/parser/plsql/omni.go:74–79  ·  view source on GitHub ↗
(node ast.Node, offset int)

Source from the content-addressed store, hash-verified

72type omniLocOffsetter int
73
74func offsetOmniLocs(node ast.Node, offset int) {
75 if offset == 0 {
76 return
77 }
78 ast.Walk(omniLocOffsetter(offset), node)
79}
80
81func (o omniLocOffsetter) Visit(node ast.Node) ast.Visitor {
82 if node == nil {

Callers 1

ParsePLSQLOmniFunction · 0.85

Calls 1

omniLocOffsetterTypeAlias · 0.85

Tested by

no test coverage detected