swarm-0.5.0.0: 2D resource gathering game with programmable robots
LicenseBSD-3-Clause
Safe HaskellSafe-Inferred
LanguageHaskell2010

Swarm.Language.LSP.Hover

Description

 
Synopsis

Documentation

Documentation rendering

Finding source location

narrowToPosition Source #

Arguments

:: ExplainableType ty 
=> Syntax' ty

parent term

-> Int

absolute offset within the file

-> Syntax' ty 

Find the most specific term for a given position within the code.

Explaining source position

explain :: ExplainableType ty => Syntax' ty -> Tree Text Source #