MCPcopy Index your code
hub / github.com/bytebase/bytebase / omniAST

Struct omniAST

backend/plugin/parser/doris/doris.go:19–22  ·  view source on GitHub ↗

omniAST wraps an omni AST node to implement the base.AST interface.

Source from the content-addressed store, hash-verified

17
18// omniAST wraps an omni AST node to implement the base.AST interface.
19type omniAST struct {
20 node ast.Node
21 startPos *storepb.Position
22}
23
24// ASTStartPosition implements base.AST.
25func (a *omniAST) ASTStartPosition() *storepb.Position {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected