Safe Haskell | None |
---|---|
Language | Haskell2010 |
This is just a simple token printer. It's not a full fledged formatter, but it is used by the layout golden tests. Printing each token in the tree with this printer will result in the exact input that was given to the lexer.
Documentation
printToken :: Token -> Text Source #
printTokens :: [SourceToken] -> Text Source #
printTrailingComment :: Comment void -> Text Source #