toggle menu
shake
0.1.0
common
switch theme
search in API
com.shakelang.shake.shakespeare
/
com.shakelang.shake.shakespeare.spec
/
GenerationContext
Generation
Context
class
GenerationContext
(
val
indentType
:
String
=
" "
,
val
newline
:
String
=
""
,
val
indentLevel
:
Int
=
0
)
(
source
)
Members
Constructors
Generation
Context
Link copied to clipboard
constructor
(
indentType
:
String
=
" "
,
newline
:
String
=
""
,
indentLevel
:
Int
=
0
)
Properties
indent
Level
Link copied to clipboard
val
indentLevel
:
Int
=
0
indent
Type
Link copied to clipboard
val
indentType
:
String
newline
Link copied to clipboard
val
newline
:
String
Functions
dedent
Link copied to clipboard
fun
dedent
(
)
:
GenerationContext
generate
Indent
Link copied to clipboard
fun
generateIndent
(
)
:
String
indent
Link copied to clipboard
fun
indent
(
)
:
GenerationContext