language-webidl-0.2.0.0: Parser and Pretty Printer for WebIDL

Safe HaskellSafe
LanguageHaskell2010

Language.WebIDL.Parser

Description

 

Synopsis

Documentation

data Tag Source #

Tag of source

Constructors

Tag 

Instances

Eq Tag Source # 

Methods

(==) :: Tag -> Tag -> Bool #

(/=) :: Tag -> Tag -> Bool #

Show Tag Source # 

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

spaces :: Stream s m Char => ParsecT s u m () #

Skips zero or more white space characters. See also skipMany.

string :: Stream s m Char => String -> ParsecT s u m String #

string s parses a sequence of characters given by s. Returns the parsed string (i.e. s).

 divOrMod    =   string "div" 
             <|> string "mod"