Agda-2.6.2.1: A dependently typed functional programming language and proof assistant
Safe HaskellSafe-Inferred
LanguageHaskell2010

Agda.Interaction.Highlighting.FromAbstract

Description

Extract highlighting syntax from abstract syntax.

Implements one big fold over abstract syntax.

Synopsis

Documentation

runHighlighter :: Hilite a => SourceToModule -> AbsolutePath -> NameKinds -> a -> HighlightingInfoBuilder Source #

Create highlighting info for some piece of syntax.

type NameKinds = QName -> Maybe NameKind Source #

A function mapping names to the kind of name they stand for.