| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Language.WebIDL.AST
Documentation
data Definition a Source #
Constructors
| DefInterface (Interface a) | |
| DefPartial (Partial a) | |
| DefDictionary (Dictionary a) | |
| DefException (Exception a) | |
| DefEnum (Enum a) | |
| DefTypedef (Typedef a) | |
| DefImplementsStatement (ImplementsStatement a) |
Instances
| Eq a => Eq (Definition a) Source # | |
| Show a => Show (Definition a) Source # | |
Constructors
| Interface a Ident (Maybe Ident) [InterfaceMember a] |
Constructors
| PartialInterface a Ident [InterfaceMember a] | |
| PartialDictionary a Ident [DictionaryMember a] |
data Dictionary a Source #
Constructors
| Dictionary a Ident (Maybe Ident) [DictionaryMember a] |
Instances
| Eq a => Eq (Dictionary a) Source # | |
| Show a => Show (Dictionary a) Source # | |
Constructors
| Exception a Ident (Maybe Ident) [ExceptionMember a] |
data ImplementsStatement a Source #
Constructors
| ImplementsStatement a Ident Ident |
Instances
| Eq a => Eq (ImplementsStatement a) Source # | |
| Show a => Show (ImplementsStatement a) Source # | |
data InterfaceMember a Source #
Constructors
| IMemConst (Const a) | |
| IMemAttribute (Attribute a) | |
| IMemOperation (Operation a) |
Instances
| Eq a => Eq (InterfaceMember a) Source # | |
| Show a => Show (InterfaceMember a) Source # | |
data DictionaryMember a Source #
Constructors
| DictionaryMember a Type Ident (Maybe Default) |
Instances
| Eq a => Eq (DictionaryMember a) Source # | |
| Show a => Show (DictionaryMember a) Source # | |
data ExceptionMember a Source #
Instances
| Eq a => Eq (ExceptionMember a) Source # | |
| Show a => Show (ExceptionMember a) Source # | |
Constructors
| ArgOptional Type ArgumentName Default | |
| ArgNonOpt Type (Maybe Ellipsis) ArgumentName |
Constructors
| Const a ConstType Ident ConstValue |
Constructors
| DefaultValue ConstValue | |
| DefaultString String |
data ConstValue Source #
Instances
Constructors
| Getter | |
| Setter | |
| Ccreator | |
| Deleter | |
| Legacycaller |
data ArgumentNameKeyword Source #
Constructors
Instances
Constructors
| TySingleType SingleType | |
| TyUnionType UnionType TypeSuffix |
data NonAnyType Source #
Constructors
| TyPrim PrimitiveType TypeSuffix | |
| TyDOMString TypeSuffix | |
| TyIdent Ident TypeSuffix | |
| TySequence Type (Maybe Null) | |
| TyObject TypeSuffix | |
| TyDate TypeSuffix |
Instances
data PrimitiveType Source #
Constructors
| PrimIntegerType IntegerType | |
| PrimFloatType FloatType | |
| Boolean | |
| Byte | |
| Octet |
Instances
data IntegerWidth Source #
Instances
Constructors
| TyFloat (Maybe Unrestricted) | |
| TyDouble (Maybe Unrestricted) |
type UnionType = [UnionMemberType] Source #
data UnionMemberType Source #
Constructors
| UnionTy UnionType TypeSuffix | |
| UnionTyNonAny NonAnyType | |
| UnionTyAny TypeSuffix |
Instances
data ReturnType Source #
Instances
Constructors
| ConstPrim PrimitiveType (Maybe Null) | |
| ConstIdent Ident (Maybe Null) |