Sha256: 9d5fbae10c7a03c7dcc106628ae9f8e970601487f7f7c82f6543c5b2f7777003

Contents?: true

Size: 1.03 KB

Versions: 8

Compression:

Stored size: 1.03 KB

Contents

module Tnql
  grammar BatchTypes
    rule batch_type
      (nogca / nbocap / lucada / uhaem / ccm /
      cosd_mdt / cosd_xml / usom / upath / upas /
      ucwt / ucd / uncd / uextreg) <Nodes::BatchTypeNode>
    end

    rule nogca
      'nogca'
    end

    rule nbocap
      'nbocap'
    end

    rule lucada
      'lucada'
    end

    rule uhaem
      'uhaem'
    end

    rule ccm
      'ccm'
    end

    rule cosd_mdt
      'cosd_mdt'
    end

    rule cosd_xml
      'cosd_xml'
    end

    rule usom
      ('somerset' / 'usom' / 'som' / 'scr') <Nodes::USomNode>
    end

    rule upath
      ('upath' / 'path') <Nodes::UPathNode>
    end

    rule upas
      ('upas' / 'pas' / 'pbr') <Nodes::UPasNode>
    end

    rule ucwt
      (('cancer' space 'wait') / 'uwct' / 'cwt') <Nodes::UCwtNode>
    end

    rule ucd
      (('death' space 'card') / 'death' / 'ucd') <Nodes::UCdNode>
    end

    rule uncd
      ('uncd' / 'ncd') <Nodes::UNcdNode>
    end

    rule uextreg
      ('extraregional' / 'uextreg') <Nodes::UExtregNode>
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

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