Initializers
| Name | Type | Description |
|---|
Methods
| Name | Description |
|---|---|
addEscape | No description. |
addIntrinsic | Adds an intrinsic fragment. |
addLiteral | Adds a literal fragment. |
addToken | Adds a token fragment. |
concat | No description. |
join | Combine the string fragments using the given joiner. |
mapTokens | Apply a transformation function to all tokens in the string. |
addEscape
kindRequired
- Type: string
addIntrinsic
valueRequired
- Type: any
addLiteral
litRequired
- Type: any
addToken
tokenRequired
- Type: IResolvable
concat
otherRequired
- Type: TokenizedStringFragments
join
concatRequired
- Type: IFragmentConcatenator
mapTokens
contextRequired
- Type: IResolveContext
Properties
| Name | Type | Description |
|---|---|---|
escapes | IResolvable[] | Return all escape fragments from this string. |
firstValue | any | Returns the first value. |
intrinsic | IResolvable[] | Return all intrinsic fragments from this string. |
length | number | Returns the number of fragments. |
literals | IResolvable[] | Return all literals from this string. |
tokens | IResolvable[] | Return all Tokens from this string. |
firstToken | IResolvable | Returns the first token. |
escapesRequired
- Type: IResolvable[]
firstValueRequired
- Type: any
intrinsicRequired
- Type: IResolvable[]
lengthRequired
- Type: number
literalsRequired
- Type: IResolvable[]
tokensRequired
- Type: IResolvable[]
firstTokenOptional
- Type: IResolvable