Skip to main content

Module parser

Module parser 

Source
Expand description

Token stream renderer.

Converts a sequence of Token values produced by the lexer into a final ANSI-escaped string ready for terminal output. This module is the last stage in the farben pipeline: tokenize with crate::lexer::tokenize, then render with render.

Functionsยง

render
Renders a token stream into a raw ANSI-escaped string.