Skip to content

UsingFFI

[Source]

A using statement referencing an extern FFI function.

class val UsingFFI is
  NodeData val

Implements


Constructors

create

[Source]

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

Returns


Public fields

let identifier: (NodeWith[Identifier val] val | None val)

[Source]


let fun_name: (NodeWith[Identifier val] val | NodeWith[LiteralString val] val)

[Source]


let type_args: NodeWith[TypeArgs val] val

[Source]


let params: (NodeWith[MethodParams val] val | None val)

[Source]


let varargs: Bool val

[Source]


let partial: Bool val

[Source]


let def_true: Bool val

[Source]


let define: (NodeWith[Identifier val] val | None val)

[Source]


Public Functions

name

[Source]

fun box name()
: String val

Returns


clone

[Source]

fun val clone(
  updates: HashMap[Node val, Node val, HashIs[Node val] val] val)
: NodeData val

Parameters

Returns


add_json_props

[Source]

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

Returns