Sha256: 2f0b58a3067e662be93f377bf364f56bf54d676671b602ab6ccc0d2518995cb4

Contents?: true

Size: 1.29 KB

Versions: 10

Compression:

Stored size: 1.29 KB

Contents

expression: I select the {int}st/nd/rd/th
expected: |-
  {"type": "EXPRESSION_NODE", "start": 0, "end": 29, "nodes": [
    {"type": "TEXT_NODE", "start": 0, "end": 1, "token": "I"},
    {"type": "TEXT_NODE", "start": 1, "end": 2, "token": " "},
    {"type": "TEXT_NODE", "start": 2, "end": 8, "token": "select"},
    {"type": "TEXT_NODE", "start": 8, "end": 9, "token": " "},
    {"type": "TEXT_NODE", "start": 9, "end": 12, "token": "the"},
    {"type": "TEXT_NODE", "start": 12, "end": 13, "token": " "},
    {"type": "PARAMETER_NODE", "start": 13, "end": 18, "nodes": [
      {"type": "TEXT_NODE", "start": 14, "end": 17, "token": "int"}
    ]},
    {"type": "ALTERNATION_NODE", "start": 18, "end": 29, "nodes": [
      {"type": "ALTERNATIVE_NODE", "start": 18, "end": 20, "nodes": [
        {"type": "TEXT_NODE", "start": 18, "end": 20, "token": "st"}
      ]},
      {"type": "ALTERNATIVE_NODE", "start": 21, "end": 23, "nodes": [
        {"type": "TEXT_NODE", "start": 21, "end": 23, "token": "nd"}
      ]},
      {"type": "ALTERNATIVE_NODE", "start": 24, "end": 26, "nodes": [
        {"type": "TEXT_NODE", "start": 24, "end": 26, "token": "rd"}
      ]},
      {"type": "ALTERNATIVE_NODE", "start": 27, "end": 29, "nodes": [
        {"type": "TEXT_NODE", "start": 27, "end": 29, "token": "th"}
      ]}
    ]}
  ]}

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
cucumber-cucumber-expressions-13.0.1 testdata/ast/alternation-with-parameter.yaml
cucumber-cucumber-expressions-12.1.3 testdata/ast/alternation-with-parameter.yaml
cucumber-cucumber-expressions-12.1.2 testdata/ast/alternation-with-parameter.yaml
cucumber-cucumber-expressions-12.1.1 testdata/ast/alternation-with-parameter.yaml
cucumber-cucumber-expressions-12.1.0 testdata/ast/alternation-with-parameter.yaml
cucumber-cucumber-expressions-12.0.1 testdata/ast/alternation-with-parameter.yaml
cucumber-cucumber-expressions-12.0.0 testdata/ast/alternation-with-parameter.yaml
cucumber-cucumber-expressions-11.0.2 testdata/ast/alternation-with-parameter.yaml
cucumber-cucumber-expressions-11.0.1 testdata/ast/alternation-with-parameter.yaml
cucumber-cucumber-expressions-11.0.0 testdata/ast/alternation-with-parameter.yaml