Copyright | (c) 2015 - 2016 Katharina Rahf 2015 - 2016 Björn Peemöller 2015 - 2016 Jan Tikovsky |
---|---|
Safe Haskell | Safe |
Language | Haskell2010 |
TokenStream
Description
This module defines a function for writing the list of tokens and spans of a Curry source module into a separate file.
Synopsis
- showTokenStream :: [(Span, Token)] -> String
- showCommentTokenStream :: [(Span, Token)] -> String
Documentation
showTokenStream :: [(Span, Token)] -> String Source #
Show a list of Span
and Token
tuples.
The list is split into one tuple on each line to increase readability.
showCommentTokenStream :: [(Span, Token)] -> String Source #
Show a list of Span
and Token
tuples filtered by CommentTokens.
The list is split into one tuple on each line to increase readability.