(folderAbsolutePath string, wslDollarSign bool, node *token.Token)
| 34 | } |
| 35 | |
| 36 | func createLink(folderAbsolutePath string, wslDollarSign bool, node *token.Token) *protocol.DocumentLink { |
| 37 | file := node.Value |
| 38 | u, path := types.Concatenate(folderAbsolutePath, file, wslDollarSign) |
| 39 | return &protocol.DocumentLink{ |
| 40 | Range: createRange(node, len(file)), |
| 41 | Target: types.CreateStringPointer(u), |
| 42 | Tooltip: types.CreateStringPointer(path), |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | func createFileLink(folderAbsolutePath string, wslDollarSign bool, serviceNode *ast.MappingValueNode) *protocol.DocumentLink { |
| 47 | attributeValue := stringNode(serviceNode.Value) |
no test coverage detected