Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | s_expressions-templates-generic_integers: new command for input of several images, leveraging affix syntax |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
076d8be66ec10638a17e30c2aa3d3816 |
| User & Date: | nat 2014-10-01 17:51:20.694 |
Context
|
2014-10-02
| ||
| 21:26 | s_expressions-templates-tests-integers: add tests for image ranges check-in: dc623ed4d6 user: nat tags: trunk | |
|
2014-10-01
| ||
| 17:51 | s_expressions-templates-generic_integers: new command for input of several images, leveraging affix syntax check-in: 076d8be66e user: nat tags: trunk | |
|
2014-09-30
| ||
| 18:50 | s_expressions-templates-tests-integers: add tests for prefix and suffix width check-in: e612c1948b user: nat tags: trunk | |
Changes
Changes to generated/natools-static_maps-s_expressions-templates-integers-mc.adb.
1 2 3 4 5 6 7 8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | - + - + - - - - + + + + - - + + - + |
with Interfaces; use Interfaces;
package body Natools.Static_Maps.S_Expressions.Templates.Integers.MC is
P : constant array (0 .. 4) of Natural :=
(1, 2, 5, 6, 9);
T1 : constant array (0 .. 4) of Unsigned_8 :=
|
Changes to generated/natools-static_maps-s_expressions-templates-integers-t.adb.
| 1 2 3 4 5 6 7 8 | - + |
|
| ︙ |
Changes to generated/natools-static_maps-s_expressions-templates-integers-t.ads.
| 1 2 3 4 5 6 | - + |
|
Changes to generated/natools-static_maps-s_expressions-templates-integers.adb.
| 1 2 3 4 5 6 7 8 | - + |
|
| ︙ |
Changes to generated/natools-static_maps-s_expressions-templates-integers.ads.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | - + + |
|
| ︙ | |||
33 34 35 36 37 38 39 | 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + | Map_1_Key_1 : aliased constant String := "align-center"; Map_1_Key_2 : aliased constant String := "centered"; Map_1_Key_3 : aliased constant String := "align-left"; Map_1_Key_4 : aliased constant String := "left-align"; Map_1_Key_5 : aliased constant String := "align-right"; Map_1_Key_6 : aliased constant String := "right-align"; Map_1_Key_7 : aliased constant String := "base"; |
| ︙ | |||
73 74 75 76 77 78 79 | 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 | - - + + + + |
Map_1_Key_16'Access,
Map_1_Key_17'Access,
Map_1_Key_18'Access,
Map_1_Key_19'Access,
Map_1_Key_20'Access,
Map_1_Key_21'Access,
Map_1_Key_22'Access,
|
| ︙ |
Changes to src/natools-s_expressions-templates-generic_integers-maps.sx.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | + |
(Natools.Static_Maps.S_Expressions.Templates.Integers
pure
(test-function T)
(extra-decl "\
type Main_Command is
(Error,
Align,
Align_Center,
Align_Left,
Align_Right,
Base,
Image_Range,
Images,
Padding,
Padding_Left,
Padding_Right,
Prefix,
Sign,
Suffix,
|
| ︙ | |||
28 29 30 31 32 33 34 35 36 37 38 39 40 41 | 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | + |
(not-found Error)
(nodes
(Align align)
(Align_Center align-center centered)
(Align_Left align-left left-align)
(Align_Right align-right right-align)
(Base base)
(Image_Range image-range)
(Images image images)
(Padding padding)
(Padding_Left padding-left left-padding)
(Padding_Right padding-right right-padding)
(Prefix prefix)
(Sign sign signs)
(Suffix suffix)
|
| ︙ |
Changes to src/natools-s_expressions-templates-generic_integers.adb.
| ︙ | |||
130 131 132 133 134 135 136 137 138 139 140 141 142 143 | 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 | + + + |
when Commands.Align_Right =>
State.Set_Align (Right_Aligned);
when Commands.Base =>
State.Set_Symbols (Arguments);
when Commands.Image_Range =>
Parse (State.Images, Arguments);
when Commands.Images =>
Image_Interpreter (Arguments, State, Meaningless_Value);
when Commands.Padding =>
case Arguments.Current_Event is
when Events.Add_Atom =>
State.Left_Padding := Create (Arguments.Current_Atom);
|
| ︙ |