TypedefPrimitive¶
A primitive type declaration.
Implements¶
- NodeData val
Constructors¶
create¶
new val create(
identifier': NodeWith[Identifier val] val,
type_params': (NodeWith[TypeParams val] val | None val),
constraint': (NodeWith[(TypeArrow val | TypeAtom val | TypeTuple val | TypeInfix val | TypeNominal val | TypeLambda val)] val | None val),
members': (NodeWith[TypedefMembers val] val | None val))
: TypedefPrimitive val^
Parameters¶
- identifier': NodeWith[Identifier val] val
- type_params': (NodeWith[TypeParams val] val | None val)
- constraint': (NodeWith[(TypeArrow val | TypeAtom val | TypeTuple val | TypeInfix val | TypeNominal val | TypeLambda val)] val | None val)
- members': (NodeWith[TypedefMembers val] val | None val)
Returns¶
- TypedefPrimitive val^
Public fields¶
let identifier: NodeWith[Identifier val] val¶
let type_params: (NodeWith[TypeParams val] val | None val)¶
let constraint: (NodeWith[(TypeArrow val | TypeAtom val | TypeTuple val | TypeInfix val | TypeNominal val | TypeLambda val)] val | None val)¶
let members: (NodeWith[TypedefMembers 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