tecscde 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (237) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +12 -0
  3. data/.rubocop.yml +125 -0
  4. data/.rubocop_todo.yml +188 -0
  5. data/CHANGELOG.md +3 -0
  6. data/Gemfile +6 -0
  7. data/LICENSE +46 -0
  8. data/LICENSE.ja +32 -0
  9. data/README.ja.md +200 -0
  10. data/README.md +35 -0
  11. data/Rakefile +27 -0
  12. data/bin/tecscde +64 -0
  13. data/glade/tecscde-cell-property.glade +205 -0
  14. data/glade/tecscde-celltype-property.glade +172 -0
  15. data/glade/tecscde-celltype.glade +414 -0
  16. data/glade/tecscde-export.glade +161 -0
  17. data/glade/test-cell-plugin.rb +51 -0
  18. data/glade/test-cell-property.rb +35 -0
  19. data/glade/test-export.rb +35 -0
  20. data/glade/test-palette.rb +26 -0
  21. data/lib/tcflow.rb +148 -0
  22. data/lib/tecscde.rb +65 -0
  23. data/lib/tecscde/NewCell.png +0 -0
  24. data/lib/tecscde/SelectArrow.png +0 -0
  25. data/lib/tecscde/attr_tree_view.rb +253 -0
  26. data/lib/tecscde/cell_plugin_dialog.glade +294 -0
  27. data/lib/tecscde/cell_plugin_dialog.rb +89 -0
  28. data/lib/tecscde/celltype_tree_view.rb +105 -0
  29. data/lib/tecscde/change_set_control.rb +35 -0
  30. data/lib/tecscde/change_set_control/change_set.rb +32 -0
  31. data/lib/tecscde/change_set_control/change_set_manager.rb +62 -0
  32. data/lib/tecscde/command.rb +35 -0
  33. data/lib/tecscde/control.rb +491 -0
  34. data/lib/tecscde/highlighted_objects.rb +180 -0
  35. data/lib/tecscde/logger.rb +74 -0
  36. data/lib/tecscde/main_view_and_model.rb +80 -0
  37. data/lib/tecscde/palette.glade +553 -0
  38. data/lib/tecscde/palette.rb +174 -0
  39. data/lib/tecscde/preferences.glade +117 -0
  40. data/lib/tecscde/preferences.rb +44 -0
  41. data/lib/tecscde/tecs_model.rb +1137 -0
  42. data/lib/tecscde/tecs_model/hbar.rb +68 -0
  43. data/lib/tecscde/tecs_model/tm_c_port.rb +122 -0
  44. data/lib/tecscde/tecs_model/tm_c_port_array.rb +98 -0
  45. data/lib/tecscde/tecs_model/tm_cell.rb +496 -0
  46. data/lib/tecscde/tecs_model/tm_e_port.rb +126 -0
  47. data/lib/tecscde/tecs_model/tm_e_port_array.rb +78 -0
  48. data/lib/tecscde/tecs_model/tm_join.rb +293 -0
  49. data/lib/tecscde/tecs_model/tm_join_bar.rb +146 -0
  50. data/lib/tecscde/tecs_model/tm_port.rb +238 -0
  51. data/lib/tecscde/tecs_model/tm_port_array.rb +246 -0
  52. data/lib/tecscde/tecs_model/tm_region.rb +107 -0
  53. data/lib/tecscde/tecs_model/tm_uneditable.rb +68 -0
  54. data/lib/tecscde/tecs_model/vbar.rb +68 -0
  55. data/lib/tecscde/templates/_cell_info.cde.erb +15 -0
  56. data/lib/tecscde/templates/_join_info.cde.erb +28 -0
  57. data/lib/tecscde/templates/main.cde.erb +49 -0
  58. data/lib/tecscde/tm_object.rb +91 -0
  59. data/lib/tecscde/version.rb +4 -0
  60. data/lib/tecscde/view.rb +58 -0
  61. data/lib/tecscde/view/cairo_matrix.rb +90 -0
  62. data/lib/tecscde/view/canvas.rb +59 -0
  63. data/lib/tecscde/view/constants.rb +114 -0
  64. data/lib/tecscde/view/main_view.rb +1245 -0
  65. data/lib/tecsflow.rb +475 -0
  66. data/lib/tecsflow/C_parser.tab.rb +2471 -0
  67. data/lib/tecsflow/C_parser.y.rb +1087 -0
  68. data/lib/tecsflow/classes.rb +421 -0
  69. data/lib/tecsgen.rb +581 -0
  70. data/lib/tecsgen/core/C_parser.tab.rb +2477 -0
  71. data/lib/tecsgen/core/C_parser.y +1032 -0
  72. data/lib/tecsgen/core/bnf-deb.tab.rb +5193 -0
  73. data/lib/tecsgen/core/bnf.tab.rb +5193 -0
  74. data/lib/tecsgen/core/bnf.y +2211 -0
  75. data/lib/tecsgen/core/componentobj.rb +7901 -0
  76. data/lib/tecsgen/core/ctypes.rb +226 -0
  77. data/lib/tecsgen/core/expression.rb +1031 -0
  78. data/lib/tecsgen/core/gen_xml.rb +374 -0
  79. data/lib/tecsgen/core/generate.rb +5206 -0
  80. data/lib/tecsgen/core/location.rb +116 -0
  81. data/lib/tecsgen/core/messages.rb +101 -0
  82. data/lib/tecsgen/core/optimize.rb +456 -0
  83. data/lib/tecsgen/core/plugin.rb +332 -0
  84. data/lib/tecsgen/core/pluginModule.rb +165 -0
  85. data/lib/tecsgen/core/syntaxobj.rb +1234 -0
  86. data/lib/tecsgen/core/tecs_lang.rb +306 -0
  87. data/lib/tecsgen/core/tecsgen.rb +453 -0
  88. data/lib/tecsgen/core/tecsinfo.rb +860 -0
  89. data/lib/tecsgen/core/tool_info.rb +258 -0
  90. data/lib/tecsgen/core/types.rb +1632 -0
  91. data/lib/tecsgen/core/unjoin_plugin.rb +218 -0
  92. data/lib/tecsgen/core/value.rb +650 -0
  93. data/lib/tecsgen/messages/messages_console_en_US.rb +1171 -0
  94. data/lib/tecsgen/messages/messages_console_ja_JP.rb +1171 -0
  95. data/lib/tecsgen/messages/messages_file_en_US.rb +334 -0
  96. data/lib/tecsgen/messages/messages_file_ja_JP.rb +163 -0
  97. data/lib/tecsgen/plugin/ATK1AlarmPlugin.rb +196 -0
  98. data/lib/tecsgen/plugin/ATK1DelayTaskPlugin.rb +106 -0
  99. data/lib/tecsgen/plugin/ATK1EventPlugin.rb +147 -0
  100. data/lib/tecsgen/plugin/ATK1ISRPlugin.rb +174 -0
  101. data/lib/tecsgen/plugin/ATK1KernelPlugin.rb +287 -0
  102. data/lib/tecsgen/plugin/ATK1ResourcePlugin.rb +124 -0
  103. data/lib/tecsgen/plugin/ATK1TaskPlugin.rb +220 -0
  104. data/lib/tecsgen/plugin/C2TECSBridgePlugin.rb +210 -0
  105. data/lib/tecsgen/plugin/CellPlugin.rb +61 -0
  106. data/lib/tecsgen/plugin/CelltypePlugin.rb +72 -0
  107. data/lib/tecsgen/plugin/CompositePlugin.rb +66 -0
  108. data/lib/tecsgen/plugin/DomainPlugin.rb +89 -0
  109. data/lib/tecsgen/plugin/HRP2AlarmHandlerPlugin.rb +76 -0
  110. data/lib/tecsgen/plugin/HRP2Cache.rb +1 -0
  111. data/lib/tecsgen/plugin/HRP2CyclicHandlerPlugin.rb +75 -0
  112. data/lib/tecsgen/plugin/HRP2DataqueuePlugin.rb +68 -0
  113. data/lib/tecsgen/plugin/HRP2EventflagPlugin.rb +68 -0
  114. data/lib/tecsgen/plugin/HRP2FixedSizeMemoryPoolPlugin.rb +68 -0
  115. data/lib/tecsgen/plugin/HRP2HandlerPlugin.rb +117 -0
  116. data/lib/tecsgen/plugin/HRP2KernelObjectPlugin.rb +372 -0
  117. data/lib/tecsgen/plugin/HRP2ObjectPlugin.rb +94 -0
  118. data/lib/tecsgen/plugin/HRP2Plugin.rb +140 -0
  119. data/lib/tecsgen/plugin/HRP2PostHook.rb +111 -0
  120. data/lib/tecsgen/plugin/HRP2PriorityDataqueuePlugin.rb +66 -0
  121. data/lib/tecsgen/plugin/HRP2RPCPlugin.rb +319 -0
  122. data/lib/tecsgen/plugin/HRP2SVCPlugin.rb +473 -0
  123. data/lib/tecsgen/plugin/HRP2SemaphorePlugin.rb +67 -0
  124. data/lib/tecsgen/plugin/HRP2TaskPlugin.rb +200 -0
  125. data/lib/tecsgen/plugin/HRPHandlerPlugin.rb +125 -0
  126. data/lib/tecsgen/plugin/HRPKernelObjectManager.rb +72 -0
  127. data/lib/tecsgen/plugin/HRPKernelObjectPlugin.rb +333 -0
  128. data/lib/tecsgen/plugin/HRPObjectPlugin.rb +93 -0
  129. data/lib/tecsgen/plugin/HRPPlugin.rb +356 -0
  130. data/lib/tecsgen/plugin/HRPRPCPlugin.rb +407 -0
  131. data/lib/tecsgen/plugin/HRPSVCPlugin.rb +859 -0
  132. data/lib/tecsgen/plugin/HRPTaskPlugin.rb +107 -0
  133. data/lib/tecsgen/plugin/Mruby2CBridgePlugin.rb +86 -0
  134. data/lib/tecsgen/plugin/MrubyBridgeCellPlugin.rb +264 -0
  135. data/lib/tecsgen/plugin/MrubyBridgeCelltypePlugin.rb +293 -0
  136. data/lib/tecsgen/plugin/MrubyBridgeCompositePlugin.rb +49 -0
  137. data/lib/tecsgen/plugin/MrubyBridgePlugin.rb +67 -0
  138. data/lib/tecsgen/plugin/MrubyBridgeSignaturePlugin.rb +1307 -0
  139. data/lib/tecsgen/plugin/MrubyInfoBridgePlugin.rb +14 -0
  140. data/lib/tecsgen/plugin/MrubyInfoBridgeSignaturePlugin.rb +994 -0
  141. data/lib/tecsgen/plugin/MultiPlugin.rb +57 -0
  142. data/lib/tecsgen/plugin/NotifierPlugin.rb +1217 -0
  143. data/lib/tecsgen/plugin/OpaqueMarshalerPlugin.rb +81 -0
  144. data/lib/tecsgen/plugin/OpaqueRPCPlugin.rb +323 -0
  145. data/lib/tecsgen/plugin/RPCPlugin.rb +266 -0
  146. data/lib/tecsgen/plugin/RepeatCellPlugin.rb +166 -0
  147. data/lib/tecsgen/plugin/RepeatJoinPlugin.rb +130 -0
  148. data/lib/tecsgen/plugin/SharedOpaqueRPCPlugin.rb +357 -0
  149. data/lib/tecsgen/plugin/SharedRPCPlugin.rb +329 -0
  150. data/lib/tecsgen/plugin/SignaturePlugin.rb +77 -0
  151. data/lib/tecsgen/plugin/TECS2CBridgePlugin.rb +178 -0
  152. data/lib/tecsgen/plugin/TECSInfoPlugin.rb +280 -0
  153. data/lib/tecsgen/plugin/ThroughPlugin.rb +333 -0
  154. data/lib/tecsgen/plugin/TracePlugin.rb +484 -0
  155. data/lib/tecsgen/plugin/lib/GenHRP2Marshaler.rb +761 -0
  156. data/lib/tecsgen/plugin/lib/GenOpaqueMarshaler.rb +1107 -0
  157. data/lib/tecsgen/plugin/lib/GenParamCopy.rb +365 -0
  158. data/lib/tecsgen/plugin/lib/GenTransparentMarshaler.rb +683 -0
  159. data/lib/tecsgen/plugin/lib/MrubyBridgeCelltypePluginModule.rb +283 -0
  160. data/lib/tecsgen/plugin/lib/MrubyBridgeSignaturePluginModule.rb +277 -0
  161. data/lib/tecsgen/version.rb +6 -0
  162. data/samples/FigureSamples/active/active.cde +104 -0
  163. data/samples/FigureSamples/active/active.cdl +20 -0
  164. data/samples/FigureSamples/active/active.pdf +0 -0
  165. data/samples/FigureSamples/active/active.png +0 -0
  166. data/samples/FigureSamples/active/gen/tmp_C_src.c +36 -0
  167. data/samples/FigureSamples/active/gen/tmp_cygwin_tecs.h +1908 -0
  168. data/samples/FigureSamples/active/gen/tmp_plugin_post_code.cdl +0 -0
  169. data/samples/FigureSamples/allocator/allocator-internal.png +0 -0
  170. data/samples/FigureSamples/allocator/allocator.cde +171 -0
  171. data/samples/FigureSamples/allocator/allocator.cdl +58 -0
  172. data/samples/FigureSamples/allocator/allocator.png +0 -0
  173. data/samples/FigureSamples/basic/Makefile +87 -0
  174. data/samples/FigureSamples/basic/SimpleSample-trace.cdl +50 -0
  175. data/samples/FigureSamples/basic/SimpleSample.cde +91 -0
  176. data/samples/FigureSamples/basic/SimpleSample.cdl +47 -0
  177. data/samples/FigureSamples/basic/basic.cde +93 -0
  178. data/samples/FigureSamples/basic/basic.cdl +46 -0
  179. data/samples/FigureSamples/basic/basic.png +0 -0
  180. data/samples/FigureSamples/callback/callback.cde +130 -0
  181. data/samples/FigureSamples/callback/callback.cdl +29 -0
  182. data/samples/FigureSamples/callback/callback.png +0 -0
  183. data/samples/FigureSamples/carray/carray.cde +144 -0
  184. data/samples/FigureSamples/carray/carray.cdl +38 -0
  185. data/samples/FigureSamples/carray/carray.png +0 -0
  186. data/samples/FigureSamples/cearray/cearray.cde +314 -0
  187. data/samples/FigureSamples/cearray/cearray.cdl +60 -0
  188. data/samples/FigureSamples/cearray/cearray.png +0 -0
  189. data/samples/FigureSamples/composite/composite-internal.png +0 -0
  190. data/samples/FigureSamples/composite/composite.cde +216 -0
  191. data/samples/FigureSamples/composite/composite.cdl +95 -0
  192. data/samples/FigureSamples/composite/composite.png +0 -0
  193. data/samples/FigureSamples/earray/earray.cde +142 -0
  194. data/samples/FigureSamples/earray/earray.cdl +38 -0
  195. data/samples/FigureSamples/earray/earray.png +0 -0
  196. data/samples/FigureSamples/join/Makefile +87 -0
  197. data/samples/FigureSamples/join/join.cde +132 -0
  198. data/samples/FigureSamples/join/join.cdl +40 -0
  199. data/samples/FigureSamples/join/join.png +0 -0
  200. data/samples/FigureSamples/relay/Makefile +99 -0
  201. data/samples/FigureSamples/relay/relay-internal.png +0 -0
  202. data/samples/FigureSamples/relay/relay.cde +284 -0
  203. data/samples/FigureSamples/relay/relay.cdl +52 -0
  204. data/samples/FigureSamples/relay/relay.png +0 -0
  205. data/samples/FigureSamples/rpc/Makefile +123 -0
  206. data/samples/FigureSamples/rpc/rpc-expand.png +0 -0
  207. data/samples/FigureSamples/rpc/rpc.cde +245 -0
  208. data/samples/FigureSamples/rpc/rpc.png +0 -0
  209. data/samples/FigureSamples/rpc/rpc_sample.cdl +53 -0
  210. data/samples/SimpleSample/Makefile +25 -0
  211. data/samples/SimpleSample/SimpleSample/Makefile +86 -0
  212. data/samples/SimpleSample/SimpleSample/Makefile-trace +91 -0
  213. data/samples/SimpleSample/SimpleSample/README.txt +106 -0
  214. data/samples/SimpleSample/SimpleSample/SimpleSample-trace.cdl +50 -0
  215. data/samples/SimpleSample/SimpleSample/SimpleSample.cdl +45 -0
  216. data/samples/SimpleSample/SimpleSample/src/tSample.c +77 -0
  217. data/samples/SimpleSample/SimpleSample/src/tSimple.c +48 -0
  218. data/samples/SimpleSample/SimpleSample/src/tecs-types.h +27 -0
  219. data/samples/SimpleSample/SimpleSampleOpaqueRPC/Makefile +51 -0
  220. data/samples/SimpleSample/SimpleSampleOpaqueRPC/Makefile-trace +91 -0
  221. data/samples/SimpleSample/SimpleSampleOpaqueRPC/README.txt +106 -0
  222. data/samples/SimpleSample/SimpleSampleOpaqueRPC/SimpleSample-trace.cdl +80 -0
  223. data/samples/SimpleSample/SimpleSampleOpaqueRPC/SimpleSample.cdl +77 -0
  224. data/samples/SimpleSample/SimpleSampleOpaqueRPC/rSample/Makefile +112 -0
  225. data/samples/SimpleSample/SimpleSampleOpaqueRPC/rSimple/Makefile +109 -0
  226. data/samples/SimpleSample/SimpleSampleOpaqueRPC/src/tSample.c +80 -0
  227. data/samples/SimpleSample/SimpleSampleOpaqueRPC/src/tSimple.c +47 -0
  228. data/samples/SimpleSample/SimpleSampleOpaqueRPC/src/tTaskMain.c +66 -0
  229. data/samples/SimpleSample/SimpleSampleOpaqueRPC/src/tecs-types.h +27 -0
  230. data/samples/SimpleSample/SimpleSampleTransparentRPC/Makefile +125 -0
  231. data/samples/SimpleSample/SimpleSampleTransparentRPC/Makefile-trace +130 -0
  232. data/samples/SimpleSample/SimpleSampleTransparentRPC/SimpleSample-trace.cdl +54 -0
  233. data/samples/SimpleSample/SimpleSampleTransparentRPC/SimpleSample.cdl +53 -0
  234. data/samples/SimpleSample/SimpleSampleTransparentRPC/src/tSample.c +80 -0
  235. data/samples/SimpleSample/SimpleSampleTransparentRPC/src/tSimple.c +54 -0
  236. data/tecscde.gemspec +41 -0
  237. metadata +353 -0
