toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.template
/
KorteTemplate
/
Macro
Macro
class
Macro
(
val
name
:
String
,
val
argNames
:
List
<
String
>
,
val
code
:
KorteBlock
)
:
KorteTemplate.DynamicInvokable
Members
Constructors
Macro
Link copied to clipboard
constructor
(
name
:
String
,
argNames
:
List
<
String
>
,
code
:
KorteBlock
)
Properties
arg
Names
Link copied to clipboard
val
argNames
:
List
<
String
>
code
Link copied to clipboard
val
code
:
KorteBlock
name
Link copied to clipboard
val
name
:
String
Functions
invoke
Link copied to clipboard
open
suspend override
fun
invoke
(
ctx
:
KorteTemplate.EvalContext
,
args
:
List
<
Any
?
>
)
:
Any
?