CucumberExpression class final
A compiled Cucumber Expression. It deliberately keeps the feature text plain: placeholders are automation glue, not feature metadata.
Constructors
- CucumberExpression(String expression, StepParameterTypeRegistry registry)
-
Compiles
expressionusingregistry.factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
parameterTypes
→ List<
StepParameterType< Object?> > -
Parameter types used by the expression.
final
- pattern → RegExp
-
Compiled regular expression.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → String
-
Original expression text.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
transform(
RegExpMatch match) → Future< List< Object?> > -
Transforms
matchcaptures into typed parameter values.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited