Module ast

Source
Expand description

Cucumber Expressions AST.

See details in the grammar spec.

Structs§

Alternation
alternation defined in the grammar spec, allowing to match one of SingleAlternations.
Expression
Top-level expression defined in the grammar spec.
Optional
optional defined in the grammar spec, allowing to match an optional Input.
Parameter
parameter defined in the grammar spec, allowing to match some special Input described by a Parameter name.

Enums§

Alternative
alternative defined in the grammar spec.
SingleExpression
single-expression defined in the grammar spec, representing a single entry of an Expression.

Type Aliases§

SingleAlternation
single-alternation defined in the grammar spec, representing a building block of an Alternation.
Spanned
str along with its location information in the original input.