API Reference MyExGherkin v0.1.2
Modules
Library to parse Gherkin files. Kindly consult README for more details
Two types of tokens: SingleValueToken: {token, meta, value} MultipleValueToken: {token, meta, constituents}
Based on: https://github.com/cucumber/cucumber/blob/f15a9ec416a54da806f9f6aad9c393b9a753cbf0/gherkin/ruby/lib/gherkin/ast_builder.rb#L131-L137 location content delimiter media_type
Based on https://github.com/cucumber/cucumber/blob/f15a9ec416a54da806f9f6aad9c393b9a753cbf0/gherkin/ruby/lib/gherkin/ast_builder.rb#L182-L191 name description language location keyword tags children
Based on https://github.com/cucumber/cucumber/blob/f15a9ec416a54da806f9f6aad9c393b9a753cbf0/gherkin/ruby/lib/gherkin/ast_builder.rb#L239-L245 location keyword name description children
The main purpose of this module is to facilitate full international language support by normalizing each entry under 'gherkin-languages.json' to the following format
Keeps track of token position within file
A token combines following three identifiers
Mix Tasks
Parse feature file to .ast.ndjson format
Parse gherkin-languages.json