Ticket #12 (closed feature request: fixed)
Implement support for SrcSpans
|Reported by:||nibro||Owned by:||nibro|
Description (last modified by nibro) (diff)
Where a SrcLoc represents a location in the source, a SrcSpan represent an area, with a start and an end. This is useful for various applications, and has been specifically requested by the LHC team.
The intended mode of attack would be to parametrize the AST on what type of source information it uses, use a type class for the various kinds of source information that can be read during parsing, and have the parse function return an AST with the proper type.