Skip to main content
Fragments of a concatenated string containing stringified Tokens.

Initializers


Methods


AddEscape

KindRequired

  • Type: string

AddIntrinsic

Adds an intrinsic fragment.

ValueRequired

  • Type: object
the intrinsic value to add.

AddLiteral

Adds a literal fragment.

LitRequired

  • Type: object
the literal to add.

AddToken

Adds a token fragment.

TokenRequired

the token to add.

Concat

OtherRequired


Join

Combine the string fragments using the given joiner. If there are any

ConcatRequired


MapTokens

Apply a transformation function to all tokens in the string.

ContextRequired


Properties


EscapesRequired

Return all escape fragments from this string.

FirstValueRequired

  • Type: object
Returns the first value.

IntrinsicRequired

Return all intrinsic fragments from this string.

LengthRequired

  • Type: double
Returns the number of fragments.

LiteralsRequired

Return all literals from this string.

TokensRequired

Return all Tokens from this string.

FirstTokenOptional

Returns the first token.