(folderAbsolutePath string, wslDollarSign bool, serviceNode *ast.MappingValueNode)
| 44 | } |
| 45 | |
| 46 | func createFileLink(folderAbsolutePath string, wslDollarSign bool, serviceNode *ast.MappingValueNode) *protocol.DocumentLink { |
| 47 | attributeValue := stringNode(serviceNode.Value) |
| 48 | if attributeValue != nil { |
| 49 | return createLink(folderAbsolutePath, wslDollarSign, attributeValue.GetToken()) |
| 50 | } |
| 51 | return nil |
| 52 | } |
| 53 | |
| 54 | func stringNode(value ast.Node) *ast.StringNode { |
| 55 | if s, ok := resolveAnchor(value).(*ast.StringNode); ok { |
no test coverage detected