docvim-0.3.1.1: Documentation generator for Vim plug-ins

Safe HaskellNone
LanguageHaskell2010

Text.Docvim.Parse

Synopsis

Documentation

rstrip :: String -> String Source #

Strip trailing (right) whitespace.

strip :: String -> String Source #

Strip trailing and leading whitespace.

Not efficient, but chosen for readablility.

TODO: switch to Data.Text (http:/stackoverflow.coma62703822103996) for efficiency.

unit :: Parser Node Source #

Parses a translation unit (file contents) into an AST.