Preparing search index...
The search index is not available
Dinghy
Dinghy
shellPrinter
ShellPrinter
Class ShellPrinter
Hierarchy (
view full
)
Printer
<
ShellNodeTypes
>
ShellPrinter
Index
Constructors
constructor
Properties
_previous
Node
errors
root
writer
Accessors
previous
Node
Methods
_generate
_get
Previous
Node
_get
Previous
Node
Position
_print
Line
Until
Previous
Node
append
deindent
in
Command
indent
new
Line
out
Command
print
space
Constructors
constructor
new
Shell
Printer
(
root
)
:
ShellPrinter
Parameters
root
:
ShellNodeTypes
Returns
ShellPrinter
Properties
_previous
Node
_previous
Node
:
Record
<
string
,
ShellNodeTypes
>
= {}
Readonly
errors
errors
:
ParserError
<
ShellNodeTypes
>
[]
= []
Readonly
root
root
:
ShellNodeTypes
writer
writer
:
Writer
= ...
Accessors
previous
Node
set
previousNode
(
node
)
:
void
Parameters
node
:
T
Returns
void
Methods
_generate
_generate
(
node
,
printNewLine
?
)
:
ShellPrinter
Parameters
node
:
ShellNodeTypes
printNewLine
:
boolean
= true
Returns
ShellPrinter
_get
Previous
Node
_get
Previous
Node
(
node
)
:
ShellNodeTypes
Parameters
node
:
ShellNodeTypes
Returns
ShellNodeTypes
_get
Previous
Node
Position
_get
Previous
Node
Position
(
node
)
:
Position
Parameters
node
:
ShellNodeTypes
Returns
Position
_print
Line
Until
Previous
Node
_print
Line
Until
Previous
Node
(
node
,
previousNode
?
)
:
void
Parameters
node
:
ShellNodeTypes
previousNode
:
ShellNodeTypes
= ...
Returns
void
append
append
(
str
)
:
ShellPrinter
Parameters
str
:
string
Returns
ShellPrinter
deindent
deindent
(
)
:
ShellPrinter
Returns
ShellPrinter
in
Command
in
Command
(
)
:
ShellPrinter
Returns
ShellPrinter
indent
indent
(
)
:
ShellPrinter
Returns
ShellPrinter
new
Line
new
Line
(
)
:
ShellPrinter
Returns
ShellPrinter
out
Command
out
Command
(
)
:
ShellPrinter
Returns
ShellPrinter
print
print
(
)
:
string
Returns
string
space
space
(
)
:
ShellPrinter
Returns
ShellPrinter
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
_previous
Node
errors
root
writer
previous
Node
_generate
_get
Previous
Node
_get
Previous
Node
Position
_print
Line
Until
Previous
Node
append
deindent
in
Command
indent
new
Line
out
Command
print
space
Dinghy
Loading...
Generated using
TypeDoc