@@ -0,0 +1,334 @@
1
+ #
2
+ # TECS Generator
3
+ # Generator for TOPPERS Embedded Component System
4
+ #
5
+ # Copyright (C) 2008-2018 by TOPPERS Project
6
+ #--
7
+ # 上記著作権者は,以下の(1)〜(4)の条件を満たす場合に限り,本ソフトウェ
8
+ # ア(本ソフトウェアを改変したものを含む.以下同じ)を使用・複製・改
9
+ # 変・再配布(以下,利用と呼ぶ)することを無償で許諾する.
10
+ # (1) 本ソフトウェアをソースコードの形で利用する場合には,上記の著作
11
+ # 権表示,この利用条件および下記の無保証規定が,そのままの形でソー
12
+ # スコード中に含まれていること.
13
+ # (2) 本ソフトウェアを,ライブラリ形式など,他のソフトウェア開発に使
14
+ # 用できる形で再配布する場合には,再配布に伴うドキュメント(利用
15
+ # 者マニュアルなど)に,上記の著作権表示,この利用条件および下記
16
+ # の無保証規定を掲載すること.
17
+ # (3) 本ソフトウェアを,機器に組み込むなど,他のソフトウェア開発に使
18
+ # 用できない形で再配布する場合には,次のいずれかの条件を満たすこ
19
+ # と.
20
+ # (a) 再配布に伴うドキュメント(利用者マニュアルなど)に,上記の著
21
+ # 作権表示,この利用条件および下記の無保証規定を掲載すること.
22
+ # (b) 再配布の形態を,別に定める方法によって,TOPPERSプロジェクトに
23
+ # 報告すること.
24
+ # (4) 本ソフトウェアの利用により直接的または間接的に生じるいかなる損
25
+ # 害からも,上記著作権者およびTOPPERSプロジェクトを免責すること.
26
+ # また,本ソフトウェアのユーザまたはエンドユーザからのいかなる理
27
+ # 由に基づく請求からも,上記著作権者およびTOPPERSプロジェクトを
28
+ # 免責すること.
29
+ #
30
+ # 本ソフトウェアは,無保証で提供されているものである.上記著作権者お
31
+ # よびTOPPERSプロジェクトは,本ソフトウェアに関して,特定の使用目的
32
+ # に対する適合性も含めて,いかなる保証も行わない.また,本ソフトウェ
33
+ # アの利用により直接的または間接的に生じたいかなる損害に関しても,そ
34
+ # の責任を負わない.
35
+ #
36
+ # $Id: messages_file_en_US.rb 2852 2018-04-09 10:38:29Z okuma-top $
37
+ #++
38
+
39
+
40
+ # File Messages for en_US
41
+ class TECSMsg
42
+ ## generate.rb ##
43
+
44
+ @@comment = {}
45
+
46
+ # MSg.note
47
+ # @@comment[ :note ] = " * このファイルは tecsgen により自動生成されました
48
+ # * このファイルを編集して使用することは、意図されていません
49
+ # "
50
+ @@comment[ :note ] = " * This file was automatically generated by tecsgen.
51
+ * This file is not intended to be edited.
52
+ "
53
+
54
+ # @@comment[ :preamble_note ] = "/* #[<PREAMBLE>]#
55
+ # * #[<...>]# から #[</...>]# で囲まれたコメントは編集しないでください
56
+ # * tecsmerge によるマージに使用されます
57
+ # "
58
+ @@comment[ :preamble_note ] = "/* #[<PREAMBLE>]#
59
+ * Don't edit the comments between #[<...>]# and #[</...>]#
60
+ * These comment are used by tecsmerege when merging.
61
+ "
62
+
63
+ # @@comment[ :postamble_note ] = "/* #[<POSTAMBLE>]#
64
+ # * これより下に非受け口関数を書きます
65
+ # * #[</POSTAMBLE>]#*/
66
+ # "
67
+ @@comment[ :postamble_note ] = "/* #[<POSTAMBLE>]#
68
+ * Put non-entry functions below.
69
+ * #[</POSTAMBLE>]#*/
70
+ "
71
+
72
+ # @@comment[ :template_note ] = "/*
73
+ # * このファイルは tecsgen によりテンプレートとして自動生成されました
74
+ # * このファイルを編集して使用することが意図されていますが
75
+ # * tecsgen の再実行により上書きされてしまうため、通常
76
+ # * gen/%s_templ.c => src/%s.c
77
+ # * のように名前, フォルダを変更してから修正します
78
+ # */
79
+ # "
80
+ @@comment[ :template_note ] = "/*
81
+ * This file was automatically generated by tecsgen.
82
+ * Move and rename like below before editing,
83
+ * gen/%s_templ.c => src/%s.c
84
+ * to avoid to be overwritten by tecsgen.
85
+ */
86
+ "
87
+
88
+ # @@comment[ :inline_template_note ] = "/*
89
+ # * このファイルは tecsgen によりテンプレートとして自動生成されました
90
+ # * このファイルを編集して使用することが意図されていますが
91
+ # * tecsgen の再実行により上書きされてしまうため、通常
92
+ # * gen/%s_inline_template.h => src/%s_inline.h
93
+ # * のように名前, フォルダを変更してから修正します
94
+ # */
95
+ # "
96
+ @@comment[ :inline_template_note ] = "/*
97
+ * This file was automatically generated by tecsgen.
98
+ * Move and rename like below before editing,
99
+ * gen/%s_inline_template.h => src/%s_inline.h
100
+ * to avoid to be overwritten by tecsgen.
101
+ */
102
+ "
103
+
104
+ # @@comment[ :Makefile_note ] = "# このファイルは tecsgen により自動生成されました
105
+ # # Makefile.temp は gen の一つ上のディレクトリに移して使用します
106
+ # # % mv Makefile.temp Makefile
107
+ # #
108
+ # # clean のデフォルト動作は $(GEN_DIR)/Makefile.* を削除します
109
+ #
110
+ # "
111
+ @@comment[ :Makefile_note ] = "# This file was automatically generated by tecsgen.
112
+ # Move Makefile.temp upper directory like below before editing.
113
+ # % mv Makefile.temp Makefile
114
+ #
115
+ # \"make clean\" deletes $(GEN_DIR)/Makefile.* by default.
116
+ #
117
+ # This file is generated suitable for GNU make and a target on POSIX environemnt using gcc.
118
+ # You might have to adjust vpath, CFLAGS, OTHER_OBJS, etc.
119
+ # For other target you have to modify this file.
120
+
121
+ "
122
+
123
+ # @@comment[ :oneway_ercd_note ] = "/* oneway の場合 E_OK しか返せません */"
124
+ @@comment[:oneway_ercd_note] = "/* Oneway function always returns E_OK. */"
125
+
126
+ # @@comment[ :ercd_note ] = "/* エラー処理コードをここに記述します */"
127
+ @@comment[:ercd_note] = "/* Write error processing code here */"
128
+
129
+ # @@comment[ :IMP_comment ] = "\n/* import_C により import されるヘッダ %s */\n"
130
+ @@comment[:IMP_comment] = "\n/* header imported by import_C %s */\n"
131
+
132
+ # @@comment[ :MVAR_comment ] = "# 変数 %s\n"
133
+ @@comment[:MVAR_comment] = "# var %s\n"
134
+
135
+ # @@comment[ :MRUL_comment ] = "# ルール %s\n"
136
+ @@comment[:MRUL_comment] = "# Rule %s\n"
137
+
138
+ # @@comment[ :TCM_comment ] = "# テンプレートコードでメークしてみる場合 %s\n"
139
+ @@comment[:TCM_comment] = "# in case build with template code %s\n"
140
+
141
+ # @@comment[ :MDEP_comment ] = "\n# depend を include %s\n"
142
+ @@comment[:MDEP_comment] = "\n# include dependcy %s\n"
143
+
144
+ # @@comment[ :SDI_comment ] = "/* シグニチャディスクリプタ参照ヘッダ %s */\n"
145
+ @@comment[:SDI_comment] = "/* descriptor referencing signature header %s */\n"
146
+
147
+ # @@comment[ :SD_comment ] = "/* シグニチャディスクリプタ %s */\n"
148
+ @@comment[:SD_comment] = "/* signature descriptor %s */\n"
149
+
150
+ # @@comment[ :SFT_comment ] = "/* シグニチャ関数テーブル %s */\n"
151
+ @@comment[:SFT_comment] = "/* signature function table %s */\n"
152
+
153
+ # @@comment[ :SDES_comment ] = "/* シグニチャディスクリプタ(動的結合用) %s */\n"
154
+ @@comment[:SDES_comment] = "/* signature descriptor %s for dynamic join */\n"
155
+
156
+ # @@comment[ :IRTH_comment ] = "/* ランタイムヘッダ %s */\n"
157
+
158
+ # @@comment[ :UDF_comment ] = "/* inline のための undef %s */\n"
159
+ @@comment[:UDF_comment] = "/* undef for inline %s */\n"
160
+
161
+ # @@comment[ :IGH_comment ] = "/* グローバルヘッダ %s */\n"
162
+ @@comment[:IGH_comment] = "/* global header %s */\n"
163
+
164
+ # @@comment[ :ISH_comment ] = "/* シグニチャヘッダ %s */\n"
165
+ @@comment[:ISH_comment] = "/* signature header %s */\n"
166
+
167
+ # @@comment[ :ICT_comment ] = "/* 最適化のため参照するセルタイプの CB 型の定義を取込む %s */\n"
168
+ @@comment[:ICT_comment] = "/* to get the definition of CB type of referenced celltype for optimization %s */\n"
169
+
170
+ # @@comment[ :NIDB_comment ] = "ID のベース "
171
+ @@comment[:NIDB_comment] = "ID Base "
172
+
173
+ # @@comment[ :NCEL_comment ] = "セルの個数"
174
+ @@comment[:NCEL_comment] = " number of cells"
175
+
176
+ # @@comment[ :CVI_comment ] = "/* IDXの正当性チェックマクロ %s */\n"
177
+ @@comment[:CVI_comment] = "/* IDX validation macro %s */\n"
178
+
179
+ # @@comment[ :CVIA_comment ] = "/* IDXの正当性チェックマクロ(短縮形) %s */\n"
180
+ @@comment[:CVIA_comment] = "/* IDX validation macro (abbrev.) %s */\n"
181
+
182
+ # @@comment[ :NCPA_comment ] = "/* 呼び口配列の大きさを得るマクロ %s */\n"
183
+ @@comment[:NCPA_comment] = "/* call port array size macro %s */\n"
184
+
185
+ # @@comment[ :NEPA_comment ] = "/* 受け口配列の大きさを得るマクロ %s */\n"
186
+ @@comment[:NEPA_comment] = "/* entry port array size macro %s */\n"
187
+
188
+ # @@comment[ :TOCP_comment ] = "/* optional 呼び口をテストするマクロ %s */\n"
189
+ @@comment[:TOCP_comment] = "/* optional call port test macro %s */\n"
190
+
191
+ # @@comment[ :TOCPA_comment ] = "/* optional 呼び口をテストするマクロ(短縮形) %s */\n"
192
+ @@comment[:TOCPA_comment] = "/* optional call port test macro (abbrev) %s */\n"
193
+
194
+ # @@comment[ :GCB_comment ] = "\n/* セルCBを得るマクロ %s */\n"
195
+ @@comment[:GCB_comment] = "\n/* celll CB macro %s */\n"
196
+
197
+ # @@comment[ :GCBA_comment ] = "\n/* セルCBを得るマクロ(短縮形) %s */\n"
198
+ @@comment[:GCBA_comment] = "\n/* cell CB macro (abbrev) %s */\n"
199
+
200
+ # @@comment[ :CCT_comment ] = "/* CELLCB 型(短縮形) %s */\n"
201
+ @@comment[:CCT_comment] = "/* CELLCB type (abbrev) %s */\n"
202
+
203
+ # @@comment[ :CTIXA_comment ] = "/* セルタイプのIDX型(短縮形) %s */\n"
204
+ @@comment[:CTIXA_comment] = "/* celltype IDX type (abbrev) %s */\n"
205
+
206
+ # @@comment[ :AAM_comment ] = "\n/* 属性アクセスマクロ %s */\n"
207
+ @@comment[:AAM_comment] = "\n/* attr access %s */\n"
208
+
209
+ # @@comment[ :VAM_comment ] = "\n/* var アクセスマクロ %s */\n"
210
+ @@comment[:VAM_comment] = "\n/* var access macro %s */\n"
211
+
212
+ # @@comment[ :AAMA_comment ] = "\n/* 属性アクセスマクロ(短縮形) %s */\n"
213
+ @@comment[:AAMA_comment] = "\n/* attr access macro (abbrev) %s */\n"
214
+
215
+ # @@comment[ :VAMA_comment ] = "\n/* var アクセスマクロ(短縮形) %s */\n"
216
+ @@comment[:VAMA_comment] = "\n/* var access macro (abbrev) %s */\n"
217
+
218
+ # @@comment[ :CPM_comment ] = " /* 呼び口関数マクロ %s */\n"
219
+ @@comment[:CPM_comment] = " /* call port function macro %s */\n"
220
+
221
+ # @@comment[ :CPMA_comment ] = "/* 呼び口関数マクロ(短縮形)%s */\n"
222
+ @@comment[:CPMA_comment] = "/* call port function macro (abbrev) %s */\n"
223
+
224
+ # @@comment[ :EPM_comment ] = "\n/* 受け口関数マクロ(短縮形) %s */\n"
225
+ @@comment[:EPM_comment] = "\n/* entry port function macro (abbrev) %s */\n"
226
+
227
+ # @@comment[ :CRD_comment ] = "\n/* ディスクリプタ参照関数 %s */\n"
228
+ @@comment[:CRD_comment] = "/* refer to descriptor function %s */\n"
229
+
230
+ # @@comment[ :CRDA_comment ] = "\n/* ディスクリプタ参照マクロ(短縮形) %s */\n"
231
+ @@comment[:CRDA_comment] = "\n/* refer to descriptor macro (abbrev) %s */\n"
232
+
233
+ # @@comment[ :SDF_comment ] = "/* ディスクリプタ設定関数 %s */\n"
234
+ @@comment[:SDF_comment] = "/* set descriptor function %s */\n"
235
+
236
+ # @@comment[ :SDMA_comment ] = "\n/* ディスクリプタ設定マクロ(短縮形) %s */\n"
237
+ @@comment[:SDMA_comment] = "\n/* set descriptor macro (abbrev) %s */\n"
238
+
239
+ # @@comment[ :CTIX_comment ] = "\n/* セルタイプのIDX型 %s */\n"
240
+ @@comment[:CTIX_comment] = "\n/* celltype IDX type %s */\n"
241
+
242
+ # @@comment[ :EPP_comment ] = "\n/* 受け口関数プロトタイプ宣言 %s */\n"
243
+ @@comment[:EPP_comment] = "\n/* prototype declaration of entry port function %s */\n"
244
+
245
+ # @@comment[ :EPSP_comment ] = "\n/* 受け口スケルトン関数プロトタイプ宣言(VMT不要最適化により参照するもの) %s */\n"
246
+ @@comment[:EPSP_comment] = "\n/* prototype declaration of entry port function (referenced when VMT useless optimise enabled) %s */\n"
247
+
248
+ # @@comment[ :INL_comment ] = "/* inline ヘッダの include %s */\n"
249
+ @@comment[:INL_comment] = "/* include inline header %s */\n"
250
+
251
+ # @@comment[ :CIP_comment ] = "/* セル INIB 型宣言 %s */\n"
252
+ @@comment[:CIP_comment] = "/* cell INIB type definition %s */\n"
253
+
254
+ # @@comment[ :CCTPA_comment ] = "/* セル CB 型宣言 %s */\n"
255
+ @@comment[:CCTPA_comment] = "/* cell CB type definition %s */\n"
256
+
257
+ # @@comment[ :CCDP_comment ] = "/* セル CB (ダミー)型宣言 %s */\n"
258
+ @@comment[:CCDP_comment] = "/* cell CB (dummy) type definition %s */\n"
259
+
260
+ # @@comment[ :CCTPO_comment ] = "/* セル CB 型宣言 %s */\n"
261
+ @@comment[:CCTPO_comment] = "/* cell CB type definition %s */\n"
262
+
263
+ # @@comment[ :SCP_comment ] = "/* シングルトンセル CB プロトタイプ宣言 %s */\n"
264
+ @@comment[:SCP_comment] = "/* singleton cell CB prototype declaration %s */\n"
265
+
266
+ # @@comment[ :DCI_comment ] = "\n/* CB は存在しない。INIB を CB の代わりに使用するための define %s */\n"
267
+ @@comment[:DCI_comment] = "\n/* CB not exist. CB corresponding to INIB %s */\n"
268
+
269
+ # @@comment[ :FEC_comment ] = "/* イテレータコード (FOREACH_CELL)の生成 %s */\n"
270
+ @@comment[:FEC_comment] = "/* iteration code (FOREACH_CELL) %s */\n"
271
+
272
+ # @@comment[ :DAL_comment ] = "/* deallocate マクロ %s */\n"
273
+ @@comment[:DAL_comment] = "/* deallocate macro %s */\n"
274
+
275
+ # @@comment[ :NFEC_comment ] = "/* イテレータコード (FOREACH_CELL)の生成(CB,INIB は存在しない) %s */\n"
276
+ @@comment[:NFEC_comment] = "/* iteration code (FOREACH_CELL) (niether CB, nor NIB exit) %s */\n"
277
+
278
+ # @@comment[ :CIM_comment ] = "/* CB 初期化マクロ %s */\n"
279
+ @@comment[:CIM_comment] = "/* CB initialize macro %s */\n"
280
+
281
+ # @@comment[ :EDT_comment ] = "/* 受け口ディスクリプタ型 %s */\n"
282
+ @@comment[:EDT_comment] = "/* entry port descriptor type %s */\n"
283
+
284
+ # @@comment[ :EPSF_comment ] = "/* 受け口スケルトン関数 %s */\n"
285
+ @@comment[:EPSF_comment] = "/* entry port skelton function %s */\n"
286
+
287
+ # @@comment[ :EPSFT_comment ] = "/* 受け口スケルトン関数テーブル %s */\n"
288
+ @@comment[:EPSFT_comment] = "/* entry port skelton function table %s */\n"
289
+
290
+ # @@comment[ :CPEPD_comment ] = "/* 呼び口の参照する受け口ディスクリプタ(実際の型と相違した定義) %s */\n"
291
+ @@comment[:CPEPD_comment] = "/* entry port descriptor referenced by call port (differ from actual definition) %s */\n"
292
+
293
+ # @@comment[ :CPA_comment ] = "/* 呼び口配列 %s */\n"
294
+ @@comment[:CPA_comment] = "/* call port array %s */\n"
295
+
296
+ # @@comment[ :CIC_comment ] = "/* CB 初期化コード %s */\n"
297
+ @@comment[:CIC_comment] = "/* CB initialize code %s */\n"
298
+
299
+ # @@comment[ :AVAI_comment ] = "/* 属性・変数の配列 %s */\n"
300
+ @@comment[:AVAI_comment] = "/* array of attr/var %s */\n"
301
+
302
+ # @@comment[ :AVI_comment ] = "/* 変数(構造体、配列)初期値 %s */\n"
303
+ @@comment[:AVI_comment] = "/* var (struct, array) initial value %s */\n"
304
+
305
+ # @@comment[ :INIB_comment ] = "/* セル INIB %s */\n"
306
+ @@comment[:INIB_comment] = "/* cell INIB %s */\n"
307
+
308
+ # @@comment[ :CB_comment ] = "/* セル CB %s */\n"
309
+ @@comment[:CB_comment] = "/* cell CB %s */\n"
310
+
311
+ # @@comment[ :EPD_comment ] = "/* 受け口ディスクリプタ %s */\n"
312
+ @@comment[:EPD_comment] = "/* entry port descriptor %s */\n"
313
+
314
+ # @@comment[ :PAC_comment ] = "/* プロトタイプ宣言や変数の定義をここに書きます %s */\n"
315
+ @@comment[:PAC_comment] = "/* Put prototype declaration and/or variale definition here %s */\n"
316
+
317
+ # @@comment[ :CAAM_comment ] = " *\n * 属性アクセスマクロ %s\n"
318
+ @@comment[:CAAM_comment] = " *\n * attr access macro %s\n"
319
+
320
+ # @@comment[ :CAAMI_comment ] = " *\n * 属性アクセスマクロ %s\n"
321
+ @@comment[:CAAMI_comment] = " *\n * attr access macro %s\n"
322
+
323
+ # @@comment[ :TYP_comment ] = " *\n * 型 %s\n * CELLCB 型 : %s\n * CELLIDX 型 : %s\n"
324
+ @@comment[:TYP_comment] = " *\n * type %s\n * CELLCB type : %s\n * CELLIDX type : %s\n"
325
+
326
+ # @@comment[ :TCPF_comment ] = " * 呼び口関数 %s\n"
327
+ @@comment[:TCPF_comment] = " * call port function %s\n"
328
+
329
+ # @@comment[ :TEPF_comment ] = "/* 受け口関数 %s */\n"
330
+ @@comment[:TEPF_comment] = "/* entry port function %s */\n"
331
+
332
+ # @@comment[ :TEFB_comment ] = "\t/* ここに処理本体を記述します %s */\n"
333
+ @@comment[:TEFB_comment] = "\t/* Put statements here %s */\n"
334
+ end
@@ -0,0 +1,163 @@
1
+ #
2
+ # TECS Generator
3
+ # Generator for TOPPERS Embedded Component System
4
+ #
5
+ # Copyright (C) 2008-2018 by TOPPERS Project
6
+ #--
7
+ # 上記著作権者は,以下の(1)〜(4)の条件を満たす場合に限り,本ソフトウェ
8
+ # ア(本ソフトウェアを改変したものを含む.以下同じ)を使用・複製・改
9
+ # 変・再配布(以下,利用と呼ぶ)することを無償で許諾する.
10
+ # (1) 本ソフトウェアをソースコードの形で利用する場合には,上記の著作
11
+ # 権表示,この利用条件および下記の無保証規定が,そのままの形でソー
12
+ # スコード中に含まれていること.
13
+ # (2) 本ソフトウェアを,ライブラリ形式など,他のソフトウェア開発に使
14
+ # 用できる形で再配布する場合には,再配布に伴うドキュメント(利用
15
+ # 者マニュアルなど)に,上記の著作権表示,この利用条件および下記
16
+ # の無保証規定を掲載すること.
17
+ # (3) 本ソフトウェアを,機器に組み込むなど,他のソフトウェア開発に使
18
+ # 用できない形で再配布する場合には,次のいずれかの条件を満たすこ
19
+ # と.
20
+ # (a) 再配布に伴うドキュメント(利用者マニュアルなど)に,上記の著
21
+ # 作権表示,この利用条件および下記の無保証規定を掲載すること.
22
+ # (b) 再配布の形態を,別に定める方法によって,TOPPERSプロジェクトに
23
+ # 報告すること.
24
+ # (4) 本ソフトウェアの利用により直接的または間接的に生じるいかなる損
25
+ # 害からも,上記著作権者およびTOPPERSプロジェクトを免責すること.
26
+ # また,本ソフトウェアのユーザまたはエンドユーザからのいかなる理
27
+ # 由に基づく請求からも,上記著作権者およびTOPPERSプロジェクトを
28
+ # 免責すること.
29
+ #
30
+ # 本ソフトウェアは,無保証で提供されているものである.上記著作権者お
31
+ # よびTOPPERSプロジェクトは,本ソフトウェアに関して,特定の使用目的
32
+ # に対する適合性も含めて,いかなる保証も行わない.また,本ソフトウェ
33
+ # アの利用により直接的または間接的に生じたいかなる損害に関しても,そ
34
+ # の責任を負わない.
35
+ #
36
+ # $Id: messages_file_ja_JP.rb 2852 2018-04-09 10:38:29Z okuma-top $
37
+ #++
38
+
39
+
40
+ # File Messages for ja_JP
41
+ class TECSMsg
42
+ ## generate.rb ##
43
+
44
+ @@comment = {}
45
+
46
+ # MSg.note
47
+ @@comment[ :note ] = " * このファイルは tecsgen により自動生成されました
48
+ * このファイルを編集して使用することは、意図されていません
49
+ "
50
+
51
+ @@comment[ :preamble_note ] = "/* #[<PREAMBLE>]#
52
+ * #[<...>]# から #[</...>]# で囲まれたコメントは編集しないでください
53
+ * tecsmerge によるマージに使用されます
54
+ "
55
+
56
+ @@comment[ :postamble_note ] = "/* #[<POSTAMBLE>]#
57
+ * これより下に非受け口関数を書きます
58
+ * #[</POSTAMBLE>]#*/
59
+ "
60
+
61
+ @@comment[ :template_note ] = "/*
62
+ * このファイルは tecsgen によりテンプレートとして自動生成されました
63
+ * このファイルを編集して使用することが意図されていますが
64
+ * tecsgen の再実行により上書きされてしまうため、通常
65
+ * gen/%s_templ.c => src/%s.c
66
+ * のように名前, フォルダを変更してから修正します
67
+ */
68
+ "
69
+
70
+ @@comment[ :inline_template_note ] = "/*
71
+ * このファイルは tecsgen によりテンプレートとして自動生成されました
72
+ * このファイルを編集して使用することが意図されていますが
73
+ * tecsgen の再実行により上書きされてしまうため、通常
74
+ * gen/%s_inline_template.h => src/%s_inline.h
75
+ * のように名前, フォルダを変更してから修正します
76
+ */
77
+ "
78
+
79
+ @@comment[ :Makefile_note ] = "# このファイルは tecsgen により自動生成されました
80
+ # Makefile.temp は gen の一つ上のディレクトリに移して使用します
81
+ # % mv Makefile.temp Makefile
82
+ #
83
+ # clean のデフォルト動作は $(GEN_DIR)/Makefile.* を削除します
84
+ #
85
+ # このファイルは GNU make で gcc を用い POSIX 環境で動作するモジュールをビルドするのに適切なように生成されています
86
+ # vpath, CFLAGS, OTHER_OBJS などを調整する必要があるかもしれません
87
+ # 他の環境やターゲットの場合、このファイルを元に変更する必要があります
88
+
89
+ "
90
+
91
+ @@comment[:oneway_ercd_note] = "/* oneway の場合 E_OK しか返せません */"
92
+ @@comment[:ercd_note] = "/* エラー処理コードをここに記述します */"
93
+
94
+ @@comment[:IMP_comment] = "\n/* import_C により import されるヘッダ %s */\n"
95
+ @@comment[:MVAR_comment] = "# 変数 %s\n"
96
+ @@comment[:MRUL_comment] = "# ルール %s\n"
97
+ @@comment[:TCM_comment] = "# テンプレートコードでメークしてみる場合 %s \n"
98
+ @@comment[:MDEP_comment] = "\n# depend を include %s\n"
99
+ @@comment[:SDI_comment] = "/* シグニチャディスクリプタ参照ヘッダ %s */\n"
100
+ @@comment[:SD_comment] = "/* シグニチャディスクリプタ %s */\n"
101
+ @@comment[:SFT_comment] = "/* シグニチャ関数テーブル %s */\n"
102
+ @@comment[:SDES_comment] = "/* シグニチャディスクリプタ(動的結合用) %s */\n"
103
+ # @@comment[ :IRTH_comment ] = "/* ランタイムヘッダ %s */\n"
104
+ @@comment[:UDF_comment] = "/* inline のための undef %s */\n"
105
+ @@comment[:IGH_comment] = "/* グローバルヘッダ %s */\n"
106
+ @@comment[:ISH_comment] = "/* シグニチャヘッダ %s */\n"
107
+ @@comment[:ICT_comment] = "/* 最適化のため参照するセルタイプの CB 型の定義を取込む %s */\n"
108
+ @@comment[:NIDB_comment] = "ID のベース "
109
+ @@comment[:NCEL_comment] = "セルの個数"
110
+ @@comment[:CVI_comment] = "/* IDXの正当性チェックマクロ %s */\n"
111
+ @@comment[:CVIA_comment] = "/* IDXの正当性チェックマクロ(短縮形) %s */\n"
112
+ @@comment[:NCPA_comment] = "/* 呼び口配列の大きさを得るマクロ %s */\n"
113
+ @@comment[:NEPA_comment] = "/* 受け口配列の大きさを得るマクロ %s */\n"
114
+ @@comment[:TOCP_comment] = "/* optional 呼び口をテストするマクロ %s */\n"
115
+ @@comment[:TOCPA_comment] = "/* optional 呼び口をテストするマクロ(短縮形) %s */\n"
116
+ @@comment[:GCB_comment] = "\n/* セルCBを得るマクロ %s */\n"
117
+ @@comment[:GCBA_comment] = "\n/* セルCBを得るマクロ(短縮形) %s */\n"
118
+ @@comment[:CCT_comment] = "/* CELLCB 型(短縮形) %s */\n"
119
+ @@comment[:CTIXA_comment] = "/* セルタイプのIDX型(短縮形) %s */\n"
120
+ @@comment[:AAM_comment] = "\n/* 属性アクセスマクロ %s */\n"
121
+ @@comment[:VAM_comment] = "\n/* var アクセスマクロ %s */\n"
122
+ @@comment[:AAMA_comment] = "\n/* 属性アクセスマクロ(短縮形) %s */\n"
123
+ @@comment[:VAMA_comment] = "\n/* var アクセスマクロ(短縮形) %s */\n"
124
+ @@comment[:CPM_comment] = " /* 呼び口関数マクロ %s */\n"
125
+ @@comment[:CPMA_comment] = "/* 呼び口関数マクロ(短縮形)%s */\n"
126
+ @@comment[:EPM_comment] = "\n/* 受け口関数マクロ(短縮形) %s */\n"
127
+ @@comment[:CRD_comment] = "/* ディスクリプタ参照関数 %s */\n"
128
+ @@comment[:CRDA_comment] = "\n/* ディスクリプタ参照マクロ(短縮形) %s */\n"
129
+ @@comment[:SDF_comment] = "/* ディスクリプタ設定関数 %s */\n"
130
+ @@comment[:SDMA_comment] = "\n/* ディスクリプタ設定マクロ(短縮形) %s */\n"
131
+ @@comment[:CTIX_comment] = "\n/* セルタイプのIDX型 %s */\n"
132
+ @@comment[:EPP_comment] = "\n/* 受け口関数プロトタイプ宣言 %s */\n"
133
+ @@comment[:EPSP_comment] = "\n/* 受け口スケルトン関数プロトタイプ宣言(VMT不要最適化により参照するもの) %s */\n"
134
+ @@comment[:INL_comment] = "/* inline ヘッダの include %s */\n"
135
+ @@comment[:CIP_comment] = "/* セル INIB 型宣言 %s */\n"
136
+ @@comment[:CCTPA_comment] = "/* セル CB 型宣言 %s */\n"
137
+ @@comment[:CCDP_comment] = "/* セル CB (ダミー)型宣言 %s */\n"
138
+ @@comment[:CCTPO_comment] = "/* セル CB 型宣言 %s */\n"
139
+ @@comment[:SCP_comment] = "/* シングルトンセル CB プロトタイプ宣言 %s */\n"
140
+ @@comment[:DCI_comment] = "\n/* CB は存在しない。INIB を CB の代わりに使用するための define %s */\n"
141
+ @@comment[:FEC_comment] = "/* イテレータコード (FOREACH_CELL)の生成 %s */\n"
142
+ @@comment[:DAL_comment] = "/* deallocate マクロ %s */\n"
143
+ @@comment[:NFEC_comment] = "/* イテレータコード (FOREACH_CELL)の生成(CB,INIB は存在しない) %s */\n"
144
+ @@comment[:CIM_comment] = "/* CB 初期化マクロ %s */\n"
145
+ @@comment[:EDT_comment] = "/* 受け口ディスクリプタ型 %s */\n"
146
+ @@comment[:EPSF_comment] = "/* 受け口スケルトン関数 %s */\n"
147
+ @@comment[:EPSFT_comment] = "/* 受け口スケルトン関数テーブル %s */\n"
148
+ @@comment[:CPEPD_comment] = "/* 呼び口の参照する受け口ディスクリプタ(実際の型と相違した定義) %s */\n"
149
+ @@comment[:CPA_comment] = "/* 呼び口配列 %s */\n"
150
+ @@comment[:CIC_comment] = "/* CB 初期化コード %s */\n"
151
+ @@comment[:AVAI_comment] = "/* 属性・変数の配列 %s */\n"
152
+ @@comment[:AVI_comment] = "/* 変数(構造体、配列)初期値 %s */\n"
153
+ @@comment[:INIB_comment] = "/* セル INIB %s */\n"
154
+ @@comment[:CB_comment] = "/* セル CB %s */\n"
155
+ @@comment[:EPD_comment] = "/* 受け口ディスクリプタ %s */\n"
156
+ @@comment[:PAC_comment] = "/* プロトタイプ宣言や変数の定義をここに書きます %s */\n"
157
+ @@comment[:CAAM_comment] = " *\n * 属性アクセスマクロ %s\n"
158
+ @@comment[:CAAMI_comment] = " *\n * 属性アクセスマクロ %s\n"
159
+ @@comment[:TYP_comment] = " *\n * 型 %s\n * CELLCB 型 : %s\n * CELLIDX 型 : %s\n"
160
+ @@comment[:TCPF_comment] = " * 呼び口関数 %s\n"
161
+ @@comment[:TEPF_comment] = "/* 受け口関数 %s */\n"
162
+ @@comment[:TEFB_comment] = "\t/* ここに処理本体を記述します %s */\n"
163
+ end