]> git.immae.eu Git - github/fretlink/edi-parser.git/blame - specification/src/Text/Edifact/D96A/Composites/C506.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D96A / Composites / C506.hs
CommitLineData
a9d77a20
FM
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D96A.Composites.C506
7 ( -- * Definition
8 compositeC506
9 -- * Dependencies
10 , simple1153
11 , simple1154
12 , simple1156
13 , simple4000
14 ) where
15
16import Text.Edifact.D96A.Simples (simple1153, simple1154, simple1156,
17 simple4000)
18
19import Text.Edifact.Parsing
20import Text.Edifact.Types (Value)
21
22-- | Derived from this specification:
23--
24-- > C506 REFERENCE
25-- >
26-- > Desc: Identification of a reference.
27-- >
28-- > 010 1153 Reference qualifier M an..3
29-- > 020 1154 Reference number C an..35
30-- > 030 1156 Line number C an..6
31-- > 040 4000 Reference version number C an..35
32--
33-- Dependencies: 'simple1153', 'simple1154', 'simple1156', 'simple4000'.
34compositeC506 :: Parser Value
35compositeC506 =
36 composite "C506"
37 [ "010" .@ mandatory simple1153
38 , "020" .@ optional simple1154
39 , "030" .@ optional simple1156
40 , "040" .@ optional simple4000
41 ]