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: interface{}
AddLiteral
litRequired
- Type: interface{}
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 | interface{} | Returns the first value. |
Intrinsic | *[]IResolvable | Return all intrinsic fragments from this string. |
Length | *f64 | 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: interface{}
IntrinsicRequired
- Type: *[]IResolvable
LengthRequired
- Type: *f64
LiteralsRequired
- Type: *[]IResolvable
TokensRequired
- Type: *[]IResolvable
FirstTokenOptional
- Type: IResolvable