toggle menu
shake
0.1.0
common
switch theme
search in API
com.shakelang.shake.shasambly.shasp
/
com.shakelang.shake.shasambly.shasp.parser.nodes
/
ShasPFunctionDeclaration
Shas
PFunction
Declaration
open
class
ShasPFunctionDeclaration
(
val
type
:
ShasPType
,
val
name
:
String
,
val
args
:
Array
<
ShasPArgument
>
,
val
body
:
ShasPCode
)
:
ShasPProgChild
(
source
)
Members
Constructors
Shas
PFunction
Declaration
Link copied to clipboard
constructor
(
type
:
ShasPType
,
name
:
String
,
args
:
Array
<
ShasPArgument
>
,
body
:
ShasPCode
)
Properties
args
Link copied to clipboard
val
args
:
Array
<
ShasPArgument
>
body
Link copied to clipboard
val
body
:
ShasPCode
name
Link copied to clipboard
val
name
:
String
type
Link copied to clipboard
val
type
:
ShasPType
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