UNPKG
bitran
Version:
latest (3.0.0-dev.3)
3.0.0-dev.3
2.0.4
2.0.3
2.0.1
2.0.0
1.0.1
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
📜 Highly customizable text processor and transpiler.
bitran
/
dist
/
_types
/
dom
/
node.d.ts
9 lines
(8 loc)
•
275 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
export
declare
abstract
class
Node
{
name
:
string
;
parent
?:
Node
;
get
children
():
Node
[];
walkDown
(
step
:
(
node
:
Node
) =>
any
):
boolean
;
__walk
(
next
:
(
current
:
Node
) =>
Node
,
step
:
(
node
:
Node
) =>
any
):
void
;
walkUp
(
step
:
(
node
:
Node
) =>
any
):
void
; }