union_impl 0.1.3

Implementation of the `union!` macro.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//!
//! `Unit` module describes one unit of expression parsing which contains current `Expr`
//! and optional next `ActionGroup`
//!

use syn::Expr;

use super::super::group::ActionGroup;

pub struct Unit {
    pub expr: Expr,
    pub next_group_type: Option<ActionGroup>,
}

pub type UnitResult = syn::Result<Unit>;