Constructor
new Node(valueopt)
A Node Class
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
value | * | <optional> |
- Since
- 1.26.0
- Copyright
- schukai GmbH
- License
- AGPLv3
Members
childNodes
PropertiesType | Description |
---|---|
NodeList |
childNodes
PropertiesType | Description |
---|---|
NodeList |
level
PropertiesType | Description |
---|---|
integer |
parent
PropertiesType | Description |
---|---|
Monster. |
value
PropertiesType | Description |
---|---|
* |
value
PropertiesType | Description |
---|---|
* |
(static) instanceSymbol
This method is called by the
instanceof
operator.This method is called by the instanceof
operator.
- Since
- 2.1.0
Methods
appendChild(node) → {Monster.Types.Node}
Parameters:
Name | Type | Description |
---|---|---|
node | Node |
Returns:
- Type:
- Monster.
Types. Node
hasChild(node) → {Monster.Types.Node}
Parameters:
Name | Type | Description |
---|---|---|
node | Node |
Returns:
- Type:
- Monster.
Types. Node
hasChildNodes() → {boolean}
Returns:
- Type:
- boolean
removeChild(node) → {Monster.Types.Node}
Parameters:
Name | Type | Description |
---|---|---|
node | Node |
Returns:
- Type:
- Monster.
Types. Node
toString() → {string}
- Since
- 1.28.0
Returns:
- Type:
- string