[][src]Crate ellidri_tokens

Parse IRC like a boss.

This library provides helpers to tokenize and build IRC messages, while keeping the number of allocations minimal.

Modules

mode

Mode parsing and validation

rpl

The list of IRC replies.

Structs

Buffer

Helper to build IRC messages.

Message

An IRC message.

MessageBuffer

Helper to build an IRC message.

Tag

A message tag.

TagBuffer

Helper to build the tags of an IRC message.

Enums

Command

The list of known commands.

Constants

MESSAGE_LENGTH

The recommended length of a message.

PARAMS_LENGTH

The number of elements in Message::params.

Functions

assert_msg

Assert all data of a message.

tag_escape

Match a tag escape with its meaningful character.

tags

An iterator over the tags of a string.