Skip to content

TuplePattern

[Source]

A matching pattern for (possible) tuples.

class val TuplePattern is
  NodeData val

Implements


Constructors

create

[Source]

new val create(
  elements': ReadSeq[(NodeWith[Identifier val] val | NodeWith[TuplePattern val] val)] val)
: TuplePattern val^

Parameters

Returns


Public fields

let elements: ReadSeq[(NodeWith[Identifier val] val | NodeWith[TuplePattern val] val)] 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