(node *ast.MappingValueNode)
| 279 | } |
| 280 | |
| 281 | func convertTopLevelNode(node *ast.MappingValueNode) (*ast.StringNode, *ast.MappingNode) { |
| 282 | if s, ok := resolveAnchor(node.Key).(*ast.StringNode); ok { |
| 283 | if m, ok := resolveAnchor(node.Value).(*ast.MappingNode); ok { |
| 284 | return s, m |
| 285 | } |
| 286 | } |
| 287 | return nil, nil |
| 288 | } |
| 289 | |
| 290 | func DocumentHighlights(doc document.ComposeDocument, position protocol.Position) (string, dependencyReference) { |
| 291 | file := doc.File() |
no test coverage detected