pub type Square<'source, T> = Surrounded<'source, OpenSquare<'source>, T>;Expand description
Type alias for a value surrounded by square brackets.
Aliased Type§
pub struct Square<'source, T> {
pub open: OpenSquare<'source>,
pub value: T,
pub close: CloseSquare<'source>,
/* private fields */
}Fields§
§open: OpenSquare<'source>The opening token that was parsed.
value: TThe value.
close: CloseSquare<'source>The closing token that was parsed.