TagExpressionEvaluator class

Evaluates tag expression lexicon such as @smoke and @perf @smoke and not @perf not @smoke and not @perf not (@smoke or @perf) @smoke and (@perf or @android) see https://cucumber.io/docs/cucumber/api/?sbsearch=tag%20expressions#tags

We can tackle these infix expressions with good old reverse polish notation which incidentally was one of the first algorithms I coded when I got my first programming job.

Constructors

TagExpressionEvaluator()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

evaluate(String tagExpression, List<String> tags) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

closingBracket → const String
openingBracket → const String