Class: LooseVarsParser
Defined in: Parsers/LooseVars.ts:17
The loose variable tag represents the transformer for any seeded or defined variables.
This variable implementation is considered loose since it checks whether the variable is
valid during parsing, rather than willAccept.
Example
Implements
Constructors
new LooseVarsParser()
new LooseVarsParser(): LooseVarsParser
Returns
Methods
parse()
parse(ctx): null | string
Defined in: Parsers/LooseVars.ts:22
Parses the given tag.
Parameters
ctx
The context of the tag.
Returns
null | string
Implementation of
willAccept()
willAccept(): boolean
Defined in: Parsers/LooseVars.ts:18
Whether the parser can handle the given tag.
Returns
boolean