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

Safe HaskellNone
LanguageHaskell2010

Agda.Syntax.Info

Description

An info object contains additional information about a piece of abstract syntax that isn't part of the actual syntax. For instance, it might contain the source code position of an expression or the concrete syntax that an internal expression originates from.

Synopsis

Documentation

data ModuleInfo #

Constructors

ModuleInfo 

Fields

mkDefInfoInstance :: Name -> Fixity' -> Access -> IsAbstract -> IsInstance -> IsMacro -> Range -> DefInfo #

Same as mkDefInfo but where we can also give the IsInstance

newtype PatInfo #

For a general pattern we remember the source code position.

Constructors

PatRange Range 

patNoRange :: PatInfo #

Empty range for patterns.

data ConPatInfo #

Constructor pattern info.

Constructors

ConPatInfo 

Fields