toggle menu
shake
0.1.0
common
switch theme
search in API
com.shakelang.shake.shakespeare
/
com.shakelang.shake.shakespeare.spec.code
/
CodeSpec
/
CodeSpecBuilder
Code
Spec
Builder
open
class
CodeSpecBuilder
(
val
statements
:
MutableList
<
StatementSpec
>
=
mutableListOf()
)
(
source
)
Inheritors
CodeBuilder
Members
Constructors
Code
Spec
Builder
Link copied to clipboard
constructor
(
statements
:
MutableList
<
StatementSpec
>
=
mutableListOf()
)
Properties
statements
Link copied to clipboard
val
statements
:
MutableList
<
StatementSpec
>
Functions
add
Statement
Link copied to clipboard
fun
addStatement
(
vararg
statement
:
StatementSpec
)
:
CodeSpec.CodeSpecBuilder
build
Link copied to clipboard
fun
build
(
)
:
CodeSpec