toggle menu
shake
0.1.0
common
switch theme
search in API
com.shakelang.shake.shasambly.shasp
/
com.shakelang.shake.shasambly.shasp.parser.nodes
/
ShasPVariableDeclaration
Shas
PVariable
Declaration
open
class
ShasPVariableDeclaration
(
val
name
:
String
,
val
type
:
ShasPType
,
val
value
:
ShasPValuedNode
?
=
null
)
:
ShasPProgChild
,
ShasPStatement
(
source
)
Members
Constructors
Shas
PVariable
Declaration
Link copied to clipboard
constructor
(
name
:
String
,
type
:
ShasPType
,
value
:
ShasPValuedNode
?
=
null
)
Properties
name
Link copied to clipboard
val
name
:
String
type
Link copied to clipboard
val
type
:
ShasPType
value
Link copied to clipboard
val
value
:
ShasPValuedNode
?
=
null
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