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

Struct OmniAST

backend/plugin/parser/mongodb/mongodb.go:17–20  ·  view source on GitHub ↗

OmniAST wraps an omni MongoDB AST node and implements the base.AST interface.

Source from the content-addressed store, hash-verified

15
16// OmniAST wraps an omni MongoDB AST node and implements the base.AST interface.
17type OmniAST struct {
18 Node ast.Node
19 StartPosition *storepb.Position
20}
21
22// ASTStartPosition implements base.AST.
23func (a *OmniAST) ASTStartPosition() *storepb.Position {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected