@Generated(value="jsii-pacmak/0.20.6 (build 17f281e)", date="2019-11-19T17:18:01.101Z") @Stability(value=Stable) public class TokenizedStringFragments extends software.amazon.jsii.JsiiObject
Modifier | Constructor and Description |
---|---|
|
TokenizedStringFragments() |
protected |
TokenizedStringFragments(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
TokenizedStringFragments(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
void |
addIntrinsic(Object value) |
void |
addLiteral(Object lit) |
void |
addToken(IResolvable token) |
IResolvable |
getFirstToken() |
Object |
getFirstValue() |
Number |
getLength() |
List<IResolvable> |
getTokens()
Return all Tokens from this string.
|
Object |
join(IFragmentConcatenator concat)
Combine the string fragments using the given joiner.
|
TokenizedStringFragments |
mapTokens(ITokenMapper mapper)
Apply a transformation function to all tokens in the string.
|
jsiiAsyncCall, jsiiCall, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticGet, jsiiStaticSet
protected TokenizedStringFragments(software.amazon.jsii.JsiiObjectRef objRef)
protected TokenizedStringFragments(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public TokenizedStringFragments()
@Stability(value=Stable) public void addIntrinsic(Object value)
value
- This parameter is required.@Stability(value=Stable) public void addLiteral(Object lit)
lit
- This parameter is required.@Stability(value=Stable) public void addToken(IResolvable token)
token
- This parameter is required.@Stability(value=Stable) public Object join(IFragmentConcatenator concat)
concat
- This parameter is required.@Stability(value=Stable) public TokenizedStringFragments mapTokens(ITokenMapper mapper)
mapper
- This parameter is required.@Stability(value=Stable) public Object getFirstValue()
@Stability(value=Stable) public Number getLength()
@Stability(value=Stable) public List<IResolvable> getTokens()
@Stability(value=Stable) public IResolvable getFirstToken()
Copyright © 2019. All rights reserved.