Skip to content

LiteralChar

[Source]

A character literal. - kind: either a single character 'x' or a standard escaped character, or a Unicode escaped character.

class val LiteralChar is
  NodeDataWithValue[LiteralChar val, U32 val] val

Implements


Constructors

create

[Source]

new val create(
  kind': (CharLiteral val | CharEscaped val | CharUnicode val),
  value': U32 val)
: LiteralChar val^

Parameters

Returns


Public fields

let kind: (CharLiteral val | CharEscaped val | CharUnicode 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


value

[Source]

fun box value()
: U32 val

Returns