Sha256: 253024adcc8e7f8cebf55ab032bd0ea91b53566901adf3e7079f90e433618f47

Contents?: true

Size: 452 Bytes

Versions: 8

Compression:

Stored size: 452 Bytes

Contents

module Tnql
  grammar VitalStatus
    rule dead_or_alive
      space vital_status:('dead' / 'alive') word_break <Nodes::DeadOrAliveNode>
    end

    rule death_certificate
      have_keyword space modifier:('no' / 'a') death_certificate_keywords <Nodes::DeathCertificateNode>
    end

    rule death_certificate_keywords
      space 'death' space 'certificate' word_break
    end

    rule have_keyword
      space 'have' word_break
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
tnql-1.1.2 lib/tnql/grammars/vital_status.treetop
tnql-1.1.1 lib/tnql/grammars/vital_status.treetop
tnql-1.1.0 lib/tnql/grammars/vital_status.treetop
tnql-1.0.4 lib/tnql/grammars/vital_status.treetop
tnql-1.0.3 lib/tnql/grammars/vital_status.treetop
tnql-1.0.2 lib/tnql/grammars/vital_status.treetop
tnql-1.0.1 lib/tnql/grammars/vital_status.treetop
tnql-1.0.0 lib/tnql/grammars/vital_status.treetop