Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- getRootNode :: (MonadDOM m, IsNode self) => self -> Maybe GetRootNodeOptions -> m Node
- getRootNode_ :: (MonadDOM m, IsNode self) => self -> Maybe GetRootNodeOptions -> m ()
- hasChildNodes :: (MonadDOM m, IsNode self) => self -> m Bool
- hasChildNodes_ :: (MonadDOM m, IsNode self) => self -> m ()
- normalize :: (MonadDOM m, IsNode self) => self -> m ()
- cloneNode :: (MonadDOM m, IsNode self) => self -> Bool -> m Node
- cloneNode_ :: (MonadDOM m, IsNode self) => self -> Bool -> m ()
- isEqualNode :: (MonadDOM m, IsNode self, IsNode other) => self -> Maybe other -> m Bool
- isEqualNode_ :: (MonadDOM m, IsNode self, IsNode other) => self -> Maybe other -> m ()
- isSameNode :: (MonadDOM m, IsNode self, IsNode other) => self -> Maybe other -> m Bool
- isSameNode_ :: (MonadDOM m, IsNode self, IsNode other) => self -> Maybe other -> m ()
- compareDocumentPosition :: (MonadDOM m, IsNode self, IsNode other) => self -> other -> m Word
- compareDocumentPosition_ :: (MonadDOM m, IsNode self, IsNode other) => self -> other -> m ()
- contains :: (MonadDOM m, IsNode self, IsNode other) => self -> Maybe other -> m Bool
- contains_ :: (MonadDOM m, IsNode self, IsNode other) => self -> Maybe other -> m ()
- lookupPrefix :: (MonadDOM m, IsNode self, ToJSString namespaceURI, FromJSString result) => self -> Maybe namespaceURI -> m (Maybe result)
- lookupPrefix_ :: (MonadDOM m, IsNode self, ToJSString namespaceURI) => self -> Maybe namespaceURI -> m ()
- lookupPrefixUnsafe :: (MonadDOM m, IsNode self, ToJSString namespaceURI, HasCallStack, FromJSString result) => self -> Maybe namespaceURI -> m result
- lookupPrefixUnchecked :: (MonadDOM m, IsNode self, ToJSString namespaceURI, FromJSString result) => self -> Maybe namespaceURI -> m result
- lookupNamespaceURI :: (MonadDOM m, IsNode self, ToJSString prefix, FromJSString result) => self -> Maybe prefix -> m (Maybe result)
- lookupNamespaceURI_ :: (MonadDOM m, IsNode self, ToJSString prefix) => self -> Maybe prefix -> m ()
- lookupNamespaceURIUnsafe :: (MonadDOM m, IsNode self, ToJSString prefix, HasCallStack, FromJSString result) => self -> Maybe prefix -> m result
- lookupNamespaceURIUnchecked :: (MonadDOM m, IsNode self, ToJSString prefix, FromJSString result) => self -> Maybe prefix -> m result
- isDefaultNamespace :: (MonadDOM m, IsNode self, ToJSString namespaceURI) => self -> Maybe namespaceURI -> m Bool
- isDefaultNamespace_ :: (MonadDOM m, IsNode self, ToJSString namespaceURI) => self -> Maybe namespaceURI -> m ()
- insertBefore :: (MonadDOM m, IsNode self, IsNode node, IsNode child) => self -> node -> Maybe child -> m Node
- insertBefore_ :: (MonadDOM m, IsNode self, IsNode node, IsNode child) => self -> node -> Maybe child -> m ()
- appendChild :: (MonadDOM m, IsNode self, IsNode node) => self -> node -> m Node
- appendChild_ :: (MonadDOM m, IsNode self, IsNode node) => self -> node -> m ()
- replaceChild :: (MonadDOM m, IsNode self, IsNode node, IsNode child) => self -> node -> child -> m Node
- replaceChild_ :: (MonadDOM m, IsNode self, IsNode node, IsNode child) => self -> node -> child -> m ()
- removeChild :: (MonadDOM m, IsNode self, IsNode child) => self -> child -> m Node
- removeChild_ :: (MonadDOM m, IsNode self, IsNode child) => self -> child -> m ()
- pattern ELEMENT_NODE :: forall a. (Eq a, Num a) => a
- pattern ATTRIBUTE_NODE :: forall a. (Eq a, Num a) => a
- pattern TEXT_NODE :: forall a. (Eq a, Num a) => a
- pattern CDATA_SECTION_NODE :: forall a. (Eq a, Num a) => a
- pattern ENTITY_REFERENCE_NODE :: forall a. (Eq a, Num a) => a
- pattern ENTITY_NODE :: forall a. (Eq a, Num a) => a
- pattern PROCESSING_INSTRUCTION_NODE :: forall a. (Eq a, Num a) => a
- pattern COMMENT_NODE :: forall a. (Eq a, Num a) => a
- pattern DOCUMENT_NODE :: forall a. (Eq a, Num a) => a
- pattern DOCUMENT_TYPE_NODE :: forall a. (Eq a, Num a) => a
- pattern DOCUMENT_FRAGMENT_NODE :: forall a. (Eq a, Num a) => a
- pattern NOTATION_NODE :: forall a. (Eq a, Num a) => a
- pattern DOCUMENT_POSITION_DISCONNECTED :: forall a. (Eq a, Num a) => a
- pattern DOCUMENT_POSITION_PRECEDING :: forall a. (Eq a, Num a) => a
- pattern DOCUMENT_POSITION_FOLLOWING :: forall a. (Eq a, Num a) => a
- pattern DOCUMENT_POSITION_CONTAINS :: forall a. (Eq a, Num a) => a
- pattern DOCUMENT_POSITION_CONTAINED_BY :: forall a. (Eq a, Num a) => a
- pattern DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC :: forall a. (Eq a, Num a) => a
- getNodeType :: (MonadDOM m, IsNode self) => self -> m Word
- getNodeName :: (MonadDOM m, IsNode self, FromJSString result) => self -> m result
- getBaseURI :: (MonadDOM m, IsNode self, FromJSString result) => self -> m result
- getIsConnected :: (MonadDOM m, IsNode self) => self -> m Bool
- getOwnerDocument :: (MonadDOM m, IsNode self) => self -> m (Maybe Document)
- getOwnerDocumentUnsafe :: (MonadDOM m, IsNode self, HasCallStack) => self -> m Document
- getOwnerDocumentUnchecked :: (MonadDOM m, IsNode self) => self -> m Document
- getParentNode :: (MonadDOM m, IsNode self) => self -> m (Maybe Node)
- getParentNodeUnsafe :: (MonadDOM m, IsNode self, HasCallStack) => self -> m Node
- getParentNodeUnchecked :: (MonadDOM m, IsNode self) => self -> m Node
- getParentElement :: (MonadDOM m, IsNode self) => self -> m (Maybe Element)
- getParentElementUnsafe :: (MonadDOM m, IsNode self, HasCallStack) => self -> m Element
- getParentElementUnchecked :: (MonadDOM m, IsNode self) => self -> m Element
- getChildNodes :: (MonadDOM m, IsNode self) => self -> m NodeList
- getFirstChild :: (MonadDOM m, IsNode self) => self -> m (Maybe Node)
- getFirstChildUnsafe :: (MonadDOM m, IsNode self, HasCallStack) => self -> m Node
- getFirstChildUnchecked :: (MonadDOM m, IsNode self) => self -> m Node
- getLastChild :: (MonadDOM m, IsNode self) => self -> m (Maybe Node)
- getLastChildUnsafe :: (MonadDOM m, IsNode self, HasCallStack) => self -> m Node
- getLastChildUnchecked :: (MonadDOM m, IsNode self) => self -> m Node
- getPreviousSibling :: (MonadDOM m, IsNode self) => self -> m (Maybe Node)
- getPreviousSiblingUnsafe :: (MonadDOM m, IsNode self, HasCallStack) => self -> m Node
- getPreviousSiblingUnchecked :: (MonadDOM m, IsNode self) => self -> m Node
- getNextSibling :: (MonadDOM m, IsNode self) => self -> m (Maybe Node)
- getNextSiblingUnsafe :: (MonadDOM m, IsNode self, HasCallStack) => self -> m Node
- getNextSiblingUnchecked :: (MonadDOM m, IsNode self) => self -> m Node
- setNodeValue :: (MonadDOM m, IsNode self, ToJSString val) => self -> Maybe val -> m ()
- getNodeValue :: (MonadDOM m, IsNode self, FromJSString result) => self -> m (Maybe result)
- getNodeValueUnsafe :: (MonadDOM m, IsNode self, HasCallStack, FromJSString result) => self -> m result
- getNodeValueUnchecked :: (MonadDOM m, IsNode self, FromJSString result) => self -> m result
- setTextContent :: (MonadDOM m, IsNode self, ToJSString val) => self -> Maybe val -> m ()
- getTextContent :: (MonadDOM m, IsNode self, FromJSString result) => self -> m (Maybe result)
- getTextContentUnsafe :: (MonadDOM m, IsNode self, HasCallStack, FromJSString result) => self -> m result
- getTextContentUnchecked :: (MonadDOM m, IsNode self, FromJSString result) => self -> m result
- newtype Node = Node {}
- gTypeNode :: JSM GType
- class (IsEventTarget o, IsGObject o) => IsNode o
- toNode :: IsNode o => o -> Node
Documentation
getRootNode :: (MonadDOM m, IsNode self) => self -> Maybe GetRootNodeOptions -> m Node Source #
getRootNode_ :: (MonadDOM m, IsNode self) => self -> Maybe GetRootNodeOptions -> m () Source #
hasChildNodes_ :: (MonadDOM m, IsNode self) => self -> m () Source #
compareDocumentPosition :: (MonadDOM m, IsNode self, IsNode other) => self -> other -> m Word Source #
compareDocumentPosition_ :: (MonadDOM m, IsNode self, IsNode other) => self -> other -> m () Source #
lookupPrefix :: (MonadDOM m, IsNode self, ToJSString namespaceURI, FromJSString result) => self -> Maybe namespaceURI -> m (Maybe result) Source #
lookupPrefix_ :: (MonadDOM m, IsNode self, ToJSString namespaceURI) => self -> Maybe namespaceURI -> m () Source #
lookupPrefixUnsafe :: (MonadDOM m, IsNode self, ToJSString namespaceURI, HasCallStack, FromJSString result) => self -> Maybe namespaceURI -> m result Source #
lookupPrefixUnchecked :: (MonadDOM m, IsNode self, ToJSString namespaceURI, FromJSString result) => self -> Maybe namespaceURI -> m result Source #
lookupNamespaceURI :: (MonadDOM m, IsNode self, ToJSString prefix, FromJSString result) => self -> Maybe prefix -> m (Maybe result) Source #
lookupNamespaceURI_ :: (MonadDOM m, IsNode self, ToJSString prefix) => self -> Maybe prefix -> m () Source #
lookupNamespaceURIUnsafe :: (MonadDOM m, IsNode self, ToJSString prefix, HasCallStack, FromJSString result) => self -> Maybe prefix -> m result Source #
lookupNamespaceURIUnchecked :: (MonadDOM m, IsNode self, ToJSString prefix, FromJSString result) => self -> Maybe prefix -> m result Source #
isDefaultNamespace :: (MonadDOM m, IsNode self, ToJSString namespaceURI) => self -> Maybe namespaceURI -> m Bool Source #
isDefaultNamespace_ :: (MonadDOM m, IsNode self, ToJSString namespaceURI) => self -> Maybe namespaceURI -> m () Source #
insertBefore :: (MonadDOM m, IsNode self, IsNode node, IsNode child) => self -> node -> Maybe child -> m Node Source #
insertBefore_ :: (MonadDOM m, IsNode self, IsNode node, IsNode child) => self -> node -> Maybe child -> m () Source #
replaceChild :: (MonadDOM m, IsNode self, IsNode node, IsNode child) => self -> node -> child -> m Node Source #
replaceChild_ :: (MonadDOM m, IsNode self, IsNode node, IsNode child) => self -> node -> child -> m () Source #
pattern ELEMENT_NODE :: forall a. (Eq a, Num a) => a Source #
pattern ATTRIBUTE_NODE :: forall a. (Eq a, Num a) => a Source #
pattern CDATA_SECTION_NODE :: forall a. (Eq a, Num a) => a Source #
pattern ENTITY_REFERENCE_NODE :: forall a. (Eq a, Num a) => a Source #
pattern ENTITY_NODE :: forall a. (Eq a, Num a) => a Source #
pattern PROCESSING_INSTRUCTION_NODE :: forall a. (Eq a, Num a) => a Source #
pattern COMMENT_NODE :: forall a. (Eq a, Num a) => a Source #
pattern DOCUMENT_NODE :: forall a. (Eq a, Num a) => a Source #
pattern DOCUMENT_TYPE_NODE :: forall a. (Eq a, Num a) => a Source #
pattern DOCUMENT_FRAGMENT_NODE :: forall a. (Eq a, Num a) => a Source #
pattern NOTATION_NODE :: forall a. (Eq a, Num a) => a Source #
pattern DOCUMENT_POSITION_DISCONNECTED :: forall a. (Eq a, Num a) => a Source #
pattern DOCUMENT_POSITION_PRECEDING :: forall a. (Eq a, Num a) => a Source #
pattern DOCUMENT_POSITION_FOLLOWING :: forall a. (Eq a, Num a) => a Source #
pattern DOCUMENT_POSITION_CONTAINS :: forall a. (Eq a, Num a) => a Source #
pattern DOCUMENT_POSITION_CONTAINED_BY :: forall a. (Eq a, Num a) => a Source #
pattern DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC :: forall a. (Eq a, Num a) => a Source #
getNodeName :: (MonadDOM m, IsNode self, FromJSString result) => self -> m result Source #
getBaseURI :: (MonadDOM m, IsNode self, FromJSString result) => self -> m result Source #
getOwnerDocumentUnsafe :: (MonadDOM m, IsNode self, HasCallStack) => self -> m Document Source #
getParentNodeUnsafe :: (MonadDOM m, IsNode self, HasCallStack) => self -> m Node Source #
getParentElementUnsafe :: (MonadDOM m, IsNode self, HasCallStack) => self -> m Element Source #
getFirstChildUnsafe :: (MonadDOM m, IsNode self, HasCallStack) => self -> m Node Source #
getLastChildUnsafe :: (MonadDOM m, IsNode self, HasCallStack) => self -> m Node Source #
getPreviousSiblingUnsafe :: (MonadDOM m, IsNode self, HasCallStack) => self -> m Node Source #
getNextSiblingUnsafe :: (MonadDOM m, IsNode self, HasCallStack) => self -> m Node Source #
setNodeValue :: (MonadDOM m, IsNode self, ToJSString val) => self -> Maybe val -> m () Source #
getNodeValue :: (MonadDOM m, IsNode self, FromJSString result) => self -> m (Maybe result) Source #
getNodeValueUnsafe :: (MonadDOM m, IsNode self, HasCallStack, FromJSString result) => self -> m result Source #
getNodeValueUnchecked :: (MonadDOM m, IsNode self, FromJSString result) => self -> m result Source #
setTextContent :: (MonadDOM m, IsNode self, ToJSString val) => self -> Maybe val -> m () Source #
getTextContent :: (MonadDOM m, IsNode self, FromJSString result) => self -> m (Maybe result) Source #
getTextContentUnsafe :: (MonadDOM m, IsNode self, HasCallStack, FromJSString result) => self -> m result Source #
getTextContentUnchecked :: (MonadDOM m, IsNode self, FromJSString result) => self -> m result Source #
Functions for this inteface are in JSDOM.Node. Base interface functions are in:
Instances
PToJSVal Node Source # | |
Defined in JSDOM.Types | |
PFromJSVal Node Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> Node # | |
ToJSVal Node Source # | |
FromJSVal Node Source # | |
MakeObject Node Source # | |
Defined in JSDOM.Types makeObject :: Node -> JSM Object # | |
IsNode Node Source # | |
Defined in JSDOM.Types | |
IsEventTarget Node Source # | |
Defined in JSDOM.Types | |
IsNodeOrString Node Source # | |
Defined in JSDOM.Types | |
IsGObject Node Source # | |
Defined in JSDOM.Types |
class (IsEventTarget o, IsGObject o) => IsNode o Source #