@wdprlib/parser
Preparing search index...
parser/depth/stack
DepthStack
Class DepthStack<L, T>
Internal stack-based builder for constructing depth trees incrementally.
Type Parameters
L
T
Index
Constructors
constructor
Methods
decrease
Depth
increase
Depth
into
Trees
last
Type
new
List
push
Item
Constructors
constructor
new
DepthStack
<
L
,
T
>
(
topLtype
:
L
)
:
DepthStack
<
L
,
T
>
Type Parameters
L
T
Parameters
topLtype
:
L
Returns
DepthStack
<
L
,
T
>
Methods
decrease
Depth
decreaseDepth
()
:
void
Returns
void
increase
Depth
increaseDepth
(
ltype
:
L
)
:
void
Parameters
ltype
:
L
Returns
void
into
Trees
intoTrees
()
:
{
list
:
DepthList
<
L
,
T
>
;
ltype
:
L
}
[]
Returns
{
list
:
DepthList
<
L
,
T
>
;
ltype
:
L
}
[]
last
Type
lastType
()
:
L
Returns
L
new
List
newList
(
ltype
:
L
)
:
void
Parameters
ltype
:
L
Returns
void
push
Item
pushItem
(
item
:
T
)
:
void
Parameters
item
:
T
Returns
void
Package
Version
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
decrease
Depth
increase
Depth
into
Trees
last
Type
new
List
push
Item
@wdprlib/parser
Loading...
Internal stack-based builder for constructing depth trees incrementally.