Skip to content

TypeNominal

[Source]

A (possibly qualified) named type, with optional type parameters.

class val TypeNominal is
  NodeData val

Implements


Constructors

create

[Source]

new val create(
  lhs': (NodeWith[Identifier val] val | None val),
  rhs': NodeWith[Identifier val] val,
  params': (NodeWith[TypeParams val] val | None val),
  cap': (NodeWith[Keyword val] val | None val),
  eph': (NodeWith[Token val] val | None val))
: TypeNominal val^

Parameters

Returns


Public fields

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

[Source]


let rhs: NodeWith[Identifier val] val

[Source]


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

[Source]


let cap: (NodeWith[Keyword val] val | None val)

[Source]


let eph: (NodeWith[Token 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