Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
CallbackFunctions []*Callback `xml:"callback-functions>callback-function"`
CallbackInterfaces []*CallbackInterface `xml:"callback-interfaces>interface"`
Dictionaries []*Dictionary `xml:"dictionaries>dictionary"`
Enums []*Enum `xml:"enums>enum"`
Interfaces []*Interface `xml:"interfaces>interface"`
MixinInterfaces []*Interface `xml:"mixin-interfaces>interface"`
TypeDefs []*TypeDef `xml:"typedefs>typedef"`
}
API for the web
type AnonymousContentAttributes ¶
type AnonymousContentAttributes struct {
Name string `xml:"name,attr"`
EnumValues string `xml:"enum-values,attr"`
ValueSyntax string `xml:"value-syntax,attr"`
}
AnonymousContentAttributes struct
type Callback ¶
type Callback struct {
Name string `xml:"name,attr"`
Callback bool `xml:"callback,attr,omitempty"`
Type string `xml:"type,attr"`
Params []Param `xml:"param"`
}
Callback struct
type CallbackInterface ¶
type CallbackInterface struct {
Name string `xml:"name,attr"`
Extends string `xml:"extends,attr"`
Methods []Method `xml:"methods>method"`
}
CallbackInterface struct
type Constant ¶
type Constant struct {
Name string `xml:"name,attr"`
Type string `xml:"type,attr"`
TypeOriginal string `xml:"type-original,attr"`
Value string `xml:"value,attr"`
}
Constant struct
type Dictionary ¶
type Dictionary struct {
Name string `xml:"name,attr"`
Extends string `xml:"extends,attr"`
Members []*Member `xml:"members>member"`
}
Dictionary struct
type Element ¶
type Element struct {
Name string `xml:"name,attr"`
HTMLSelfClosing bool `xml:"html-self-closing,attr"`
Namespace string `xml:"namespace,attr"`
}
Element struct
type Event ¶
type Event struct {
Name string `xml:"name,attr"`
Bubbles bool `xml:"bubbles,attr"`
Cancelable bool `xml:"cancelable,attr"`
Tags string `xml:"tags,attr"`
Dispatch string `xml:"dispatch,attr"`
Follows string `xml:"follows,attr"`
Precedes string `xml:"precedes,attr"`
SkipsWindow bool `xml:"skips-window,attr"`
Type string `xml:"type,attr"`
Aliases string `xml:"aliases,attr"`
}
Event struct
type Interface ¶
type Interface struct {
Name string `xml:"name,attr"`
Extends string `xml:"extends,attr"`
Implements []string `xml:"implements,omitempty"`
NoInterfaceObject bool `xml:"no-interface-object,attr"`
Element []*Element `xml:"element"`
Methods []*Method `xml:"methods>method"`
AnonymousMethods []*Method `xml:"anonymous-methods>method"`
Properties []*Property `xml:"properties>property"`
Constants []*Constant `xml:"constants>constant"`
Constructor *Constructor `xml:"constructor,omitempty"`
NamedConstructor *NamedConstructor `xml:"named-constructor"`
Events []*Event `xml:"events>event"`
AnonymousContentAttributes []*AnonymousContentAttributes `xml:"anonymous-content-attributes>parsedattribute"`
}
Interface struct
type Member ¶
type Member struct {
Name string `xml:"name,attr"`
Type string `xml:"type,attr,omitempty"`
Required bool `xml:"required,attr,omitempty"`
Default string `xml:"default,attr,omitempty"`
Nullable bool `xml:"nullable,attr,omitempty"`
}
Member struct
type Method ¶
type Method struct {
Name string `xml:"name,attr"`
Type string `xml:"type,attr"`
Creator bool `xml:"creator,attr"`
Setter bool `xml:"setter,attr"`
DoNotCheckDomainSecurity bool `xml:"do-not-check-domain-security,attr"`
Params []Param `xml:"param"`
Comment string
}
Method struct
type NamedConstructor ¶
NamedConstructor struct
type Param ¶
type Param struct {
Name string `xml:"name,attr"`
Type string `xml:"type,attr,omitempty"`
Optional bool `xml:"optional,attr,omitempty"`
Variadic bool `xml:"variadic,attr,omitempty"`
}
Param struct
type Property ¶
type Property struct {
Name string `xml:"name,attr"`
Type string `xml:"type,attr"`
ReadOnly bool `xml:"read-only,attr"`
ContentAttribute string `xml:"content-attribute,attr"`
ContentAttributeReflects bool `xml:"content-attribute-reflects,attr"`
ContentAttributeValueSyntax string `xml:"content-attribute-value-syntax,attr"`
ContentAttributeEnumValues string `xml:"content-attribute-enum-values,attr"`
EventHandler string `xml:"event-handler,attr"`
TreatNullAs string `xml:"treat-null-as,attr"`
Nullable bool `xml:"nullable,attr"`
Replaceable bool `xml:"replaceable,attr"`
PropertyDescriptorNotConfigurable bool `xml:"property-descriptor-not-configurable,attr"`
DoNotCheckDomainSecurity bool `xml:"do-not-check-domain-security,attr"`
Unforgeable bool `xml:"unforgeable,attr"`
Comment string
}
Property struct
Click to show internal directories.
Click to hide internal directories.