|
|
1.1 ! root 1: ENCODER build ! 2: ! 3: Example ::= ! 4: SEQUENCE { ! 5: -- select maybe element if present ! 6: Maybe ! 7: OPTIONAL <<maybe == PRESENT>>, ! 8: ! 9: SEQUENCE OF ! 10: -- build elements ! 11: %{ construct_elements(); %} ! 12: -- now produce them ! 13: <<init_elements(); more_elements();>> ! 14: BizarreEvents, ! 15: ! 16: CHOICE ! 17: %{ choose = leap_year() ? 2 : 1; %} ! 18: <<choose>> ! 19: { ! 20: [0] MyProposal, ! 21: [1] YourProposal ! 22: } ! 23: ! 24: INTEGER ! 25: [[i defvalue]] ! 26: DEFAULT 4 <<defvalue != 4>> ! 27: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.