module
Analyzer::Haskell::Helper
Overview
Shared helpers for the Haskell framework analyzers (Scotty, Servant).
Extended Modules
Defined in:
analyzer/analyzers/haskell/haskell_helper.crInstance Method Summary
-
#strip_haskell_comments(text : String) : String
Blank out
--line comments and nested{- -}block comments while PRESERVING newlines/offsets, so a multi-line comment doesn't collapse lines and shift every later endpoint's reported line number.
Instance Method Detail
Blank out -- line comments and nested {- -} block comments while
PRESERVING newlines/offsets, so a multi-line comment doesn't collapse
lines and shift every later endpoint's reported line number.