public class ExpressionFactory extends Object
CucumberExpression or RegularExpression from a String
using heuristics. This is particularly useful for languages that don't have a
literal syntax for regular expressions such as Ruby or JavaScript - with Java
a regular expression has to be represented as a String.| Constructor and Description |
|---|
ExpressionFactory(ParameterTypeRegistry parameterTypeRegistry) |
| Modifier and Type | Method and Description |
|---|---|
Expression |
createExpression(String expressionString,
List<Type> types) |
public ExpressionFactory(ParameterTypeRegistry parameterTypeRegistry)
public Expression createExpression(String expressionString, List<Type> types)
Copyright © 2017. All Rights Reserved.