DefaultTokenResolver
- Implements: ITokenResolver
Default resolver implementation.
Initializers
using AlibabaCloud.SDK.ROS.CDK.Core;
new DefaultTokenResolver(IFragmentConcatenator Concat);
Name | Type | Description |
---|---|---|
Concat |
IFragmentConcatenator |
No description. |
Concat
Required
- Type: IFragmentConcatenator
Methods
Name | Description |
---|---|
ResolveList |
Resolve a tokenized list. |
ResolveString |
Resolve string fragments to Tokens. |
ResolveToken |
Default Token resolution. |
ResolveList
private object ResolveList(string[] Xs, IResolveContext Context)
Resolve a tokenized list.
- Type: string[]
- Type: IResolveContext
ResolveString
private object ResolveString(TokenizedStringFragments Fragments, IResolveContext Context)
Resolve string fragments to Tokens.
- Type: TokenizedStringFragments
- Type: IResolveContext
ResolveToken
private object ResolveToken(IResolvable T, IResolveContext Context, IPostProcessor PostProcessor)
Default Token resolution.
Resolve the Token, recurse into whatever it returns, then finally post-process it.
- Type: IResolvable
- Type: IResolveContext
- Type: IPostProcessor