toggle menu
shake
0.1.0
common
switch theme
search in API
com.shakelang.shake.shakespeare
/
com.shakelang.shake.shakespeare.spec.code
/
IfSpec
/
IfSpecBuilder
If
Spec
Builder
open
class
IfSpecBuilder
(
source
)
Inheritors
IfBuilder
Members
Properties
body
Link copied to clipboard
var
body
:
CodeSpec
?
condition
Link copied to clipboard
var
condition
:
ValueSpec
?
else
Body
Link copied to clipboard
var
elseBody
:
CodeSpec
?
Functions
body
Link copied to clipboard
fun
body
(
body
:
CodeSpec
)
:
IfSpec.IfSpecBuilder
build
Link copied to clipboard
fun
build
(
)
:
IfSpec
condition
Link copied to clipboard
fun
condition
(
condition
:
ValueSpec
)
:
IfSpec.IfSpecBuilder
fun
condition
(
condition
:
String
)
:
IfSpec.IfSpecBuilder
else
Body
Link copied to clipboard
fun
elseBody
(
elseBody
:
CodeSpec
)
:
IfSpec.IfSpecBuilder