NodeInterface: { [iterator](): IterableIterator<NodeInterface>; addAttributes(attributes): void; addChild(node): NodeInterface; attributes(): Attributes; children(): Nodes; clear(): void; count(): number; get(offset): string; name(): string; offsetExists(offset): boolean; searchAttribute(...searchPath): string; searchNode(...searchPath): undefined | NodeInterface; searchNodes(...searchPath): Nodes; set(offset,
value): void; unset(offset): void; } Type declaration
[iterator]:function
addAttributes:function
- addAttributes(attributes): void
Parameters
attributes: Record<string, unknown>
Returns void
addChild:function
attributes:function
children:function
clear:function
- clear(): void
Returns void
count:function
- count(): number
Returns number
get:function
- get(offset): string
Returns string
name:function
- name(): string
Returns string
offsetExists:function
- offsetExists(offset): boolean
Returns boolean
searchAttribute:function
- searchAttribute(...searchPath): string
Parameters
Rest
...searchPath: string[]
Returns string
searchNode:function
- searchNode(...searchPath): undefined | NodeInterface
Parameters
Rest
...searchPath: string[]
searchNodes:function
- searchNodes(...searchPath): Nodes
Parameters
Rest
...searchPath: string[]
set:function
- set(offset, value): void
Parameters
offset: string
value: string
Returns void
unset:function
- unset(offset): void
Returns void