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

Safe HaskellSafe
LanguageHaskell2010

Language.WebIDL.PPrint

Contents

Documentation

prettyMaybe :: Maybe t -> (t -> Doc) -> Doc Source #

scope :: Pretty a => [a] -> Doc Source #

Orphan instances

Pretty Ident Source # 

Methods

pretty :: Ident -> Doc #

prettyList :: [Ident] -> Doc #

Pretty Unsigned Source # 

Methods

pretty :: Unsigned -> Doc #

prettyList :: [Unsigned] -> Doc #

Pretty Null Source # 

Methods

pretty :: Null -> Doc #

prettyList :: [Null] -> Doc #

Pretty Unrestricted Source # 
Pretty Inherit Source # 

Methods

pretty :: Inherit -> Doc #

prettyList :: [Inherit] -> Doc #

Pretty ReadOnly Source # 

Methods

pretty :: ReadOnly -> Doc #

prettyList :: [ReadOnly] -> Doc #

Pretty ConstType Source # 
Pretty ReturnType Source # 
Pretty UnionMemberType Source # 
Pretty FloatType Source # 
Pretty TypeSuffix Source # 
Pretty IntegerWidth Source # 
Pretty IntegerType Source # 
Pretty PrimitiveType Source # 
Pretty NonAnyType Source # 
Pretty SingleType Source # 
Pretty Type Source # 

Methods

pretty :: Type -> Doc #

prettyList :: [Type] -> Doc #

Pretty ArgumentNameKeyword Source # 
Pretty Special Source # 

Methods

pretty :: Special -> Doc #

prettyList :: [Special] -> Doc #

Pretty Qualifier Source # 
Pretty ConstValue Source # 
Pretty Default Source # 

Methods

pretty :: Default -> Doc #

prettyList :: [Default] -> Doc #

Pretty ArgumentName Source # 
Pretty EnumValue Source # 
Pretty Argument Source # 

Methods

pretty :: Argument -> Doc #

prettyList :: [Argument] -> Doc #

Pretty (Const a) Source # 

Methods

pretty :: Const a -> Doc #

prettyList :: [Const a] -> Doc #

Pretty (Operation a) Source # 

Methods

pretty :: Operation a -> Doc #

prettyList :: [Operation a] -> Doc #

Pretty (Attribute a) Source # 

Methods

pretty :: Attribute a -> Doc #

prettyList :: [Attribute a] -> Doc #

Pretty (ExceptionMember a) Source # 
Pretty (DictionaryMember a) Source # 
Pretty (InterfaceMember a) Source # 
Pretty (ImplementsStatement a) Source # 
Pretty (Typedef a) Source # 

Methods

pretty :: Typedef a -> Doc #

prettyList :: [Typedef a] -> Doc #

Pretty (Enum a) Source # 

Methods

pretty :: Enum a -> Doc #

prettyList :: [Enum a] -> Doc #

Pretty (Exception a) Source # 

Methods

pretty :: Exception a -> Doc #

prettyList :: [Exception a] -> Doc #

Pretty (Dictionary a) Source # 

Methods

pretty :: Dictionary a -> Doc #

prettyList :: [Dictionary a] -> Doc #

Pretty (Partial a) Source # 

Methods

pretty :: Partial a -> Doc #

prettyList :: [Partial a] -> Doc #

Pretty (Interface a) Source # 

Methods

pretty :: Interface a -> Doc #

prettyList :: [Interface a] -> Doc #

Pretty (Definition a) Source # 

Methods

pretty :: Definition a -> Doc #

prettyList :: [Definition a] -> Doc #