ruleset object
Optional
options: { Optional
Readonly
booleanish?: booleanOptional
Readonly
endOptional
Readonly
filename?: stringOptional
Readonly
pretenders?: readonly Pretender[]Private
#childCached childNodes
property
Private
#childrenCached children
Private
Readonly
#endPrivate
Readonly
#endPrivate
Readonly
#endPrivate
Optional
Readonly
#filenamePrivate
#fixedPrivate
Readonly
#ownerOwner Document
DOM API: Node
Private
#prevCached prevToken
property
Private
Readonly
#rawPrivate
#selectedCached elements that created from querySelectorAll
Private
Readonly
#startPrivate
Readonly
#startPrivate
Readonly
#startPrivate
#tokenReadonly
ATTRIBUTE_Readonly
CDATA_Readonly
COMMENT_Readonly
DOCUMENT_Readonly
DOCUMENT_Readonly
DOCUMENT_Readonly
DOCUMENT_Readonly
DOCUMENT_Readonly
DOCUMENT_Readonly
DOCUMENT_DOM API: Node
https://dom.spec.whatwg.org/#dom-node-document_position_implementation_specific
Readonly
DOCUMENT_Readonly
DOCUMENT_Readonly
ELEMENT_Readonly
ENTITY_Readonly
ENTITY_Readonly
MARKUPLINT_@markuplint/ml-core
API: MLNode
Readonly
NOTATION_Readonly
PROCESSING_Readonly
TEXT_Protected
_astReadonly
booleanishDetect value as a true if its attribute is booleanish value and omitted.
Ex:
<Component aria-hidden />
In the above, the aria-hidden
is true
.
false
Readonly
endThis is defined by the parser.
"omittable"
Readonly
isReadonly
nodeAn array of markuplint DOM nodes
Optional
Readonly
ontouchcancelOptional
Readonly
ontouchendOptional
Readonly
ontouchmoveOptional
Readonly
ontouchstartReadonly
rulesReadonly
specsReadonly
uuidIT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Node
https://dom.spec.whatwg.org/#ref-for-dom-node-baseuri%E2%91%A0
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
DOM API: Element
, Document
, DocumentFragment
https://dom.spec.whatwg.org/#dom-parentnode-childelementcount
The list of child nodes that contains Element
, Text
, and Comment
.
DOM API: Node
https://dom.spec.whatwg.org/#ref-for-dom-node-childnodes%E2%91%A0
DOM API: Element
, Document
, DocumentFragment
https://dom.spec.whatwg.org/#ref-for-dom-parentnode-children%E2%91%A0
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
Window object for calling the getComputedStyle
and the getPropertyValue
that
are needed by Accessible Name and Description Computation.
But it always returns the empty object.
(It may improve to possible to compute the name from the style
attribute in the future.)
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
@markuplint/ml-core
API: MLDOMToken
@markuplint/ml-core
API: MLDOMToken
@markuplint/ml-core
API: MLDOMToken
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
It could be used in rule, make sure it is immutable
@markuplint/ml-core
API: MLDOMDocument
The first node that may be Element
, Text
, and CommentNode
.
DOM API: Node
https://dom.spec.whatwg.org/#ref-for-dom-node-firstchild%E2%91%A0
DOM API: Element
, Document
, DocumentFragment
https://dom.spec.whatwg.org/#ref-for-dom-parentnode-firstelementchild%E2%91%A0
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Node
https://dom.spec.whatwg.org/#ref-for-dom-node-isconnected%E2%91%A0
The last node that may be Element
, Text
, and CommentNode
.
DOM API: Node
https://dom.spec.whatwg.org/#ref-for-dom-node-lastchild%E2%91%A0
DOM API: Element
, Document
, DocumentFragment
https://dom.spec.whatwg.org/#ref-for-dom-parentnode-lastelementchild%E2%91%A0
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
@markuplint/ml-core
API: MLNode
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Node
https://dom.spec.whatwg.org/#ref-for-dom-node-nextsibling%E2%91%A0
Returns a string appropriate for the type of node as Document
Returns a number appropriate for the type of Document
The nodeValue getter steps are to return the following, switching on the interface this implements:
Attr
: this’s value.CharacterData
: this’s data.DOM API: Node
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
@markuplint/ml-core
API: MLDOMToken
The parent element.
DOM API: Node
https://dom.spec.whatwg.org/#ref-for-dom-node-parentelement%E2%91%A0
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
@markuplint/ml-core
API: MLNode
@markuplint/ml-core
API: MLNode
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Node
https://dom.spec.whatwg.org/#ref-for-dom-node-previoussibling%E2%91%A0
@markuplint/ml-core
API: MLDOMToken
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
@markuplint/ml-core
API: MLDOMToken
@markuplint/ml-core
API: MLDOMToken
@markuplint/ml-core
API: MLDOMToken
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
Returns a syntactical parent node
<html> // => #document
<body></body> // => <html>
</html>
<> // => #document
<div> // => #document-fragment
{items.map(item => {
return (
<span /> // => #ml-block
)
})}
</div>
</>
//- #document
div
//- <div>
if foo
//- #ml-block
span
@markuplint/ml-core
API: MLNode
Return the text content.
Comment
, or Text
, textContent returns, or sets, the text inside the node, i.e., the Node.nodeValue.DOM API: Node
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
Protected
_descendantsOptional
filter: ((node: MLNode<T, O, MLASTAbstractNode>) => null | void | N)Private
_pretendingPrivate
_ruleIT THROWS AN ERROR WHEN CALLING THIS.
DOM API: EventTarget
https://dom.spec.whatwg.org/#ref-for-dom-eventtarget-addeventlistener%E2%91%A2
Optional
callback: null | EventListenerOrEventListenerObjectIT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Element
, Document
, DocumentFragment
https://dom.spec.whatwg.org/#ref-for-dom-parentnode-append%E2%91%A0
Rest
...nodes: (string | Node)[]IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Node
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Node
https://dom.spec.whatwg.org/#ref-for-dom-node-clonenode%E2%91%A0
Optional
deep: booleanIT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Node
https://dom.spec.whatwg.org/#ref-for-dom-node-comparedocumentposition%E2%91%A0
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Node
https://dom.spec.whatwg.org/#ref-for-dom-node-contains%E2%91%A0
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
Optional
resolver: null | XPathNSResolverIT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
Optional
whatToShow: numberOptional
filter: null | NodeFilterIT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
Optional
whatToShow: numberOptional
filter: null | NodeFilterIT THROWS AN ERROR WHEN CALLING THIS.
DOM API: EventTarget
https://dom.spec.whatwg.org/#ref-for-dom-eventtarget-dispatchevent%E2%91%A2
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
Optional
resolver: null | XPathNSResolverOptional
type: numberOptional
result: null | XPathResultIT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Node
https://dom.spec.whatwg.org/#ref-for-dom-node-getrootnode%E2%91%A0
Optional
options: GetRootNodeOptionsIT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Node
https://dom.spec.whatwg.org/#ref-for-dom-node-haschildnodes%E2%91%A0
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Document
Optional
deep: booleanIT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Node
https://dom.spec.whatwg.org/#ref-for-dom-node-isequalnode%E2%91%A0
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Node
https://dom.spec.whatwg.org/#ref-for-dom-node-normalize%E2%91%A0
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Element
, Document
, DocumentFragment
https://dom.spec.whatwg.org/#ref-for-dom-parentnode-prepend%E2%91%A0
Rest
...nodes: (string | Node)[]DOM API: Element
, Document
, DocumentFragment
https://dom.spec.whatwg.org/#ref-for-dom-parentnode-queryselector%E2%91%A0
DOM API: Element
, Document
, DocumentFragment
https://dom.spec.whatwg.org/#ref-for-dom-parentnode-queryselectorall%E2%91%A0
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Node
IT THROWS AN ERROR WHEN CALLING THIS.
DOM API: EventTarget
https://dom.spec.whatwg.org/#ref-for-dom-eventtarget-removeeventlistener%E2%91%A1
Optional
callback: null | EventListenerOrEventListenerObjectIT THROWS AN ERROR WHEN CALLING THIS.
DOM API: Element
, Document
, DocumentFragment
https://dom.spec.whatwg.org/#ref-for-dom-parentnode-replacechildren%E2%91%A0
Rest
...nodes: (string | Node)[]@markuplint/ml-core
API: MLDocument
@markuplint/ml-core
API: MLDocument
Optional
skipWhenRuleIsDisabled: booleanOptional
skipWhenRuleIsDisabled: booleanOptional
skipWhenRuleIsDisabled: booleanOptional
skipWhenRuleIsDisabled: booleanOptional
skipWhenRuleIsDisabled: booleanGenerated using TypeDoc
node list of markuplint AST