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 | Description |
---|---|
ExpressionFactory(ParameterTypeRegistry parameterTypeRegistry) |
Modifier and Type | Method | Description |
---|---|---|
Expression |
createExpression(String expressionString,
List<Type> types) |
public ExpressionFactory(ParameterTypeRegistry parameterTypeRegistry)
public Expression createExpression(String expressionString, List<Type> types)
Copyright © 2018. All rights reserved.