nmis-parser-0.1.0.1: NMIS file parser

Copyright(c) Sasa Bogicevic 2017
LicenseGPL-3
Maintainerbrutallesale@gmail.com
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Text.Internal.Helper

Description

Uses megaparsec library

Synopsis

Documentation

spaceConsumer :: Parser () Source #

space consumer - consume space and comments

lineComment :: Parser () Source #

hashbang line comment

scn :: Parser () Source #

space consumer no 2

lexeme :: Parser a -> Parser a Source #

lexeme

parrow :: Parser String Source #

arrow - parse haskell constraint like arrow sign

pequals :: Parser String Source #

equals - parse equals sign

parens :: Parser a -> Parser a Source #

parse all between parens

braces :: Parser a -> Parser a Source #

parse all between braces

until :: String -> Parsec Dec String String Source #

parse until string passed as function parameter

untilEol :: Parsec Dec String String Source #

parse until newline character

phash :: Parser String Source #

parse until newline character

pQuotedStr :: Parser String Source #

parse quoted string with optional space in front of it

pUndefined :: Parser String Source #

parse undef literal

pOpt :: Parser (String, String) Source #

combined parser for single record