Enum regex_syntax::ast::visitor::ClassFrame[][src]

enum ClassFrame<'a> {
    Union {
        head: &'a ClassSetItem,
        tail: &'a [ClassSetItem],
    },
    Binary {
        op: &'a ClassSetBinaryOp,
    },
    BinaryLHS {
        op: &'a ClassSetBinaryOp,
        lhs: &'a ClassSet,
        rhs: &'a ClassSet,
    },
    BinaryRHS {
        op: &'a ClassSetBinaryOp,
        rhs: &'a ClassSet,
    },
}

Represents a single stack frame while performing structural induction over a character class.

Variants

The stack frame used while visiting every child node of a union of character class items.

Fields of Union

The child node we are currently visiting.

The remaining child nodes to visit (which may be empty).

The stack frame used while a binary class operation.

Fields of Binary

A stack frame allocated just before descending into a binary operator's left hand child node.

Fields of BinaryLHS

A stack frame allocated just before descending into a binary operator's right hand child node.

Fields of BinaryRHS

Methods

impl<'a> ClassFrame<'a>
[src]

Perform the next inductive step on this frame and return the next child class node to visit.

Trait Implementations

impl<'a> Debug for ClassFrame<'a>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> Send for ClassFrame<'a>

impl<'a> Sync for ClassFrame<'a>