Constructs URI-encoded text lexer.
Emitter function called each time a token is found.
Whether to emit a raw string rather quoted string. false
by default.
Static
plusCreates URI-encoded text lexer that decodes plus sign ("+" (U+002B)
) as space padding.
This is needed e.g. when tokenizing URI query parameters.
Emitter function called each time a token is found.
Optional
raw: booleanWhether to emit a raw string rather quoted string. false
by default.
Optional
New URI-encoded text lexer instance.
Generated using TypeDoc
URI-encoded text lexer.
Decodes URI-encoded text and emits it as string tokens.