Agda-2.6.2.2: A dependently typed functional programming language and proof assistant

Safe Haskell | Safe-Inferred
Language | Haskell2010

Agda.Interaction.Highlighting.FromAbstract

Description

Extract highlighting syntax from abstract syntax.

Implements one big fold over abstract syntax.

Synopsis

- runHighlighter :: Hilite a => SourceToModule -> AbsolutePath -> NameKinds -> a -> HighlightingInfoBuilder
- type NameKinds = QName -> Maybe NameKind

# 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.