toggle menu
shake
0.1.0
common
switch theme
search in API
com.shakelang.shake.compiler.jsgenerator
/
com.shakelang.shake.js.output
/
JsFunctionCall
Js
Function
Call
class
JsFunctionCall
(
val
function
:
JsValue
,
val
args
:
List
<
JsValue
>
)
:
JsValuedStatement
(
source
)
Members
Constructors
Js
Function
Call
Link copied to clipboard
constructor
(
function
:
JsValue
,
args
:
List
<
JsValue
>
)
Properties
args
Link copied to clipboard
val
args
:
List
<
JsValue
>
function
Link copied to clipboard
val
function
:
JsValue
needs
Parens
Link copied to clipboard
open
override
val
needsParens
:
Boolean
needs
Semicolon
Link copied to clipboard
open
val
needsSemicolon
:
Boolean
Functions
generate
Link copied to clipboard
open
override
fun
generate
(
indentAmount
:
Int
,
indent
:
String
)
:
String
generate
Value
Link copied to clipboard
open
fun
generateValue
(
indentAmount
:
Int
=
0
,
indent
:
String
=
" "
)
:
String
to
Statement
Link copied to clipboard
open
fun
toStatement
(
)
:
JsStatement
?
to
Value
Link copied to clipboard
open
fun
toValue
(
)
:
JsValue