Module interpolate

Source

Structs§

Interpolation
TokenWithId
Token with information about its position in source.

Enums§

Token
Interpolation token. Different tokens are handled differently:

Functions§

handle_interpolate
Find any occurrences of ${} in source string and replace it with TOKEN_ID. Returns: Interpolation object with info about all tokens that was replaced And source string with replaced tokens.