TokenizedStringFragments
Fragments of a concatenated string containing stringified Tokens.
Initializers
using AlibabaCloud.SDK.ROS.CDK.Core;
new TokenizedStringFragments();
| Name | Type | Description |
|---|---|---|
Methods
| Name | Description |
|---|---|
AddIntrinsic | No description. |
AddLiteral | No description. |
AddToken | No description. |
Join | Combine the string fragments using the given joiner. |
MapTokens | Apply a transformation function to all tokens in the string. |
AddIntrinsic
private void AddIntrinsic(object Value)
- Type: object
AddLiteral
private void AddLiteral(object Lit)
- Type: object
AddToken
private void AddToken(IResolvable Token)
- Type: IResolvable
Join
private object Join(IFragmentConcatenator Concat)
Combine the string fragments using the given joiner.
If there are any
- Type: IFragmentConcatenator
MapTokens
private TokenizedStringFragments MapTokens(ITokenMapper Mapper)
Apply a transformation function to all tokens in the string.
- Type: ITokenMapper
Properties
| Name | Type | Description |
|---|---|---|
FirstValue | object | No description. |
Length | double | No description. |
Tokens | IResolvable[] | Return all Tokens from this string. |
FirstToken | IResolvable | No description. |
FirstValueRequired
public object FirstValue { get; }
- Type: object
LengthRequired
public double Length { get; }
- Type: double
TokensRequired
public IResolvable[] Tokens { get; }
- Type: IResolvable[]
Return all Tokens from this string.
FirstTokenOptional
public IResolvable FirstToken { get; }
- Type: IResolvable