OmniAST wraps an omni MongoDB AST node and implements the base.AST interface.
| 15 | |
| 16 | // OmniAST wraps an omni MongoDB AST node and implements the base.AST interface. |
| 17 | type OmniAST struct { |
| 18 | Node ast.Node |
| 19 | StartPosition *storepb.Position |
| 20 | } |
| 21 | |
| 22 | // ASTStartPosition implements base.AST. |
| 23 | func (a *OmniAST) ASTStartPosition() *storepb.Position { |
nothing calls this directly
no outgoing calls
no test coverage detected