aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock/Backends/Hyperlinker/Ast.hs
Commit message (Collapse)AuthorAgeFilesLines
* Hyperlinker: Avoid linear lookup in enrichToken (#669)Alexander Biehl2017-08-191-37/+43
| | | | | | * Make Span strict in Position * Hyperlinker: Use a proper map to enrich tokens
* Improve Syb code (#621)Doug Wilson2017-05-271-12/+16
| | | | | | | | | | | | Specialize.hs and Ast.hs are modified to have their Syb code not recurse into Name or Id in HsSyn types. Specialize.hs is refactored to have fewer calls to Syb functions. Syb.hs has some foldl calls replaced with foldl' calls. There is still a lot of performance on the floor of Ast.hs. The RenamedSource is traversed many times, and lookupBySpan is very inefficient. everywhereBut and lookupBySpan dominate the runtime whenever --hyperlinked-source is passed.
* Changes to match #13163 in GHCAlan Zimmerman2017-01-261-4/+4
|
* Matching changes for GHC wip/T12942Alan Zimmerman2016-12-121-1/+1
|
* Match changes in GHC wip/T3384 branchAlan Zimmerman2016-12-071-1/+1
|
* Changes due to fix for GHC#11648.Richard Eisenberg2016-03-141-1/+1
|
* Fix HyperlinkerBen Gamari2015-12-161-1/+1
| | | | GHC.con_names is now GHC.getConNames
* WarningsMatthew Pickering2015-12-141-1/+0
|
* Changes to compile with 8.0Matthew Pickering2015-12-141-10/+14
|
* Move SYB utilities to standalone module.Łukasz Hanuszczak2015-08-211-14/+1
|
* Fix bug with module name being hyperlinked to `Prelude`.Łukasz Hanuszczak2015-07-061-3/+4
|
* Extract main hyperlinker types to separate module.Łukasz Hanuszczak2015-07-061-24/+3
|
* Remove potentially dangerous record access in hyperlinker AST module.Łukasz Hanuszczak2015-07-041-1/+1
|
* Make hyperlinker generate anchors only to top-level value bindings.Łukasz Hanuszczak2015-07-021-1/+2
|
* Add support for anchoring signatures in type class declarations.Łukasz Hanuszczak2015-07-021-0/+5
|
* Improve support for hyperlinking type families.Łukasz Hanuszczak2015-07-021-1/+7
|
* Add support for anchoring data family constructor declarations.Łukasz Hanuszczak2015-07-021-5/+6
|
* Fix crash happening when hyperlinking type family declarations.Łukasz Hanuszczak2015-07-021-0/+1
|
* Make hyperlinker render qualified names as one entity.Łukasz Hanuszczak2015-07-011-0/+1
|
* Add support for hyperlinking universally quantified type variables.Łukasz Hanuszczak2015-07-011-1/+7
|
* Add support for hyperlinking synonyms in patterns.Łukasz Hanuszczak2015-07-011-0/+2
|
* Add support for hyperlinking field names in record expressions.Łukasz Hanuszczak2015-06-301-1/+7
|
* Add support for hyperlinking field names in record patterns.Łukasz Hanuszczak2015-06-301-1/+5
|
* Add support for hyperlinking constructor names in patters.Łukasz Hanuszczak2015-06-301-0/+2
|
* Make hyperlinker generate anchors for record field declarations.Łukasz Hanuszczak2015-06-301-7/+9
|
* Make hyperlinker generate correct anchors for data constructors.Łukasz Hanuszczak2015-06-301-4/+9
|
* Add some documentation for AST module of source hyperlinker.Łukasz Hanuszczak2015-06-301-10/+46
|
* Implement hyperlinking of imported module names.Łukasz Hanuszczak2015-06-301-7/+12
|
* Refactor the way AST names are handled within detailed tokens.Łukasz Hanuszczak2015-06-301-18/+19
|
* Add support for top-level function declaration anchors.Łukasz Hanuszczak2015-06-301-1/+6
|
* Add support for type declaration anchors.Łukasz Hanuszczak2015-06-301-5/+16
|
* Fix weird hyperlinking of parenthesized operators.Łukasz Hanuszczak2015-06-301-1/+6
|
* Fix span matching to allow parenthesized operators hyperlinking.Łukasz Hanuszczak2015-06-301-5/+5
|
* Implement module export- and import-list item hyperlinking.Łukasz Hanuszczak2015-06-301-1/+19
|
* Add support for binding token recognition.Łukasz Hanuszczak2015-06-301-1/+19
|
* Add support for type token recognition.Łukasz Hanuszczak2015-06-301-8/+27
|
* Constrain elements exported by hyperlinker modules.Łukasz Hanuszczak2015-06-301-1/+4
|
* Fix span matcher bug causing wrong items being hyperlinked.Łukasz Hanuszczak2015-06-301-1/+1
|
* Create simple mechanism for associating tokens with AST names.Łukasz Hanuszczak2015-06-301-7/+23
|
* Implement utility method for extracting variable identifiers from AST.Łukasz Hanuszczak2015-06-301-0/+16
|
* Create scaffolding of module for associating tokens with AST names.Łukasz Hanuszczak2015-06-301-0/+20