/*!

This crate provides a parser of ANSI escape sequences inside text.
The parser separate escape sequences from text, and calls a visitor for each
element (escape code, text piece, foreground color change, reset, bold
set/unset, etc).

# Overview

The struct [`ANSIParser`] implements the parser that calls the provided visitor
that must implement the trait [`ANSIVisitor`].

An example is presented inside [`ANSIParser`].

# Provided implementation

The comes with an implementation of a converter to LaTeX through the
[`ANSI2TeX`] struct.
*/

mod ansi2tex;
mod ansi_color;
mod ansi_err;
mod ansi_parser;
mod ansi_visitor;

pub use ansi2tex::ANSI2TeX;
pub use ansi_color::ANSIColor;
pub use ansi_err::ANSIErr;
pub use ansi_parser::ANSIParser;
pub use ansi_visitor::{ANSIVisitor, Blink};
