Skip to main content

Module: @sapphire/lexure

Namespaces

Enumerations

Classes

Interfaces

Type Aliases

Parameter

Ƭ Parameter: QuotedParameter | WordParameter

Defined in

lib/lexer/streams/ParameterStream.ts:28


Token

Ƭ Token: WordToken | QuotedToken | SeparatorToken

Defined in

lib/lexer/streams/raw/TokenStream.ts:64

Functions

join

join(parameters): string

Joins the parameters by their leading value, using the value property.

Parameters

NameTypeDescription
parametersreadonly Parameter[]The parameters to join.

Returns

string

The result of joining the parameters.

Seealso

joinRaw for the version using raw instead of value.

Defined in

lib/util/util.ts:9


joinRaw

joinRaw(parameters): string

Joins the parameters by their leading value, using the raw property.

Parameters

NameTypeDescription
parametersreadonly Parameter[]The parameters to join.

Returns

string

The result of joining the parameters.

Seealso

join for the version using value instead of raw.

Defined in

lib/util/util.ts:28