UsingFFI¶
A using
statement referencing an extern FFI function.
Implements¶
- NodeData val
Constructors¶
create¶
new val create(
identifier': (NodeWith[Identifier val] val | None val),
fun_name': (NodeWith[Identifier val] val | NodeWith[LiteralString val] val),
type_args': NodeWith[TypeArgs val] val,
params': (NodeWith[MethodParams val] val | None val),
varargs': Bool val,
partial': Bool val,
def_true': Bool val,
define': (NodeWith[Identifier val] val | None val))
: UsingFFI val^
Parameters¶
- identifier': (NodeWith[Identifier val] val | None val)
- fun_name': (NodeWith[Identifier val] val | NodeWith[LiteralString val] val)
- type_args': NodeWith[TypeArgs val] val
- params': (NodeWith[MethodParams val] val | None val)
- varargs': Bool val
- partial': Bool val
- def_true': Bool val
- define': (NodeWith[Identifier val] val | None val)
Returns¶
- UsingFFI val^
Public fields¶
let identifier: (NodeWith[Identifier val] val | None val)¶
let fun_name: (NodeWith[Identifier val] val | NodeWith[LiteralString val] val)¶
let type_args: NodeWith[TypeArgs val] val¶
let params: (NodeWith[MethodParams val] val | None val)¶
let varargs: Bool val¶
let partial: Bool val¶
let def_true: Bool val¶
let define: (NodeWith[Identifier val] val | None val)¶
Public Functions¶
name¶
Returns¶
- String val
clone¶
Parameters¶
Returns¶
- NodeData val
add_json_props¶
fun box add_json_props(
node: Node box,
props: Array[(String val , (Object box | Sequence box | String box | I128 val | F64 val | Bool val | Null val))] ref)
: None val
Parameters¶
- node: Node box
- props: Array[(String val , (Object box | Sequence box | String box | I128 val | F64 val | Bool val | Null val))] ref
Returns¶
- None val