[][src]Crate join_impl

Implementation of the join! macro.

Re-exports

pub use crate::join::*;

Modules

expr_chain

Contains Chain trait and implementation, expressions, groups and utils to work with all of them.

handler

Handler defines handler function of 3 possible types: map, and_then and then. map and and_then will be evaluted in case of all successful results and then will be evaluated in any case, which allows user to define its own handlers for every error.

join

Defines Join trait and JoinGenerator type to generate output of the join! macro based on input and given config.

Macros

define_determiner_with_no_group
define_group_determiner

Creates GroupDeterminer with given (ActionGroup => tokens; length; Check parsed tokens? bool) Example:

define_instant_and_deferred_determiners

Creates instant and deferred GroupDeterminer's for given ActionGroups with provided tokens. Deferred are prefixed by deferred_prefix. For example, if deferred_prefix is ~, then -> is instant, ~-> is deferred.

define_tokens_checker

Creates function which checks if ParseStream next values are provided tokens.