toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.io.util
/
Indenter
/
IndenterEvaluator
Indenter
Evaluator
class
IndenterEvaluator
(
val
markHandler
:
(
sb
:
StringBuilder
,
line
:
Int
,
data
:
Any
)
->
Unit
?
,
val
indentEmptyLines
:
Boolean
,
val
doIndent
:
Boolean
)
Members
Constructors
Indenter
Evaluator
Link copied to clipboard
constructor
(
markHandler
:
(
sb
:
StringBuilder
,
line
:
Int
,
data
:
Any
)
->
Unit
?
,
indentEmptyLines
:
Boolean
,
doIndent
:
Boolean
)
Properties
allow
Empty
Line
Link copied to clipboard
var
allowEmptyLine
:
Boolean
do
Indent
Link copied to clipboard
val
doIndent
:
Boolean
indent
Empty
Lines
Link copied to clipboard
val
indentEmptyLines
:
Boolean
indent
Index
Link copied to clipboard
var
indentIndex
:
Int
line
Link copied to clipboard
var
line
:
Int
mark
Handler
Link copied to clipboard
val
markHandler
:
(
sb
:
StringBuilder
,
line
:
Int
,
data
:
Any
)
->
Unit
?
new
Line
Link copied to clipboard
var
newLine
:
Boolean
out
Link copied to clipboard
val
out
:
StringBuilder
Functions
do
Line
Link copied to clipboard
fun
doLine
(
)
eval
Link copied to clipboard
fun
eval
(
actions
:
List
<
Indenter.Action
>
)
out
Append
Link copied to clipboard
fun
outAppend
(
str
:
Char
)
:
StringBuilder
fun
outAppend
(
str
:
String
)
:
StringBuilder