Interface: ITransformer
Transformers are used to transform a value based on the tag at runtime.
Implemented by
Properties
transform
• transform: (tag
: Lexer
) => null
| string
Transforms the given tag.
Type declaration
▸ (tag
): null
| string
Parameters
Name | Type | Description |
---|---|---|
tag | Lexer | The tag that triggered the transformer. |
Returns
null
| string
Defined in
lib/interfaces/index.ts:13