-
-
Notifications
You must be signed in to change notification settings - Fork 54
[java] provide a public method to convert a cucumber expression into parsed segments #51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Have you tried converting the Cucumber Expression to a |
I believe he is interested in the AST for the purpose of syntax highlighting in Eclipse. |
I cam again across this issue and wonder if it would be possible to make the AST simply a public type? it could even live in an own package and mark it experimental! I have the same issue now with |
For this I can understand how it would help with syntax highlighting: CucumberExpressionParser parser = new CucumberExpressionParser();
Node ast = parser.parse(expression); For |
Btw, instead of |
For regularExpressions it is already possible to parse them into groups with a public method, a similar approach should be possible for the CucumberExpressionsParser as well (maybe the Groups Aproach could be reused here...)
The text was updated successfully, but these errors were encountered: