Liking cljdoc? Tell your friends :D

tegere.parser

Defines the function parse, which takes a Gherkin feature string and returns a maybe ::feature map. Note that Gherkin Scenario Outlines are converted to seqs of ::scenario maps; that is, the scenario outlines are expanded using their examples tables.

Defines the function `parse`, which takes a Gherkin feature string and returns
a maybe `::feature` map. Note that Gherkin `Scenario Outlines` are converted to
seqs of `::scenario` maps; that is, the scenario outlines are expanded using
their examples tables.
raw docstring

parseclj

(parse feature-string)

Convert a string of Gherkin into a maybe ::feature map. First parse the string into an Instaparse tree (a vector), then processes that tree to produce the ::feature map. All Scenario Outlines and Scenarios are normalized to ::scenariomaps and placed, in their original order, into the ::scenarios collection.

Convert a string of Gherkin into a maybe ``::feature`` map. First parse the
string into an Instaparse tree (a vector), then processes that tree to produce
the ``::feature`` map. All Scenario Outlines and Scenarios are normalized to
``::scenario``maps and placed, in their original order, into the
``::scenarios`` collection.
sourceraw docstring

parse-old-style-tag-expressionclj

Given an old-style tag expression like 'cat,~@dog,cow,~bunny', parse it into a disjunction like (or cat (not dog) cow (not bunny)).

Given an old-style tag expression like 'cat,~@dog,cow,~bunny', parse it into a
disjunction like ``(or cat (not dog) cow (not bunny))``.
sourceraw docstring

parse-tag-expressionclj

Given a tag expression like '@wip and not @slow' parse it into an unambiguous :tegere.query/query-tree list like (and wip (not slow)).

Given a tag expression like '@wip and not @slow' parse it into an unambiguous
``:tegere.query/query-tree`` list like ``(and wip (not slow))``.
sourceraw docstring

parse-tag-expression-with-fallbackclj

(parse-tag-expression-with-fallback te)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close