Module
WebIDL
- Package
- purescript-webidl
- Repository
- paf31/purescript-webidl
A basic wrapper for the webidl2
library, and some ADT sugar on top.
#Node Source
data Node
A node represented as a PureScript data type.
Constructors
InterfaceNode { inheritance :: Maybe String, members :: Array Member, name :: String, partial :: Boolean }
ImplementsNode { implements :: String, target :: String }
TypeDefNode { idlType :: Type, name :: String }
CallbackNode { arguments :: Array Argument, idlType :: Type, name :: String }
DictionaryNode { inheritance :: Maybe String, members :: Array Member, name :: String, partial :: Boolean }
ExceptionNode { inheritance :: Maybe String, members :: Array Member, name :: String }
EnumNode { name :: String, values :: Array String }
OtherNode String
Instances
#Member Source
data Member
Constructors
OperationMember { arguments :: Array Argument, creator :: Boolean, deleter :: Boolean, getter :: Boolean, idlType :: Type, legacycaller :: Boolean, name :: Maybe String, setter :: Boolean, static :: Boolean, stringifier :: Boolean }
AttributeMember { idlType :: Type, inherit :: Boolean, name :: String, readonly :: Boolean, static :: Boolean, stringifier :: Boolean }
ConstantMember { idlType :: String, name :: String, nullable :: Boolean }
FieldMember { idlType :: Type, name :: String, required :: Boolean }
OtherMember String
Instances
- Modules
- WebIDL