toggle menu
shake
0.1.0
common
switch theme
search in API
com.shakelang.shake.shakespeare
/
com.shakelang.shake.shakespeare.spec.code
/
CodeSpec
Code
Spec
class
CodeSpec
(
val
statements
:
List
<
StatementSpec
>
)
(
source
)
Members
Constructors
Code
Spec
Link copied to clipboard
constructor
(
statements
:
List
<
StatementSpec
>
)
Types
Code
Spec
Builder
Link copied to clipboard
open
class
CodeSpecBuilder
(
val
statements
:
MutableList
<
StatementSpec
>
=
mutableListOf()
)
Companion
Link copied to clipboard
object
Companion
Properties
statements
Link copied to clipboard
val
statements
:
List
<
StatementSpec
>
Functions
generate
Link copied to clipboard
fun
generate
(
context
:
GenerationContext
)
:
String