toggle menu
shake
0.1.0
common
switch theme
search in API
com.shakelang.shake.shasambly.shasp
/
com.shakelang.shake.shasambly.shasp.parser.nodes
/
ShasPIf
Shas
PIf
open
class
ShasPIf
(
val
condition
:
ShasPValuedNode
,
val
then
:
ShasPCode
,
val
orElse
:
ShasPCode
?
=
null
)
:
ShasPValuedStatement
(
source
)
Members
Constructors
Shas
PIf
Link copied to clipboard
constructor
(
condition
:
ShasPValuedNode
,
then
:
ShasPCode
,
orElse
:
ShasPCode
?
=
null
)
Properties
condition
Link copied to clipboard
val
condition
:
ShasPValuedNode
or
Else
Link copied to clipboard
val
orElse
:
ShasPCode
?
=
null
then
Link copied to clipboard
val
then
:
ShasPCode
Functions
to
Json
Link copied to clipboard
open
override
fun
toJson
(
)
:
Map
<
String
,
Any
?
>
to
Json
String
Link copied to clipboard
open
fun
toJsonString
(
)
:
String
open
fun
toJsonString
(
indent
:
Int
)
:
String