curry-frontend-1.0.4: Compile the functional logic language Curry to several intermediate formats

Copyright(c) 2015 - 2016 Katharina Rahf
2015 - 2016 Björn Peemöller
2015 - 2016 Jan Tikovsky
Safe HaskellSafe
LanguageHaskell2010

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

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.