diff options
Diffstat (limited to 'hcel-utils.el')
-rw-r--r-- | hcel-utils.el | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/hcel-utils.el b/hcel-utils.el index 6d44a4c..3bd8841 100644 --- a/hcel-utils.el +++ b/hcel-utils.el @@ -28,26 +28,6 @@ "Gets the tag of LOCATION-INFO." (alist-get 'tag location-info)) -(defun hcel-approx-to-exact-location (approx-location-info) - "Fetch exact location given approximate location. - -Example of approximate location: - - \"locationInfo\": { - \"componentId\": \"exe-haskell-code-server\", - \"entity\": \"Typ\", - \"haddockAnchorId\": \"PackageInfo\", - \"moduleName\": \"HaskellCodeExplorer.Types\", - \"name\": \"PackageInfo\", - \"packageId\": { - \"name\": \"haskell-code-explorer\", - \"version\": \"0.1.0.0\" - }, - \"tag\": \"ApproximateLocation\" - }" - (alist-get 'location - (hcel-definition-site-location-info approx-location-info))) - (defun hcel-id-src-span-to-location-info (package-id module-path id-src-span) "Converts an idSrcSpan to an exact location. |