cryptol-2.3.0: Cryptol: The Language of Cryptography

Copyright(c) 2013-2016 Galois, Inc.
LicenseBSD3
Maintainercryptol@galois.com
Stabilityprovisional
Portabilityportable
Safe HaskellSafe
LanguageHaskell98

Cryptol.Parser.Position

Description

 

Synopsis

Documentation

data Located a Source

Constructors

Located 

Fields

srcRange :: !Range
 
thing :: a
 

emptyRange :: Range Source

An empty range.

Caution: using this on the LHS of a use of rComb will cause the empty source to propegate.

class HasLoc t where Source

Methods

getLoc :: t -> Maybe Range Source

class HasLoc t => AddLoc t where Source

Methods

addLoc :: t -> Range -> t Source

dropLoc :: t -> t Source

at :: (HasLoc l, AddLoc t) => l -> t -> t Source