Prosa.kt
Toggle table of contents
0.1.1
common
Target filter
common
Switch theme
Search in API
Skip to content
Prosa.kt
Prosa.kt
/
com.alexstyl.prosakt
/
ExpressionScope
Expression
Scope
View Markdown
sealed
interface
ExpressionScope
A position that accepts an expression, or a body that records expression statements.
Inheritors
BlockScope
ArgumentScope
Members
Functions
call
Link copied to clipboard
open
fun
call
(
name
:
String
,
configure
:
CallScope
.
(
)
->
Unit
=
{}
)
chain
Link copied to clipboard
open
fun
chain
(
body
:
ChainScope
.
(
)
->
Unit
)
hex
Literal
Link copied to clipboard
open
fun
hexLiteral
(
value
:
Long
,
chain
:
ChainScope
.
(
)
->
Unit
=
{}
)
if
Expression
Link copied to clipboard
open
fun
ifExpression
(
configure
:
IfExpressionScope
.
(
)
->
Unit
)
lambda
Expression
Link copied to clipboard
open
fun
lambdaExpression
(
body
:
LambdaBodyScope
.
(
)
->
Unit
)
literal
Link copied to clipboard
open
fun
literal
(
value
:
Any
?
,
chain
:
ChainScope
.
(
)
->
Unit
=
{}
)
open
fun
literal
(
value
:
Double
,
chain
:
ChainScope
.
(
)
->
Unit
=
{}
)
open
fun
literal
(
value
:
Float
,
chain
:
ChainScope
.
(
)
->
Unit
=
{}
)
open
fun
literal
(
value
:
Int
,
chain
:
ChainScope
.
(
)
->
Unit
=
{}
)
null
Value
Link copied to clipboard
open
fun
nullValue
(
chain
:
ChainScope
.
(
)
->
Unit
=
{}
)
reference
Link copied to clipboard
open
fun
reference
(
name
:
String
,
chain
:
ChainScope
.
(
)
->
Unit
=
{}
)
try
Expression
Link copied to clipboard
open
fun
tryExpression
(
configure
:
TryScope
.
(
)
->
Unit
)
when
Expression
Link copied to clipboard
open
fun
whenExpression
(
configure
:
WhenScope
.
(
)
->
Unit
)