toggle menu
shake
0.1.0
common
switch theme
search in API
com.shakelang.shake.shakespeare
/
com.shakelang.shake.shakespeare.spec.code
/
ForSpec
For
Spec
class
ForSpec
(
val
init
:
StatementSpec
,
val
condition
:
ValueSpec
,
val
update
:
StatementSpec
,
val
body
:
CodeSpec
)
:
StatementSpec
(
source
)
Members
Constructors
For
Spec
Link copied to clipboard
constructor
(
init
:
StatementSpec
,
condition
:
ValueSpec
,
update
:
StatementSpec
,
body
:
CodeSpec
)
Types
Companion
Link copied to clipboard
object
Companion
For
Spec
Builder
Link copied to clipboard
open
class
ForSpecBuilder
Properties
body
Link copied to clipboard
val
body
:
CodeSpec
condition
Link copied to clipboard
val
condition
:
ValueSpec
init
Link copied to clipboard
val
init
:
StatementSpec
update
Link copied to clipboard
val
update
:
StatementSpec
Functions
generate
Link copied to clipboard
open
override
fun
generate
(
ctx
:
GenerationContext
)
:
String