docvim-0.3.1.3: Documentation generator for Vim plug-ins
Text.Docvim.Parse
Synopsis
parse :: String -> IO Node Source #
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.