zeroc-ice 3.7.10 → 3.8.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 (1216) hide show
  1. checksums.yaml +4 -4
  2. data/dist/IceRuby/Communicator.cpp +575 -0
  3. data/dist/IceRuby/Communicator.h +19 -0
  4. data/dist/IceRuby/Config.h +77 -0
  5. data/dist/IceRuby/Connection.cpp +428 -0
  6. data/dist/IceRuby/Connection.h +20 -0
  7. data/dist/IceRuby/DefaultSliceLoader.cpp +45 -0
  8. data/dist/IceRuby/DefaultSliceLoader.h +25 -0
  9. data/dist/IceRuby/Endpoint.cpp +342 -0
  10. data/dist/IceRuby/Endpoint.h +18 -0
  11. data/dist/IceRuby/ImplicitContext.cpp +143 -0
  12. data/dist/IceRuby/ImplicitContext.h +16 -0
  13. data/dist/IceRuby/Init.cpp +36 -0
  14. data/dist/IceRuby/Logger.cpp +146 -0
  15. data/dist/IceRuby/Logger.h +19 -0
  16. data/dist/IceRuby/Operation.cpp +623 -0
  17. data/dist/IceRuby/Operation.h +28 -0
  18. data/dist/IceRuby/Properties.cpp +413 -0
  19. data/dist/IceRuby/Properties.h +16 -0
  20. data/dist/IceRuby/Proxy.cpp +926 -0
  21. data/dist/IceRuby/Proxy.h +21 -0
  22. data/dist/IceRuby/RubySliceLoader.cpp +39 -0
  23. data/dist/IceRuby/RubySliceLoader.h +27 -0
  24. data/dist/IceRuby/Slice.cpp +199 -0
  25. data/dist/IceRuby/Slice.h +13 -0
  26. data/dist/IceRuby/Types.cpp +3133 -0
  27. data/dist/IceRuby/Types.h +533 -0
  28. data/dist/IceRuby/Util.cpp +553 -0
  29. data/dist/IceRuby/Util.h +485 -0
  30. data/dist/ice/cpp/include/Ice/AsyncResponseHandler.h +85 -0
  31. data/dist/ice/cpp/include/Ice/BatchRequest.h +39 -0
  32. data/dist/ice/cpp/include/Ice/BatchRequestQueueF.h +14 -0
  33. data/dist/ice/cpp/include/Ice/Buffer.h +159 -0
  34. data/dist/ice/cpp/include/Ice/Communicator.h +411 -0
  35. data/dist/ice/cpp/include/Ice/CommunicatorF.h +16 -0
  36. data/dist/ice/cpp/include/Ice/Config.h +60 -0
  37. data/dist/ice/cpp/include/Ice/Connection.h +410 -0
  38. data/dist/ice/cpp/include/Ice/ConnectionF.h +36 -0
  39. data/dist/ice/cpp/include/Ice/ConnectionIF.h +16 -0
  40. data/dist/ice/cpp/include/Ice/CtrlCHandler.h +56 -0
  41. data/dist/ice/cpp/include/Ice/Current.h +60 -0
  42. data/dist/ice/cpp/include/Ice/DefaultSliceLoader.h +160 -0
  43. data/dist/ice/cpp/include/Ice/Demangle.h +17 -0
  44. data/dist/ice/cpp/include/Ice/Endpoint.h +298 -0
  45. data/dist/ice/cpp/include/Ice/EndpointF.h +44 -0
  46. data/dist/ice/cpp/include/Ice/EndpointSelectionType.h +21 -0
  47. data/dist/ice/cpp/include/Ice/Exception.h +56 -0
  48. data/dist/ice/cpp/include/Ice/FacetMap.h +16 -0
  49. data/dist/ice/cpp/include/Ice/Format.h +22 -0
  50. data/dist/ice/cpp/include/Ice/Ice.h +60 -0
  51. data/dist/ice/cpp/include/Ice/IconvStringConverter.h +216 -0
  52. data/dist/ice/cpp/include/Ice/ImplicitContext.h +76 -0
  53. data/dist/ice/cpp/include/Ice/IncomingRequest.h +75 -0
  54. data/dist/ice/cpp/include/Ice/Initialize.h +143 -0
  55. data/dist/ice/cpp/include/Ice/InputStream.h +942 -0
  56. data/dist/ice/cpp/include/Ice/InstanceF.h +14 -0
  57. data/dist/ice/cpp/include/Ice/Instrumentation.h +319 -0
  58. data/dist/ice/cpp/include/Ice/LocalException.h +58 -0
  59. data/dist/ice/cpp/include/Ice/LocalExceptions.h +870 -0
  60. data/dist/ice/cpp/include/Ice/Logger.h +62 -0
  61. data/dist/ice/cpp/include/Ice/LoggerUtil.h +162 -0
  62. data/dist/ice/cpp/include/Ice/MarshaledResult.h +50 -0
  63. data/dist/ice/cpp/include/Ice/NativePropertiesAdmin.h +54 -0
  64. data/dist/ice/cpp/include/Ice/Object.h +168 -0
  65. data/dist/ice/cpp/include/Ice/ObjectAdapter.h +324 -0
  66. data/dist/ice/cpp/include/Ice/ObjectAdapterF.h +16 -0
  67. data/dist/ice/cpp/include/Ice/ObjectF.h +16 -0
  68. data/dist/ice/cpp/include/Ice/ObserverHelper.h +164 -0
  69. data/dist/ice/cpp/include/Ice/OutgoingAsync.h +512 -0
  70. data/dist/ice/cpp/include/Ice/OutgoingResponse.h +129 -0
  71. data/dist/ice/cpp/include/Ice/OutputStream.h +872 -0
  72. data/dist/ice/cpp/include/Ice/Plugin.h +73 -0
  73. data/dist/ice/cpp/include/Ice/PluginFactory.h +77 -0
  74. data/dist/ice/cpp/include/Ice/PopDisableWarnings.h +16 -0
  75. data/dist/ice/cpp/include/Ice/Properties.h +307 -0
  76. data/dist/ice/cpp/include/Ice/PropertiesF.h +19 -0
  77. data/dist/ice/cpp/include/Ice/Proxy.h +742 -0
  78. data/dist/ice/cpp/include/Ice/ProxyF.h +11 -0
  79. data/dist/ice/cpp/include/Ice/ProxyFunctions.h +209 -0
  80. data/dist/ice/cpp/include/Ice/PushDisableWarnings.h +29 -0
  81. data/dist/ice/cpp/include/Ice/ReferenceF.h +14 -0
  82. data/dist/ice/cpp/include/Ice/RequestHandlerF.h +20 -0
  83. data/dist/ice/cpp/include/Ice/SSL/ClientAuthenticationOptions.h +268 -0
  84. data/dist/ice/cpp/include/Ice/SSL/Config.h +54 -0
  85. data/dist/ice/cpp/include/Ice/SSL/ConnectionInfo.h +107 -0
  86. data/dist/ice/cpp/include/Ice/SSL/ConnectionInfoF.h +39 -0
  87. data/dist/ice/cpp/include/Ice/SSL/EndpointInfo.h +40 -0
  88. data/dist/ice/cpp/include/Ice/SSL/SSLException.h +32 -0
  89. data/dist/ice/cpp/include/Ice/SSL/ServerAuthenticationOptions.h +278 -0
  90. data/dist/ice/cpp/include/Ice/ServantLocator.h +51 -0
  91. data/dist/ice/cpp/include/Ice/Service.h +219 -0
  92. data/dist/ice/cpp/include/Ice/SliceLoader.h +67 -0
  93. data/dist/ice/cpp/include/Ice/SlicedData.h +125 -0
  94. data/dist/ice/cpp/include/Ice/SlicedDataF.h +30 -0
  95. data/dist/ice/cpp/include/Ice/StreamHelpers.h +652 -0
  96. data/dist/ice/cpp/include/Ice/StreamableTraits.h +291 -0
  97. data/dist/ice/cpp/include/Ice/StringConverter.h +167 -0
  98. data/dist/ice/cpp/include/Ice/StringUtil.h +114 -0
  99. data/dist/ice/cpp/include/Ice/TimerTask.h +24 -0
  100. data/dist/ice/cpp/include/Ice/TupleCompare.h +103 -0
  101. data/dist/ice/cpp/include/Ice/UUID.h +16 -0
  102. data/dist/ice/cpp/include/Ice/UserException.h +46 -0
  103. data/dist/ice/cpp/include/Ice/UserExceptionFactory.h +15 -0
  104. data/dist/ice/cpp/include/Ice/Value.h +127 -0
  105. data/dist/ice/cpp/include/Ice/ValueF.h +16 -0
  106. data/dist/ice/cpp/include/IceDiscovery/IceDiscovery.h +28 -0
  107. data/dist/ice/cpp/include/IceLocatorDiscovery/IceLocatorDiscovery.h +28 -0
  108. data/dist/ice/cpp/include/generated/Ice/BuiltinSequences.h +70 -0
  109. data/dist/ice/cpp/include/generated/Ice/Context.h +40 -0
  110. data/dist/ice/cpp/include/generated/Ice/EndpointTypes.h +74 -0
  111. data/dist/ice/cpp/include/generated/Ice/Identity.h +108 -0
  112. data/dist/ice/cpp/include/generated/Ice/Locator.h +542 -0
  113. data/dist/ice/cpp/include/generated/Ice/LocatorRegistry.h +443 -0
  114. data/dist/ice/cpp/include/generated/Ice/Metrics.h +1103 -0
  115. data/dist/ice/cpp/include/generated/Ice/OperationMode.h +73 -0
  116. data/dist/ice/cpp/include/generated/Ice/Process.h +245 -0
  117. data/dist/ice/cpp/include/generated/Ice/PropertiesAdmin.h +314 -0
  118. data/dist/ice/cpp/include/generated/Ice/PropertyDict.h +39 -0
  119. data/dist/ice/cpp/include/generated/Ice/RemoteLogger.h +724 -0
  120. data/dist/ice/cpp/include/generated/Ice/ReplyStatus.h +94 -0
  121. data/dist/ice/cpp/include/generated/Ice/Router.h +496 -0
  122. data/dist/ice/cpp/include/generated/Ice/SliceChecksumDict.h +37 -0
  123. data/dist/ice/cpp/include/generated/Ice/Version.h +112 -0
  124. data/dist/ice/cpp/include/generated/IceDiscovery/Lookup.h +498 -0
  125. data/dist/ice/cpp/include/generated/IceLocatorDiscovery/Lookup.h +387 -0
  126. data/dist/ice/cpp/src/Ice/Acceptor.h +41 -0
  127. data/dist/ice/cpp/src/Ice/AcceptorF.h +17 -0
  128. data/dist/ice/cpp/src/Ice/AddDefaultPluginFactories.h +16 -0
  129. data/dist/ice/cpp/src/Ice/AddDefaultPluginFactories_all.cpp +43 -0
  130. data/dist/ice/cpp/src/Ice/AddDefaultPluginFactories_min.cpp +17 -0
  131. data/dist/ice/cpp/src/Ice/ArgVector.cpp +58 -0
  132. data/dist/ice/cpp/src/Ice/ArgVector.h +30 -0
  133. data/dist/ice/cpp/src/Ice/Base64.cpp +263 -0
  134. data/dist/ice/cpp/src/Ice/Base64.h +26 -0
  135. data/dist/ice/cpp/src/Ice/BatchRequestQueue.cpp +199 -0
  136. data/dist/ice/cpp/src/Ice/BatchRequestQueue.h +49 -0
  137. data/dist/ice/cpp/src/Ice/Buffer.cpp +187 -0
  138. data/dist/ice/cpp/src/Ice/CheckIdentity.h +21 -0
  139. data/dist/ice/cpp/src/Ice/CollocatedRequestHandler.cpp +373 -0
  140. data/dist/ice/cpp/src/Ice/CollocatedRequestHandler.h +65 -0
  141. data/dist/ice/cpp/src/Ice/Communicator.cpp +399 -0
  142. data/dist/ice/cpp/src/Ice/CommunicatorFlushBatchAsync.cpp +140 -0
  143. data/dist/ice/cpp/src/Ice/CommunicatorFlushBatchAsync.h +39 -0
  144. data/dist/ice/cpp/src/Ice/ConnectRequestHandler.cpp +227 -0
  145. data/dist/ice/cpp/src/Ice/ConnectRequestHandler.h +51 -0
  146. data/dist/ice/cpp/src/Ice/ConnectRequestHandlerF.h +14 -0
  147. data/dist/ice/cpp/src/Ice/Connection.cpp +44 -0
  148. data/dist/ice/cpp/src/Ice/ConnectionFactory.cpp +1758 -0
  149. data/dist/ice/cpp/src/Ice/ConnectionFactory.h +264 -0
  150. data/dist/ice/cpp/src/Ice/ConnectionFactoryF.h +17 -0
  151. data/dist/ice/cpp/src/Ice/ConnectionI.cpp +3563 -0
  152. data/dist/ice/cpp/src/Ice/ConnectionI.h +429 -0
  153. data/dist/ice/cpp/src/Ice/ConnectionOptions.h +22 -0
  154. data/dist/ice/cpp/src/Ice/Connector.h +38 -0
  155. data/dist/ice/cpp/src/Ice/ConnectorF.h +14 -0
  156. data/dist/ice/cpp/src/Ice/ConsoleUtil.cpp +136 -0
  157. data/dist/ice/cpp/src/Ice/ConsoleUtil.h +79 -0
  158. data/dist/ice/cpp/src/Ice/CtrlCHandler.cpp +189 -0
  159. data/dist/ice/cpp/src/Ice/Current.cpp +29 -0
  160. data/dist/ice/cpp/src/Ice/DLLMain.cpp +40 -0
  161. data/dist/ice/cpp/src/Ice/DefaultSliceLoader.cpp +39 -0
  162. data/dist/ice/cpp/src/Ice/DefaultsAndOverrides.cpp +81 -0
  163. data/dist/ice/cpp/src/Ice/DefaultsAndOverrides.h +38 -0
  164. data/dist/ice/cpp/src/Ice/DefaultsAndOverridesF.h +14 -0
  165. data/dist/ice/cpp/src/Ice/Demangle.cpp +25 -0
  166. data/dist/ice/cpp/src/Ice/DisableWarnings.h +31 -0
  167. data/dist/ice/cpp/src/Ice/DynamicLibrary.cpp +216 -0
  168. data/dist/ice/cpp/src/Ice/DynamicLibrary.h +91 -0
  169. data/dist/ice/cpp/src/Ice/Endian.h +40 -0
  170. data/dist/ice/cpp/src/Ice/EndpointFactory.cpp +165 -0
  171. data/dist/ice/cpp/src/Ice/EndpointFactory.h +96 -0
  172. data/dist/ice/cpp/src/Ice/EndpointFactoryF.h +14 -0
  173. data/dist/ice/cpp/src/Ice/EndpointFactoryManager.cpp +180 -0
  174. data/dist/ice/cpp/src/Ice/EndpointFactoryManager.h +42 -0
  175. data/dist/ice/cpp/src/Ice/EndpointFactoryManagerF.h +14 -0
  176. data/dist/ice/cpp/src/Ice/EndpointI.cpp +128 -0
  177. data/dist/ice/cpp/src/Ice/EndpointI.h +150 -0
  178. data/dist/ice/cpp/src/Ice/EndpointIF.h +21 -0
  179. data/dist/ice/cpp/src/Ice/EventHandler.cpp +9 -0
  180. data/dist/ice/cpp/src/Ice/EventHandler.h +71 -0
  181. data/dist/ice/cpp/src/Ice/EventHandlerF.h +14 -0
  182. data/dist/ice/cpp/src/Ice/Exception.cpp +5 -0
  183. data/dist/ice/cpp/src/Ice/FileUtil.cpp +476 -0
  184. data/dist/ice/cpp/src/Ice/FileUtil.h +152 -0
  185. data/dist/ice/cpp/src/Ice/FixedRequestHandler.cpp +34 -0
  186. data/dist/ice/cpp/src/Ice/FixedRequestHandler.h +29 -0
  187. data/dist/ice/cpp/src/Ice/HashUtil.h +67 -0
  188. data/dist/ice/cpp/src/Ice/HttpParser.cpp +684 -0
  189. data/dist/ice/cpp/src/Ice/HttpParser.h +112 -0
  190. data/dist/ice/cpp/src/Ice/IPEndpointI.cpp +593 -0
  191. data/dist/ice/cpp/src/Ice/IPEndpointI.h +106 -0
  192. data/dist/ice/cpp/src/Ice/IPEndpointIF.h +17 -0
  193. data/dist/ice/cpp/src/Ice/IdleTimeoutTransceiverDecorator.cpp +172 -0
  194. data/dist/ice/cpp/src/Ice/IdleTimeoutTransceiverDecorator.h +89 -0
  195. data/dist/ice/cpp/src/Ice/ImplicitContext.cpp +109 -0
  196. data/dist/ice/cpp/src/Ice/IncomingRequest.cpp +66 -0
  197. data/dist/ice/cpp/src/Ice/Initialize.cpp +160 -0
  198. data/dist/ice/cpp/src/Ice/InputStream.cpp +2206 -0
  199. data/dist/ice/cpp/src/Ice/Instance.cpp +1956 -0
  200. data/dist/ice/cpp/src/Ice/Instance.h +225 -0
  201. data/dist/ice/cpp/src/Ice/InstrumentationI.cpp +959 -0
  202. data/dist/ice/cpp/src/Ice/InstrumentationI.h +235 -0
  203. data/dist/ice/cpp/src/Ice/LocalException.cpp +518 -0
  204. data/dist/ice/cpp/src/Ice/LocalExceptions.cpp +577 -0
  205. data/dist/ice/cpp/src/Ice/LocatorInfo.cpp +851 -0
  206. data/dist/ice/cpp/src/Ice/LocatorInfo.h +176 -0
  207. data/dist/ice/cpp/src/Ice/LocatorInfoF.h +20 -0
  208. data/dist/ice/cpp/src/Ice/LoggerAdminI.cpp +774 -0
  209. data/dist/ice/cpp/src/Ice/LoggerAdminI.h +31 -0
  210. data/dist/ice/cpp/src/Ice/LoggerI.cpp +234 -0
  211. data/dist/ice/cpp/src/Ice/LoggerI.h +47 -0
  212. data/dist/ice/cpp/src/Ice/LoggerMiddleware.cpp +176 -0
  213. data/dist/ice/cpp/src/Ice/LoggerMiddleware.h +42 -0
  214. data/dist/ice/cpp/src/Ice/LoggerUtil.cpp +76 -0
  215. data/dist/ice/cpp/src/Ice/MarshaledResult.cpp +20 -0
  216. data/dist/ice/cpp/src/Ice/MetricsAdminI.cpp +608 -0
  217. data/dist/ice/cpp/src/Ice/MetricsAdminI.h +600 -0
  218. data/dist/ice/cpp/src/Ice/MetricsFunctional.h +92 -0
  219. data/dist/ice/cpp/src/Ice/MetricsObserverI.h +587 -0
  220. data/dist/ice/cpp/src/Ice/NativePropertiesAdmin.cpp +185 -0
  221. data/dist/ice/cpp/src/Ice/Network.cpp +1927 -0
  222. data/dist/ice/cpp/src/Ice/Network.h +265 -0
  223. data/dist/ice/cpp/src/Ice/NetworkF.h +11 -0
  224. data/dist/ice/cpp/src/Ice/NetworkProxy.cpp +306 -0
  225. data/dist/ice/cpp/src/Ice/NetworkProxy.h +67 -0
  226. data/dist/ice/cpp/src/Ice/NetworkProxyF.h +14 -0
  227. data/dist/ice/cpp/src/Ice/OSLogLoggerI.cpp +55 -0
  228. data/dist/ice/cpp/src/Ice/OSLogLoggerI.h +35 -0
  229. data/dist/ice/cpp/src/Ice/Object.cpp +249 -0
  230. data/dist/ice/cpp/src/Ice/ObjectAdapterFactory.cpp +348 -0
  231. data/dist/ice/cpp/src/Ice/ObjectAdapterFactory.h +53 -0
  232. data/dist/ice/cpp/src/Ice/ObjectAdapterFactoryF.h +14 -0
  233. data/dist/ice/cpp/src/Ice/ObjectAdapterI.cpp +1383 -0
  234. data/dist/ice/cpp/src/Ice/ObjectAdapterI.h +163 -0
  235. data/dist/ice/cpp/src/Ice/ObserverHelper.cpp +75 -0
  236. data/dist/ice/cpp/src/Ice/ObserverMiddleware.cpp +96 -0
  237. data/dist/ice/cpp/src/Ice/ObserverMiddleware.h +25 -0
  238. data/dist/ice/cpp/src/Ice/OpaqueEndpointI.cpp +368 -0
  239. data/dist/ice/cpp/src/Ice/OpaqueEndpointI.h +66 -0
  240. data/dist/ice/cpp/src/Ice/Options.cpp +980 -0
  241. data/dist/ice/cpp/src/Ice/Options.h +119 -0
  242. data/dist/ice/cpp/src/Ice/OutgoingAsync.cpp +1106 -0
  243. data/dist/ice/cpp/src/Ice/OutgoingResponse.cpp +276 -0
  244. data/dist/ice/cpp/src/Ice/OutputStream.cpp +1454 -0
  245. data/dist/ice/cpp/src/Ice/OutputUtil.cpp +344 -0
  246. data/dist/ice/cpp/src/Ice/OutputUtil.h +173 -0
  247. data/dist/ice/cpp/src/Ice/PluginManagerI.cpp +344 -0
  248. data/dist/ice/cpp/src/Ice/PluginManagerI.h +54 -0
  249. data/dist/ice/cpp/src/Ice/Properties.cpp +931 -0
  250. data/dist/ice/cpp/src/Ice/PropertyNames.cpp +606 -0
  251. data/dist/ice/cpp/src/Ice/PropertyNames.h +63 -0
  252. data/dist/ice/cpp/src/Ice/PropertyUtil.cpp +103 -0
  253. data/dist/ice/cpp/src/Ice/PropertyUtil.h +31 -0
  254. data/dist/ice/cpp/src/Ice/Protocol.cpp +159 -0
  255. data/dist/ice/cpp/src/Ice/Protocol.h +116 -0
  256. data/dist/ice/cpp/src/Ice/ProtocolInstance.cpp +186 -0
  257. data/dist/ice/cpp/src/Ice/ProtocolInstance.h +74 -0
  258. data/dist/ice/cpp/src/Ice/ProtocolInstanceF.h +14 -0
  259. data/dist/ice/cpp/src/Ice/ProtocolPluginFacade.cpp +29 -0
  260. data/dist/ice/cpp/src/Ice/ProtocolPluginFacade.h +35 -0
  261. data/dist/ice/cpp/src/Ice/Proxy.cpp +541 -0
  262. data/dist/ice/cpp/src/Ice/ProxyAsync.cpp +684 -0
  263. data/dist/ice/cpp/src/Ice/ProxyFunctions.cpp +90 -0
  264. data/dist/ice/cpp/src/Ice/PushDisableDeprecatedWarnings.h +15 -0
  265. data/dist/ice/cpp/src/Ice/Random.cpp +29 -0
  266. data/dist/ice/cpp/src/Ice/Random.h +23 -0
  267. data/dist/ice/cpp/src/Ice/Reference.cpp +1584 -0
  268. data/dist/ice/cpp/src/Ice/Reference.h +339 -0
  269. data/dist/ice/cpp/src/Ice/ReferenceFactory.cpp +830 -0
  270. data/dist/ice/cpp/src/Ice/ReferenceFactory.h +58 -0
  271. data/dist/ice/cpp/src/Ice/ReferenceFactoryF.h +14 -0
  272. data/dist/ice/cpp/src/Ice/RequestHandler.cpp +28 -0
  273. data/dist/ice/cpp/src/Ice/RequestHandler.h +53 -0
  274. data/dist/ice/cpp/src/Ice/RequestHandlerCache.cpp +76 -0
  275. data/dist/ice/cpp/src/Ice/RequestHandlerCache.h +33 -0
  276. data/dist/ice/cpp/src/Ice/ResourceConfig.h +27 -0
  277. data/dist/ice/cpp/src/Ice/RetryQueue.cpp +151 -0
  278. data/dist/ice/cpp/src/Ice/RetryQueue.h +59 -0
  279. data/dist/ice/cpp/src/Ice/RetryQueueF.h +14 -0
  280. data/dist/ice/cpp/src/Ice/RouterInfo.cpp +275 -0
  281. data/dist/ice/cpp/src/Ice/RouterInfo.h +95 -0
  282. data/dist/ice/cpp/src/Ice/RouterInfoF.h +17 -0
  283. data/dist/ice/cpp/src/Ice/SHA1.cpp +195 -0
  284. data/dist/ice/cpp/src/Ice/SHA1.h +35 -0
  285. data/dist/ice/cpp/src/Ice/SSL/DistinguishedName.cpp +89 -0
  286. data/dist/ice/cpp/src/Ice/SSL/DistinguishedName.h +87 -0
  287. data/dist/ice/cpp/src/Ice/SSL/OpenSSLEngine.cpp +513 -0
  288. data/dist/ice/cpp/src/Ice/SSL/OpenSSLEngine.h +40 -0
  289. data/dist/ice/cpp/src/Ice/SSL/OpenSSLEngineF.h +13 -0
  290. data/dist/ice/cpp/src/Ice/SSL/OpenSSLTransceiverI.cpp +635 -0
  291. data/dist/ice/cpp/src/Ice/SSL/OpenSSLTransceiverI.h +80 -0
  292. data/dist/ice/cpp/src/Ice/SSL/RFC2253.cpp +487 -0
  293. data/dist/ice/cpp/src/Ice/SSL/RFC2253.h +58 -0
  294. data/dist/ice/cpp/src/Ice/SSL/SSLAcceptorI.cpp +124 -0
  295. data/dist/ice/cpp/src/Ice/SSL/SSLAcceptorI.h +52 -0
  296. data/dist/ice/cpp/src/Ice/SSL/SSLConnectorI.cpp +92 -0
  297. data/dist/ice/cpp/src/Ice/SSL/SSLConnectorI.h +38 -0
  298. data/dist/ice/cpp/src/Ice/SSL/SSLEndpointI.cpp +377 -0
  299. data/dist/ice/cpp/src/Ice/SSL/SSLEndpointI.h +84 -0
  300. data/dist/ice/cpp/src/Ice/SSL/SSLEngine.cpp +115 -0
  301. data/dist/ice/cpp/src/Ice/SSL/SSLEngine.h +72 -0
  302. data/dist/ice/cpp/src/Ice/SSL/SSLEngineF.h +14 -0
  303. data/dist/ice/cpp/src/Ice/SSL/SSLException.cpp +18 -0
  304. data/dist/ice/cpp/src/Ice/SSL/SSLInstance.cpp +27 -0
  305. data/dist/ice/cpp/src/Ice/SSL/SSLInstance.h +26 -0
  306. data/dist/ice/cpp/src/Ice/SSL/SSLInstanceF.h +19 -0
  307. data/dist/ice/cpp/src/Ice/SSL/SSLUtil.cpp +654 -0
  308. data/dist/ice/cpp/src/Ice/SSL/SSLUtil.h +104 -0
  309. data/dist/ice/cpp/src/Ice/SSL/SchannelEngine.cpp +1437 -0
  310. data/dist/ice/cpp/src/Ice/SSL/SchannelEngine.h +58 -0
  311. data/dist/ice/cpp/src/Ice/SSL/SchannelEngineF.h +18 -0
  312. data/dist/ice/cpp/src/Ice/SSL/SchannelTransceiverI.cpp +1085 -0
  313. data/dist/ice/cpp/src/Ice/SSL/SchannelTransceiverI.h +118 -0
  314. data/dist/ice/cpp/src/Ice/SSL/SecureTransportEngine.cpp +822 -0
  315. data/dist/ice/cpp/src/Ice/SSL/SecureTransportEngine.h +44 -0
  316. data/dist/ice/cpp/src/Ice/SSL/SecureTransportEngineF.h +18 -0
  317. data/dist/ice/cpp/src/Ice/SSL/SecureTransportTransceiverI.cpp +621 -0
  318. data/dist/ice/cpp/src/Ice/SSL/SecureTransportTransceiverI.h +91 -0
  319. data/dist/ice/cpp/src/Ice/SSL/SecureTransportUtil.cpp +1061 -0
  320. data/dist/ice/cpp/src/Ice/SSL/SecureTransportUtil.h +40 -0
  321. data/dist/ice/cpp/src/Ice/SSL/TrustManager.cpp +222 -0
  322. data/dist/ice/cpp/src/Ice/SSL/TrustManager.h +42 -0
  323. data/dist/ice/cpp/src/Ice/SSL/TrustManagerF.h +14 -0
  324. data/dist/ice/cpp/src/Ice/ScannerConfig.h +35 -0
  325. data/dist/ice/cpp/src/Ice/Selector.cpp +1270 -0
  326. data/dist/ice/cpp/src/Ice/Selector.h +235 -0
  327. data/dist/ice/cpp/src/Ice/ServantManager.cpp +547 -0
  328. data/dist/ice/cpp/src/Ice/ServantManager.h +66 -0
  329. data/dist/ice/cpp/src/Ice/ServantManagerF.h +14 -0
  330. data/dist/ice/cpp/src/Ice/Service.cpp +1790 -0
  331. data/dist/ice/cpp/src/Ice/SharedContext.h +33 -0
  332. data/dist/ice/cpp/src/Ice/SliceLoader.cpp +53 -0
  333. data/dist/ice/cpp/src/Ice/SlicedData.cpp +48 -0
  334. data/dist/ice/cpp/src/Ice/StreamSocket.cpp +472 -0
  335. data/dist/ice/cpp/src/Ice/StreamSocket.h +73 -0
  336. data/dist/ice/cpp/src/Ice/StringConverter.cpp +582 -0
  337. data/dist/ice/cpp/src/Ice/StringUtil.cpp +1137 -0
  338. data/dist/ice/cpp/src/Ice/SysLoggerI.cpp +160 -0
  339. data/dist/ice/cpp/src/Ice/SysLoggerI.h +34 -0
  340. data/dist/ice/cpp/src/Ice/SystemdJournalI.cpp +65 -0
  341. data/dist/ice/cpp/src/Ice/SystemdJournalI.h +33 -0
  342. data/dist/ice/cpp/src/Ice/TargetCompare.h +96 -0
  343. data/dist/ice/cpp/src/Ice/TcpAcceptor.cpp +213 -0
  344. data/dist/ice/cpp/src/Ice/TcpAcceptor.h +55 -0
  345. data/dist/ice/cpp/src/Ice/TcpConnector.cpp +128 -0
  346. data/dist/ice/cpp/src/Ice/TcpConnector.h +36 -0
  347. data/dist/ice/cpp/src/Ice/TcpEndpointI.cpp +411 -0
  348. data/dist/ice/cpp/src/Ice/TcpEndpointI.h +86 -0
  349. data/dist/ice/cpp/src/Ice/TcpTransceiver.cpp +147 -0
  350. data/dist/ice/cpp/src/Ice/TcpTransceiver.h +53 -0
  351. data/dist/ice/cpp/src/Ice/ThreadPool.cpp +1110 -0
  352. data/dist/ice/cpp/src/Ice/ThreadPool.h +305 -0
  353. data/dist/ice/cpp/src/Ice/ThreadPoolF.h +14 -0
  354. data/dist/ice/cpp/src/Ice/TimeUtil.cpp +47 -0
  355. data/dist/ice/cpp/src/Ice/TimeUtil.h +21 -0
  356. data/dist/ice/cpp/src/Ice/Timer.cpp +169 -0
  357. data/dist/ice/cpp/src/Ice/Timer.h +212 -0
  358. data/dist/ice/cpp/src/Ice/TraceLevels.cpp +20 -0
  359. data/dist/ice/cpp/src/Ice/TraceLevels.h +39 -0
  360. data/dist/ice/cpp/src/Ice/TraceLevelsF.h +14 -0
  361. data/dist/ice/cpp/src/Ice/TraceUtil.cpp +399 -0
  362. data/dist/ice/cpp/src/Ice/TraceUtil.h +41 -0
  363. data/dist/ice/cpp/src/Ice/Transceiver.cpp +14 -0
  364. data/dist/ice/cpp/src/Ice/Transceiver.h +52 -0
  365. data/dist/ice/cpp/src/Ice/TransceiverF.h +23 -0
  366. data/dist/ice/cpp/src/Ice/UUID.cpp +79 -0
  367. data/dist/ice/cpp/src/Ice/UdpConnector.cpp +131 -0
  368. data/dist/ice/cpp/src/Ice/UdpConnector.h +36 -0
  369. data/dist/ice/cpp/src/Ice/UdpEndpointI.cpp +480 -0
  370. data/dist/ice/cpp/src/Ice/UdpEndpointI.h +92 -0
  371. data/dist/ice/cpp/src/Ice/UdpTransceiver.cpp +786 -0
  372. data/dist/ice/cpp/src/Ice/UdpTransceiver.h +90 -0
  373. data/dist/ice/cpp/src/Ice/UndefSysMacros.h +37 -0
  374. data/dist/ice/cpp/src/Ice/UniqueRef.h +77 -0
  375. data/dist/ice/cpp/src/Ice/UserException.cpp +58 -0
  376. data/dist/ice/cpp/src/Ice/Value.cpp +145 -0
  377. data/dist/ice/cpp/src/Ice/WSAcceptor.cpp +87 -0
  378. data/dist/ice/cpp/src/Ice/WSAcceptor.h +46 -0
  379. data/dist/ice/cpp/src/Ice/WSConnector.cpp +87 -0
  380. data/dist/ice/cpp/src/Ice/WSConnector.h +36 -0
  381. data/dist/ice/cpp/src/Ice/WSEndpoint.cpp +455 -0
  382. data/dist/ice/cpp/src/Ice/WSEndpoint.h +82 -0
  383. data/dist/ice/cpp/src/Ice/WSTransceiver.cpp +1715 -0
  384. data/dist/ice/cpp/src/Ice/WSTransceiver.h +135 -0
  385. data/dist/ice/cpp/src/Ice/generated/BuiltinSequences.cpp +40 -0
  386. data/dist/ice/cpp/src/Ice/generated/Context.cpp +40 -0
  387. data/dist/ice/cpp/src/Ice/generated/EndpointTypes.cpp +40 -0
  388. data/dist/ice/cpp/src/Ice/generated/Identity.cpp +47 -0
  389. data/dist/ice/cpp/src/Ice/generated/Locator.cpp +752 -0
  390. data/dist/ice/cpp/src/Ice/generated/LocatorRegistry.cpp +577 -0
  391. data/dist/ice/cpp/src/Ice/generated/Metrics.cpp +1205 -0
  392. data/dist/ice/cpp/src/Ice/generated/OperationMode.cpp +56 -0
  393. data/dist/ice/cpp/src/Ice/generated/Process.cpp +330 -0
  394. data/dist/ice/cpp/src/Ice/generated/PropertiesAdmin.cpp +443 -0
  395. data/dist/ice/cpp/src/Ice/generated/PropertyDict.cpp +40 -0
  396. data/dist/ice/cpp/src/Ice/generated/RemoteLogger.cpp +851 -0
  397. data/dist/ice/cpp/src/Ice/generated/ReplyStatus.cpp +70 -0
  398. data/dist/ice/cpp/src/Ice/generated/Router.cpp +660 -0
  399. data/dist/ice/cpp/src/Ice/generated/SliceChecksumDict.cpp +39 -0
  400. data/dist/ice/cpp/src/Ice/generated/Version.cpp +54 -0
  401. data/dist/ice/cpp/src/IceDiscovery/LocatorI.cpp +202 -0
  402. data/dist/ice/cpp/src/IceDiscovery/LocatorI.h +68 -0
  403. data/dist/ice/cpp/src/IceDiscovery/LookupI.cpp +494 -0
  404. data/dist/ice/cpp/src/IceDiscovery/LookupI.h +168 -0
  405. data/dist/ice/cpp/src/IceDiscovery/PluginI.cpp +155 -0
  406. data/dist/ice/cpp/src/IceDiscovery/PluginI.h +31 -0
  407. data/dist/ice/cpp/src/IceDiscovery/generated/Lookup.cpp +638 -0
  408. data/dist/ice/cpp/src/IceLocatorDiscovery/Plugin.h +24 -0
  409. data/dist/ice/cpp/src/IceLocatorDiscovery/PluginI.cpp +822 -0
  410. data/dist/ice/cpp/src/IceLocatorDiscovery/generated/Lookup.cpp +468 -0
  411. data/dist/ice/cpp/src/Slice/DeprecationReporter.cpp +172 -0
  412. data/dist/ice/cpp/src/Slice/DeprecationReporter.h +14 -0
  413. data/dist/ice/cpp/src/Slice/DocCommentParser.cpp +736 -0
  414. data/dist/ice/cpp/src/Slice/DocCommentParser.h +61 -0
  415. data/dist/ice/cpp/src/Slice/FileTracker.cpp +96 -0
  416. data/dist/ice/cpp/src/Slice/FileTracker.h +44 -0
  417. data/dist/ice/cpp/src/Slice/Grammar.cpp +4125 -0
  418. data/dist/ice/cpp/src/Slice/Grammar.h +138 -0
  419. data/dist/ice/cpp/src/Slice/GrammarUtil.h +128 -0
  420. data/dist/ice/cpp/src/Slice/MetadataValidation.cpp +473 -0
  421. data/dist/ice/cpp/src/Slice/MetadataValidation.h +106 -0
  422. data/dist/ice/cpp/src/Slice/Parser.cpp +4906 -0
  423. data/dist/ice/cpp/src/Slice/Parser.h +1175 -0
  424. data/dist/ice/cpp/src/Slice/Preprocessor.cpp +295 -0
  425. data/dist/ice/cpp/src/Slice/Preprocessor.h +44 -0
  426. data/dist/ice/cpp/src/Slice/Scanner.cpp +3445 -0
  427. data/dist/ice/cpp/src/Slice/SliceUtil.cpp +790 -0
  428. data/dist/ice/cpp/src/Slice/StringLiteralUtil.cpp +448 -0
  429. data/dist/ice/cpp/src/Slice/Util.h +134 -0
  430. data/dist/ice/cpp/src/slice2rb/Main.cpp +33 -0
  431. data/dist/ice/cpp/src/slice2rb/Ruby.cpp +250 -0
  432. data/dist/ice/cpp/src/slice2rb/RubyUtil.cpp +1197 -0
  433. data/dist/ice/cpp/src/slice2rb/RubyUtil.h +56 -0
  434. data/dist/ice/mcpp/internal.H +530 -0
  435. data/dist/ice/mcpp/system.c +2741 -0
  436. data/dist/ice/slice/Glacier2/Metrics.ice +47 -0
  437. data/dist/ice/slice/Glacier2/PermissionsVerifier.ice +55 -0
  438. data/dist/ice/slice/Glacier2/Router.ice +93 -0
  439. data/dist/ice/slice/Glacier2/SSLInfo.ice +42 -0
  440. data/dist/ice/slice/Glacier2/Session.ice +133 -0
  441. data/dist/ice/slice/Ice/BuiltinSequences.ice +54 -0
  442. data/dist/ice/slice/Ice/Context.ice +24 -0
  443. data/dist/ice/slice/Ice/EndpointTypes.ice +50 -0
  444. data/dist/ice/slice/Ice/Identity.ice +36 -0
  445. data/dist/ice/slice/Ice/Locator.ice +74 -0
  446. data/dist/ice/slice/Ice/LocatorRegistry.ice +77 -0
  447. data/dist/ice/slice/Ice/Metrics.ice +201 -0
  448. data/dist/ice/slice/Ice/OperationMode.ice +38 -0
  449. data/dist/ice/slice/Ice/Process.ice +28 -0
  450. data/dist/ice/slice/Ice/PropertiesAdmin.ice +37 -0
  451. data/dist/ice/slice/Ice/PropertyDict.ice +23 -0
  452. data/dist/ice/slice/Ice/RemoteLogger.ice +126 -0
  453. data/dist/ice/slice/Ice/ReplyStatus.ice +65 -0
  454. data/dist/ice/slice/Ice/Router.ice +54 -0
  455. data/dist/ice/slice/Ice/SliceChecksumDict.ice +18 -0
  456. data/dist/ice/slice/Ice/Version.ice +43 -0
  457. data/dist/ice/slice/IceBox/ServiceManager.ice +79 -0
  458. data/dist/ice/slice/IceGrid/Admin.ice +981 -0
  459. data/dist/ice/slice/IceGrid/Descriptor.ice +519 -0
  460. data/dist/ice/slice/IceGrid/Exception.ice +98 -0
  461. data/dist/ice/slice/IceGrid/FileParser.ice +36 -0
  462. data/dist/ice/slice/IceGrid/Registry.ice +130 -0
  463. data/dist/ice/slice/IceGrid/Session.ice +64 -0
  464. data/dist/ice/slice/IceGrid/UserAccountMapper.ice +34 -0
  465. data/dist/ice/slice/IceStorm/IceStorm.ice +186 -0
  466. data/dist/ice/slice/IceStorm/Metrics.ice +41 -0
  467. data/dist/lib/Glacier2/Metrics.rb +41 -0
  468. data/dist/lib/Glacier2/PermissionsVerifier.rb +61 -0
  469. data/dist/lib/Glacier2/Router.rb +73 -0
  470. data/dist/lib/Glacier2/SSLInfo.rb +64 -0
  471. data/dist/lib/Glacier2/Session.rb +187 -0
  472. data/dist/lib/Glacier2.rb +7 -0
  473. data/dist/lib/Ice/BuiltinSequences.rb +48 -0
  474. data/dist/lib/Ice/CompressBatch.rb +50 -0
  475. data/dist/lib/Ice/Context.rb +12 -0
  476. data/dist/lib/Ice/EndpointSelectionType.rb +49 -0
  477. data/dist/lib/Ice/EndpointTypes.rb +28 -0
  478. data/dist/lib/Ice/Exception.rb +20 -0
  479. data/dist/lib/Ice/Identity.rb +47 -0
  480. data/dist/lib/Ice/IdentitySpaceship.rb +16 -0
  481. data/dist/lib/Ice/InitializationData.rb +12 -0
  482. data/dist/lib/Ice/LocalExceptions.rb +168 -0
  483. data/dist/lib/Ice/Locator.rb +83 -0
  484. data/dist/lib/Ice/LocatorRegistry.rb +73 -0
  485. data/dist/lib/Ice/Metrics.rb +290 -0
  486. data/dist/lib/Ice/OperationMode.rb +58 -0
  487. data/dist/lib/Ice/Process.rb +34 -0
  488. data/dist/lib/Ice/PropertiesAdmin.rb +39 -0
  489. data/dist/lib/Ice/PropertyDict.rb +12 -0
  490. data/dist/lib/Ice/Proxy.rb +85 -0
  491. data/dist/lib/Ice/ProxyFunctions.rb +69 -0
  492. data/dist/lib/Ice/RemoteLogger.rb +176 -0
  493. data/dist/lib/Ice/ReplyStatus.rb +65 -0
  494. data/dist/lib/Ice/Router.rb +59 -0
  495. data/dist/lib/Ice/SliceChecksumDict.rb +12 -0
  496. data/dist/lib/Ice/SliceUtil.rb +41 -0
  497. data/dist/lib/Ice/Struct.rb +11 -0
  498. data/dist/lib/Ice/ToStringMode.rb +50 -0
  499. data/dist/lib/Ice/Value.rb +93 -0
  500. data/dist/lib/Ice/Version.rb +78 -0
  501. data/dist/lib/Ice.rb +37 -0
  502. data/dist/lib/IceBox/ServiceManager.rb +104 -0
  503. data/dist/lib/IceBox.rb +3 -0
  504. data/dist/lib/IceGrid/Admin.rb +1208 -0
  505. data/dist/lib/IceGrid/Descriptor.rb +989 -0
  506. data/dist/lib/IceGrid/Exception.rb +145 -0
  507. data/dist/lib/IceGrid/FileParser.rb +41 -0
  508. data/dist/lib/IceGrid/Registry.rb +168 -0
  509. data/dist/lib/IceGrid/Session.rb +56 -0
  510. data/dist/lib/IceGrid/UserAccountMapper.rb +38 -0
  511. data/dist/lib/IceGrid.rb +9 -0
  512. data/dist/lib/IceStorm/IceStorm.rb +251 -0
  513. data/dist/lib/IceStorm/Metrics.rb +55 -0
  514. data/dist/lib/IceStorm.rb +4 -0
  515. data/extconf.rb +89 -0
  516. data/ice.gemspec +22 -17
  517. data/scripts/slice2rb +10 -0
  518. metadata +536 -712
  519. data/ICE_LICENSE +0 -48
  520. data/LICENSE +0 -340
  521. data/MCPP_LICENSE +0 -29
  522. data/bin/slice2rb +0 -12
  523. data/ext/Communicator.cpp +0 -792
  524. data/ext/Communicator.h +0 -20
  525. data/ext/Config.h +0 -143
  526. data/ext/Connection.cpp +0 -532
  527. data/ext/Connection.h +0 -24
  528. data/ext/Endpoint.cpp +0 -340
  529. data/ext/Endpoint.h +0 -22
  530. data/ext/ImplicitContext.cpp +0 -144
  531. data/ext/ImplicitContext.h +0 -20
  532. data/ext/Init.cpp +0 -49
  533. data/ext/Logger.cpp +0 -147
  534. data/ext/Logger.h +0 -23
  535. data/ext/Operation.cpp +0 -661
  536. data/ext/Operation.h +0 -31
  537. data/ext/Properties.cpp +0 -365
  538. data/ext/Properties.h +0 -20
  539. data/ext/Proxy.cpp +0 -1396
  540. data/ext/Proxy.h +0 -22
  541. data/ext/Slice.cpp +0 -205
  542. data/ext/Slice.h +0 -17
  543. data/ext/Types.cpp +0 -3325
  544. data/ext/Types.h +0 -595
  545. data/ext/Util.cpp +0 -812
  546. data/ext/Util.h +0 -586
  547. data/ext/ValueFactoryManager.cpp +0 -441
  548. data/ext/ValueFactoryManager.h +0 -95
  549. data/ext/extconf.rb +0 -97
  550. data/ext/ice/cpp/include/Ice/Application.h +0 -326
  551. data/ext/ice/cpp/include/Ice/AsyncResult.h +0 -155
  552. data/ext/ice/cpp/include/Ice/AsyncResultF.h +0 -23
  553. data/ext/ice/cpp/include/Ice/BatchRequestInterceptor.h +0 -75
  554. data/ext/ice/cpp/include/Ice/BatchRequestQueueF.h +0 -20
  555. data/ext/ice/cpp/include/Ice/Buffer.h +0 -154
  556. data/ext/ice/cpp/include/Ice/CommunicatorAsync.h +0 -154
  557. data/ext/ice/cpp/include/Ice/Comparable.h +0 -205
  558. data/ext/ice/cpp/include/Ice/Config.h +0 -76
  559. data/ext/ice/cpp/include/Ice/ConnectionAsync.h +0 -302
  560. data/ext/ice/cpp/include/Ice/ConnectionIF.h +0 -38
  561. data/ext/ice/cpp/include/Ice/ConsoleUtil.h +0 -23
  562. data/ext/ice/cpp/include/Ice/DefaultValueFactory.h +0 -57
  563. data/ext/ice/cpp/include/Ice/DispatchInterceptor.h +0 -41
  564. data/ext/ice/cpp/include/Ice/Dispatcher.h +0 -67
  565. data/ext/ice/cpp/include/Ice/DynamicLibrary.h +0 -102
  566. data/ext/ice/cpp/include/Ice/DynamicLibraryF.h +0 -24
  567. data/ext/ice/cpp/include/Ice/Exception.h +0 -161
  568. data/ext/ice/cpp/include/Ice/ExceptionHelpers.h +0 -74
  569. data/ext/ice/cpp/include/Ice/FactoryTable.h +0 -73
  570. data/ext/ice/cpp/include/Ice/FactoryTableInit.h +0 -84
  571. data/ext/ice/cpp/include/Ice/Format.h +0 -38
  572. data/ext/ice/cpp/include/Ice/Functional.h +0 -140
  573. data/ext/ice/cpp/include/Ice/GCObject.h +0 -76
  574. data/ext/ice/cpp/include/Ice/Handle.h +0 -182
  575. data/ext/ice/cpp/include/Ice/Ice.h +0 -55
  576. data/ext/ice/cpp/include/Ice/IconvStringConverter.h +0 -377
  577. data/ext/ice/cpp/include/Ice/Incoming.h +0 -225
  578. data/ext/ice/cpp/include/Ice/IncomingAsync.h +0 -186
  579. data/ext/ice/cpp/include/Ice/IncomingAsyncF.h +0 -36
  580. data/ext/ice/cpp/include/Ice/Initialize.h +0 -957
  581. data/ext/ice/cpp/include/Ice/InputStream.h +0 -1514
  582. data/ext/ice/cpp/include/Ice/InstanceF.h +0 -20
  583. data/ext/ice/cpp/include/Ice/InterfaceByValue.h +0 -57
  584. data/ext/ice/cpp/include/Ice/LocalObject.h +0 -35
  585. data/ext/ice/cpp/include/Ice/LocalObjectF.h +0 -21
  586. data/ext/ice/cpp/include/Ice/LoggerUtil.h +0 -185
  587. data/ext/ice/cpp/include/Ice/MetricsAdminI.h +0 -715
  588. data/ext/ice/cpp/include/Ice/MetricsFunctional.h +0 -159
  589. data/ext/ice/cpp/include/Ice/MetricsObserverI.h +0 -669
  590. data/ext/ice/cpp/include/Ice/NativePropertiesAdmin.h +0 -86
  591. data/ext/ice/cpp/include/Ice/Object.h +0 -507
  592. data/ext/ice/cpp/include/Ice/ObjectF.h +0 -30
  593. data/ext/ice/cpp/include/Ice/ObserverHelper.h +0 -182
  594. data/ext/ice/cpp/include/Ice/Optional.h +0 -1114
  595. data/ext/ice/cpp/include/Ice/OutgoingAsync.h +0 -856
  596. data/ext/ice/cpp/include/Ice/OutgoingAsyncF.h +0 -39
  597. data/ext/ice/cpp/include/Ice/OutputStream.h +0 -1092
  598. data/ext/ice/cpp/include/Ice/Protocol.h +0 -274
  599. data/ext/ice/cpp/include/Ice/Proxy.h +0 -5154
  600. data/ext/ice/cpp/include/Ice/ProxyF.h +0 -53
  601. data/ext/ice/cpp/include/Ice/ProxyFactoryF.h +0 -21
  602. data/ext/ice/cpp/include/Ice/ProxyHandle.h +0 -318
  603. data/ext/ice/cpp/include/Ice/ReferenceF.h +0 -29
  604. data/ext/ice/cpp/include/Ice/RegisterPlugins.h +0 -127
  605. data/ext/ice/cpp/include/Ice/RequestHandlerF.h +0 -30
  606. data/ext/ice/cpp/include/Ice/ResponseHandlerF.h +0 -25
  607. data/ext/ice/cpp/include/Ice/SHA1.h +0 -40
  608. data/ext/ice/cpp/include/Ice/ServantManagerF.h +0 -21
  609. data/ext/ice/cpp/include/Ice/Service.h +0 -379
  610. data/ext/ice/cpp/include/Ice/SliceChecksums.h +0 -33
  611. data/ext/ice/cpp/include/Ice/SlicedData.h +0 -172
  612. data/ext/ice/cpp/include/Ice/SlicedDataF.h +0 -40
  613. data/ext/ice/cpp/include/Ice/StreamHelpers.h +0 -1190
  614. data/ext/ice/cpp/include/Ice/StringConverter.h +0 -78
  615. data/ext/ice/cpp/include/Ice/ThreadPoolF.h +0 -23
  616. data/ext/ice/cpp/include/Ice/UUID.h +0 -19
  617. data/ext/ice/cpp/include/Ice/UniquePtr.h +0 -95
  618. data/ext/ice/cpp/include/Ice/UniqueRef.h +0 -97
  619. data/ext/ice/cpp/include/Ice/UserExceptionFactory.h +0 -88
  620. data/ext/ice/cpp/include/Ice/Value.h +0 -139
  621. data/ext/ice/cpp/include/Ice/ValueF.h +0 -21
  622. data/ext/ice/cpp/include/IceSSL/Config.h +0 -21
  623. data/ext/ice/cpp/include/IceSSL/IceSSL.h +0 -24
  624. data/ext/ice/cpp/include/IceSSL/OpenSSL.h +0 -147
  625. data/ext/ice/cpp/include/IceSSL/Plugin.h +0 -712
  626. data/ext/ice/cpp/include/IceSSL/SChannel.h +0 -72
  627. data/ext/ice/cpp/include/IceSSL/SecureTransport.h +0 -72
  628. data/ext/ice/cpp/include/IceSSL/UWP.h +0 -62
  629. data/ext/ice/cpp/include/IceUtil/Atomic.h +0 -179
  630. data/ext/ice/cpp/include/IceUtil/Cond.h +0 -317
  631. data/ext/ice/cpp/include/IceUtil/Config.h +0 -392
  632. data/ext/ice/cpp/include/IceUtil/ConsoleUtil.h +0 -92
  633. data/ext/ice/cpp/include/IceUtil/CountDownLatch.h +0 -45
  634. data/ext/ice/cpp/include/IceUtil/CtrlCHandler.h +0 -92
  635. data/ext/ice/cpp/include/IceUtil/DisableWarnings.h +0 -44
  636. data/ext/ice/cpp/include/IceUtil/Exception.h +0 -394
  637. data/ext/ice/cpp/include/IceUtil/FileUtil.h +0 -140
  638. data/ext/ice/cpp/include/IceUtil/Functional.h +0 -389
  639. data/ext/ice/cpp/include/IceUtil/Handle.h +0 -261
  640. data/ext/ice/cpp/include/IceUtil/IceUtil.h +0 -40
  641. data/ext/ice/cpp/include/IceUtil/InputUtil.h +0 -42
  642. data/ext/ice/cpp/include/IceUtil/Iterator.h +0 -31
  643. data/ext/ice/cpp/include/IceUtil/Lock.h +0 -128
  644. data/ext/ice/cpp/include/IceUtil/Monitor.h +0 -243
  645. data/ext/ice/cpp/include/IceUtil/Mutex.h +0 -349
  646. data/ext/ice/cpp/include/IceUtil/MutexProtocol.h +0 -23
  647. data/ext/ice/cpp/include/IceUtil/MutexPtrLock.h +0 -78
  648. data/ext/ice/cpp/include/IceUtil/MutexPtrTryLock.h +0 -77
  649. data/ext/ice/cpp/include/IceUtil/Optional.h +0 -433
  650. data/ext/ice/cpp/include/IceUtil/Options.h +0 -135
  651. data/ext/ice/cpp/include/IceUtil/OutputUtil.h +0 -383
  652. data/ext/ice/cpp/include/IceUtil/PopDisableWarnings.h +0 -14
  653. data/ext/ice/cpp/include/IceUtil/PushDisableWarnings.h +0 -33
  654. data/ext/ice/cpp/include/IceUtil/Random.h +0 -55
  655. data/ext/ice/cpp/include/IceUtil/RecMutex.h +0 -107
  656. data/ext/ice/cpp/include/IceUtil/ResourceConfig.h +0 -37
  657. data/ext/ice/cpp/include/IceUtil/ScannerConfig.h +0 -40
  658. data/ext/ice/cpp/include/IceUtil/ScopedArray.h +0 -98
  659. data/ext/ice/cpp/include/IceUtil/Shared.h +0 -127
  660. data/ext/ice/cpp/include/IceUtil/StopWatch.h +0 -49
  661. data/ext/ice/cpp/include/IceUtil/StringConverter.h +0 -195
  662. data/ext/ice/cpp/include/IceUtil/StringUtil.h +0 -97
  663. data/ext/ice/cpp/include/IceUtil/Thread.h +0 -160
  664. data/ext/ice/cpp/include/IceUtil/ThreadException.h +0 -94
  665. data/ext/ice/cpp/include/IceUtil/Time.h +0 -205
  666. data/ext/ice/cpp/include/IceUtil/Timer.h +0 -144
  667. data/ext/ice/cpp/include/IceUtil/UUID.h +0 -21
  668. data/ext/ice/cpp/include/IceUtil/UndefSysMacros.h +0 -37
  669. data/ext/ice/cpp/include/generated/Ice/BuiltinSequences.h +0 -170
  670. data/ext/ice/cpp/include/generated/Ice/Communicator.h +0 -1162
  671. data/ext/ice/cpp/include/generated/Ice/CommunicatorF.h +0 -101
  672. data/ext/ice/cpp/include/generated/Ice/Connection.h +0 -1703
  673. data/ext/ice/cpp/include/generated/Ice/ConnectionF.h +0 -119
  674. data/ext/ice/cpp/include/generated/Ice/Current.h +0 -322
  675. data/ext/ice/cpp/include/generated/Ice/Endpoint.h +0 -979
  676. data/ext/ice/cpp/include/generated/Ice/EndpointF.h +0 -166
  677. data/ext/ice/cpp/include/generated/Ice/EndpointTypes.h +0 -118
  678. data/ext/ice/cpp/include/generated/Ice/FacetMap.h +0 -80
  679. data/ext/ice/cpp/include/generated/Ice/Identity.h +0 -264
  680. data/ext/ice/cpp/include/generated/Ice/ImplicitContext.h +0 -284
  681. data/ext/ice/cpp/include/generated/Ice/ImplicitContextF.h +0 -101
  682. data/ext/ice/cpp/include/generated/Ice/Instrumentation.h +0 -1203
  683. data/ext/ice/cpp/include/generated/Ice/InstrumentationF.h +0 -128
  684. data/ext/ice/cpp/include/generated/Ice/LocalException.h +0 -7437
  685. data/ext/ice/cpp/include/generated/Ice/Locator.h +0 -3898
  686. data/ext/ice/cpp/include/generated/Ice/LocatorF.h +0 -147
  687. data/ext/ice/cpp/include/generated/Ice/Logger.h +0 -237
  688. data/ext/ice/cpp/include/generated/Ice/LoggerF.h +0 -101
  689. data/ext/ice/cpp/include/generated/Ice/Metrics.h +0 -4769
  690. data/ext/ice/cpp/include/generated/Ice/ObjectAdapter.h +0 -1181
  691. data/ext/ice/cpp/include/generated/Ice/ObjectAdapterF.h +0 -101
  692. data/ext/ice/cpp/include/generated/Ice/ObjectFactory.h +0 -203
  693. data/ext/ice/cpp/include/generated/Ice/Plugin.h +0 -318
  694. data/ext/ice/cpp/include/generated/Ice/PluginF.h +0 -110
  695. data/ext/ice/cpp/include/generated/Ice/Process.h +0 -977
  696. data/ext/ice/cpp/include/generated/Ice/ProcessF.h +0 -125
  697. data/ext/ice/cpp/include/generated/Ice/Properties.h +0 -452
  698. data/ext/ice/cpp/include/generated/Ice/PropertiesAdmin.h +0 -1366
  699. data/ext/ice/cpp/include/generated/Ice/PropertiesF.h +0 -134
  700. data/ext/ice/cpp/include/generated/Ice/RemoteLogger.h +0 -2707
  701. data/ext/ice/cpp/include/generated/Ice/Router.h +0 -1850
  702. data/ext/ice/cpp/include/generated/Ice/RouterF.h +0 -125
  703. data/ext/ice/cpp/include/generated/Ice/ServantLocator.h +0 -305
  704. data/ext/ice/cpp/include/generated/Ice/ServantLocatorF.h +0 -101
  705. data/ext/ice/cpp/include/generated/Ice/SliceChecksumDict.h +0 -84
  706. data/ext/ice/cpp/include/generated/Ice/ValueFactory.h +0 -330
  707. data/ext/ice/cpp/include/generated/Ice/Version.h +0 -357
  708. data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfo.h +0 -228
  709. data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfoF.h +0 -101
  710. data/ext/ice/cpp/include/generated/IceSSL/EndpointInfo.h +0 -186
  711. data/ext/ice/cpp/src/Ice/ACM.cpp +0 -380
  712. data/ext/ice/cpp/src/Ice/ACM.h +0 -119
  713. data/ext/ice/cpp/src/Ice/ACMF.h +0 -30
  714. data/ext/ice/cpp/src/Ice/Acceptor.cpp +0 -16
  715. data/ext/ice/cpp/src/Ice/Acceptor.h +0 -37
  716. data/ext/ice/cpp/src/Ice/AcceptorF.h +0 -25
  717. data/ext/ice/cpp/src/Ice/ArgVector.cpp +0 -59
  718. data/ext/ice/cpp/src/Ice/ArgVector.h +0 -36
  719. data/ext/ice/cpp/src/Ice/AsyncResult.cpp +0 -70
  720. data/ext/ice/cpp/src/Ice/Base64.cpp +0 -263
  721. data/ext/ice/cpp/src/Ice/Base64.h +0 -31
  722. data/ext/ice/cpp/src/Ice/BatchRequestQueue.cpp +0 -250
  723. data/ext/ice/cpp/src/Ice/BatchRequestQueue.h +0 -59
  724. data/ext/ice/cpp/src/Ice/Buffer.cpp +0 -155
  725. data/ext/ice/cpp/src/Ice/BuiltinSequences.cpp +0 -49
  726. data/ext/ice/cpp/src/Ice/CollocatedRequestHandler.cpp +0 -407
  727. data/ext/ice/cpp/src/Ice/CollocatedRequestHandler.h +0 -87
  728. data/ext/ice/cpp/src/Ice/Communicator.cpp +0 -79
  729. data/ext/ice/cpp/src/Ice/CommunicatorF.cpp +0 -61
  730. data/ext/ice/cpp/src/Ice/CommunicatorI.cpp +0 -586
  731. data/ext/ice/cpp/src/Ice/CommunicatorI.h +0 -167
  732. data/ext/ice/cpp/src/Ice/Cond.cpp +0 -381
  733. data/ext/ice/cpp/src/Ice/ConnectRequestHandler.cpp +0 -348
  734. data/ext/ice/cpp/src/Ice/ConnectRequestHandler.h +0 -72
  735. data/ext/ice/cpp/src/Ice/ConnectRequestHandlerF.h +0 -24
  736. data/ext/ice/cpp/src/Ice/Connection.cpp +0 -155
  737. data/ext/ice/cpp/src/Ice/ConnectionF.cpp +0 -61
  738. data/ext/ice/cpp/src/Ice/ConnectionFactory.cpp +0 -1972
  739. data/ext/ice/cpp/src/Ice/ConnectionFactory.h +0 -264
  740. data/ext/ice/cpp/src/Ice/ConnectionFactoryF.h +0 -30
  741. data/ext/ice/cpp/src/Ice/ConnectionI.cpp +0 -3670
  742. data/ext/ice/cpp/src/Ice/ConnectionI.h +0 -389
  743. data/ext/ice/cpp/src/Ice/ConnectionRequestHandler.cpp +0 -73
  744. data/ext/ice/cpp/src/Ice/ConnectionRequestHandler.h +0 -41
  745. data/ext/ice/cpp/src/Ice/Connector.cpp +0 -16
  746. data/ext/ice/cpp/src/Ice/Connector.h +0 -32
  747. data/ext/ice/cpp/src/Ice/ConnectorF.h +0 -21
  748. data/ext/ice/cpp/src/Ice/CountDownLatch.cpp +0 -171
  749. data/ext/ice/cpp/src/Ice/Current.cpp +0 -62
  750. data/ext/ice/cpp/src/Ice/DefaultsAndOverrides.cpp +0 -159
  751. data/ext/ice/cpp/src/Ice/DefaultsAndOverrides.h +0 -52
  752. data/ext/ice/cpp/src/Ice/DefaultsAndOverridesF.h +0 -21
  753. data/ext/ice/cpp/src/Ice/DispatchInterceptor.cpp +0 -37
  754. data/ext/ice/cpp/src/Ice/DynamicLibrary.cpp +0 -284
  755. data/ext/ice/cpp/src/Ice/Endpoint.cpp +0 -147
  756. data/ext/ice/cpp/src/Ice/EndpointF.cpp +0 -61
  757. data/ext/ice/cpp/src/Ice/EndpointFactory.cpp +0 -189
  758. data/ext/ice/cpp/src/Ice/EndpointFactory.h +0 -117
  759. data/ext/ice/cpp/src/Ice/EndpointFactoryF.h +0 -21
  760. data/ext/ice/cpp/src/Ice/EndpointFactoryManager.cpp +0 -213
  761. data/ext/ice/cpp/src/Ice/EndpointFactoryManager.h +0 -47
  762. data/ext/ice/cpp/src/Ice/EndpointFactoryManagerF.h +0 -21
  763. data/ext/ice/cpp/src/Ice/EndpointI.cpp +0 -98
  764. data/ext/ice/cpp/src/Ice/EndpointI.h +0 -218
  765. data/ext/ice/cpp/src/Ice/EndpointIF.h +0 -49
  766. data/ext/ice/cpp/src/Ice/EndpointTypes.cpp +0 -51
  767. data/ext/ice/cpp/src/Ice/EventHandler.cpp +0 -32
  768. data/ext/ice/cpp/src/Ice/EventHandler.h +0 -81
  769. data/ext/ice/cpp/src/Ice/EventHandlerF.h +0 -24
  770. data/ext/ice/cpp/src/Ice/Exception.cpp +0 -818
  771. data/ext/ice/cpp/src/Ice/FacetMap.cpp +0 -49
  772. data/ext/ice/cpp/src/Ice/FactoryTable.cpp +0 -162
  773. data/ext/ice/cpp/src/Ice/FactoryTableInit.cpp +0 -88
  774. data/ext/ice/cpp/src/Ice/GCObject.cpp +0 -442
  775. data/ext/ice/cpp/src/Ice/HashUtil.h +0 -53
  776. data/ext/ice/cpp/src/Ice/HttpParser.cpp +0 -684
  777. data/ext/ice/cpp/src/Ice/HttpParser.h +0 -117
  778. data/ext/ice/cpp/src/Ice/IPEndpointI.cpp +0 -710
  779. data/ext/ice/cpp/src/Ice/IPEndpointI.h +0 -152
  780. data/ext/ice/cpp/src/Ice/IPEndpointIF.h +0 -28
  781. data/ext/ice/cpp/src/Ice/IconvStringConverter.cpp +0 -51
  782. data/ext/ice/cpp/src/Ice/Identity.cpp +0 -57
  783. data/ext/ice/cpp/src/Ice/ImplicitContext.cpp +0 -75
  784. data/ext/ice/cpp/src/Ice/ImplicitContextF.cpp +0 -61
  785. data/ext/ice/cpp/src/Ice/ImplicitContextI.cpp +0 -655
  786. data/ext/ice/cpp/src/Ice/ImplicitContextI.h +0 -48
  787. data/ext/ice/cpp/src/Ice/Incoming.cpp +0 -795
  788. data/ext/ice/cpp/src/Ice/IncomingAsync.cpp +0 -230
  789. data/ext/ice/cpp/src/Ice/IncomingRequest.h +0 -33
  790. data/ext/ice/cpp/src/Ice/Initialize.cpp +0 -654
  791. data/ext/ice/cpp/src/Ice/InputStream.cpp +0 -2741
  792. data/ext/ice/cpp/src/Ice/Instance.cpp +0 -1967
  793. data/ext/ice/cpp/src/Ice/Instance.h +0 -235
  794. data/ext/ice/cpp/src/Ice/Instrumentation.cpp +0 -188
  795. data/ext/ice/cpp/src/Ice/InstrumentationF.cpp +0 -66
  796. data/ext/ice/cpp/src/Ice/InstrumentationI.cpp +0 -1094
  797. data/ext/ice/cpp/src/Ice/InstrumentationI.h +0 -256
  798. data/ext/ice/cpp/src/Ice/LocalException.cpp +0 -3262
  799. data/ext/ice/cpp/src/Ice/LocalObject.cpp +0 -23
  800. data/ext/ice/cpp/src/Ice/Locator.cpp +0 -2042
  801. data/ext/ice/cpp/src/Ice/LocatorF.cpp +0 -63
  802. data/ext/ice/cpp/src/Ice/LocatorInfo.cpp +0 -889
  803. data/ext/ice/cpp/src/Ice/LocatorInfo.h +0 -189
  804. data/ext/ice/cpp/src/Ice/LocatorInfoF.h +0 -29
  805. data/ext/ice/cpp/src/Ice/Logger.cpp +0 -73
  806. data/ext/ice/cpp/src/Ice/LoggerAdminI.cpp +0 -956
  807. data/ext/ice/cpp/src/Ice/LoggerAdminI.h +0 -41
  808. data/ext/ice/cpp/src/Ice/LoggerF.cpp +0 -61
  809. data/ext/ice/cpp/src/Ice/LoggerI.cpp +0 -259
  810. data/ext/ice/cpp/src/Ice/LoggerI.h +0 -52
  811. data/ext/ice/cpp/src/Ice/LoggerUtil.cpp +0 -100
  812. data/ext/ice/cpp/src/Ice/Metrics.cpp +0 -2352
  813. data/ext/ice/cpp/src/Ice/MetricsAdminI.cpp +0 -694
  814. data/ext/ice/cpp/src/Ice/MetricsObserverI.cpp +0 -8
  815. data/ext/ice/cpp/src/Ice/Network.cpp +0 -2249
  816. data/ext/ice/cpp/src/Ice/Network.h +0 -289
  817. data/ext/ice/cpp/src/Ice/NetworkF.h +0 -19
  818. data/ext/ice/cpp/src/Ice/NetworkProxy.cpp +0 -311
  819. data/ext/ice/cpp/src/Ice/NetworkProxy.h +0 -72
  820. data/ext/ice/cpp/src/Ice/NetworkProxyF.h +0 -21
  821. data/ext/ice/cpp/src/Ice/OSLogLoggerI.cpp +0 -57
  822. data/ext/ice/cpp/src/Ice/OSLogLoggerI.h +0 -40
  823. data/ext/ice/cpp/src/Ice/Object.cpp +0 -435
  824. data/ext/ice/cpp/src/Ice/ObjectAdapter.cpp +0 -79
  825. data/ext/ice/cpp/src/Ice/ObjectAdapterF.cpp +0 -61
  826. data/ext/ice/cpp/src/Ice/ObjectAdapterFactory.cpp +0 -291
  827. data/ext/ice/cpp/src/Ice/ObjectAdapterFactory.h +0 -53
  828. data/ext/ice/cpp/src/Ice/ObjectAdapterFactoryF.h +0 -25
  829. data/ext/ice/cpp/src/Ice/ObjectAdapterI.cpp +0 -1530
  830. data/ext/ice/cpp/src/Ice/ObjectAdapterI.h +0 -159
  831. data/ext/ice/cpp/src/Ice/ObjectFactory.cpp +0 -75
  832. data/ext/ice/cpp/src/Ice/ObserverHelper.cpp +0 -56
  833. data/ext/ice/cpp/src/Ice/OpaqueEndpointI.cpp +0 -408
  834. data/ext/ice/cpp/src/Ice/OpaqueEndpointI.h +0 -74
  835. data/ext/ice/cpp/src/Ice/OutgoingAsync.cpp +0 -1322
  836. data/ext/ice/cpp/src/Ice/OutputStream.cpp +0 -1367
  837. data/ext/ice/cpp/src/Ice/Plugin.cpp +0 -87
  838. data/ext/ice/cpp/src/Ice/PluginF.cpp +0 -61
  839. data/ext/ice/cpp/src/Ice/PluginManagerI.cpp +0 -503
  840. data/ext/ice/cpp/src/Ice/PluginManagerI.h +0 -61
  841. data/ext/ice/cpp/src/Ice/Process.cpp +0 -471
  842. data/ext/ice/cpp/src/Ice/ProcessF.cpp +0 -63
  843. data/ext/ice/cpp/src/Ice/Properties.cpp +0 -78
  844. data/ext/ice/cpp/src/Ice/PropertiesAdmin.cpp +0 -603
  845. data/ext/ice/cpp/src/Ice/PropertiesAdminI.cpp +0 -265
  846. data/ext/ice/cpp/src/Ice/PropertiesAdminI.h +0 -64
  847. data/ext/ice/cpp/src/Ice/PropertiesF.cpp +0 -63
  848. data/ext/ice/cpp/src/Ice/PropertiesI.cpp +0 -739
  849. data/ext/ice/cpp/src/Ice/PropertiesI.h +0 -70
  850. data/ext/ice/cpp/src/Ice/PropertyNames.cpp +0 -1429
  851. data/ext/ice/cpp/src/Ice/PropertyNames.h +0 -78
  852. data/ext/ice/cpp/src/Ice/Protocol.cpp +0 -124
  853. data/ext/ice/cpp/src/Ice/ProtocolInstance.cpp +0 -131
  854. data/ext/ice/cpp/src/Ice/ProtocolInstance.h +0 -93
  855. data/ext/ice/cpp/src/Ice/ProtocolInstanceF.h +0 -21
  856. data/ext/ice/cpp/src/Ice/ProtocolPluginFacade.cpp +0 -51
  857. data/ext/ice/cpp/src/Ice/ProtocolPluginFacade.h +0 -64
  858. data/ext/ice/cpp/src/Ice/ProtocolPluginFacadeF.h +0 -21
  859. data/ext/ice/cpp/src/Ice/Proxy.cpp +0 -1601
  860. data/ext/ice/cpp/src/Ice/ProxyFactory.cpp +0 -300
  861. data/ext/ice/cpp/src/Ice/ProxyFactory.h +0 -57
  862. data/ext/ice/cpp/src/Ice/Reference.cpp +0 -2046
  863. data/ext/ice/cpp/src/Ice/Reference.h +0 -323
  864. data/ext/ice/cpp/src/Ice/ReferenceFactory.cpp +0 -888
  865. data/ext/ice/cpp/src/Ice/ReferenceFactory.h +0 -76
  866. data/ext/ice/cpp/src/Ice/ReferenceFactoryF.h +0 -19
  867. data/ext/ice/cpp/src/Ice/RegisterPluginsInit.cpp +0 -38
  868. data/ext/ice/cpp/src/Ice/RegisterPluginsInit.h +0 -20
  869. data/ext/ice/cpp/src/Ice/RemoteLogger.cpp +0 -1171
  870. data/ext/ice/cpp/src/Ice/ReplyStatus.h +0 -24
  871. data/ext/ice/cpp/src/Ice/RequestHandler.cpp +0 -37
  872. data/ext/ice/cpp/src/Ice/RequestHandler.h +0 -78
  873. data/ext/ice/cpp/src/Ice/RequestHandlerFactory.cpp +0 -77
  874. data/ext/ice/cpp/src/Ice/RequestHandlerFactory.h +0 -37
  875. data/ext/ice/cpp/src/Ice/ResponseHandler.cpp +0 -12
  876. data/ext/ice/cpp/src/Ice/ResponseHandler.h +0 -43
  877. data/ext/ice/cpp/src/Ice/RetryQueue.cpp +0 -157
  878. data/ext/ice/cpp/src/Ice/RetryQueue.h +0 -66
  879. data/ext/ice/cpp/src/Ice/RetryQueueF.h +0 -19
  880. data/ext/ice/cpp/src/Ice/Router.cpp +0 -977
  881. data/ext/ice/cpp/src/Ice/RouterF.cpp +0 -63
  882. data/ext/ice/cpp/src/Ice/RouterInfo.cpp +0 -379
  883. data/ext/ice/cpp/src/Ice/RouterInfo.h +0 -152
  884. data/ext/ice/cpp/src/Ice/RouterInfoF.h +0 -25
  885. data/ext/ice/cpp/src/Ice/SHA1.cpp +0 -169
  886. data/ext/ice/cpp/src/Ice/Selector.cpp +0 -1525
  887. data/ext/ice/cpp/src/Ice/Selector.h +0 -292
  888. data/ext/ice/cpp/src/Ice/ServantLocator.cpp +0 -75
  889. data/ext/ice/cpp/src/Ice/ServantLocatorF.cpp +0 -61
  890. data/ext/ice/cpp/src/Ice/ServantManager.cpp +0 -480
  891. data/ext/ice/cpp/src/Ice/ServantManager.h +0 -69
  892. data/ext/ice/cpp/src/Ice/SharedContext.h +0 -46
  893. data/ext/ice/cpp/src/Ice/SliceChecksumDict.cpp +0 -49
  894. data/ext/ice/cpp/src/Ice/SliceChecksums.cpp +0 -75
  895. data/ext/ice/cpp/src/Ice/SlicedData.cpp +0 -127
  896. data/ext/ice/cpp/src/Ice/StreamSocket.cpp +0 -519
  897. data/ext/ice/cpp/src/Ice/StreamSocket.h +0 -85
  898. data/ext/ice/cpp/src/Ice/StringConverterPlugin.cpp +0 -192
  899. data/ext/ice/cpp/src/Ice/StringUtil.h +0 -30
  900. data/ext/ice/cpp/src/Ice/SysLoggerI.cpp +0 -166
  901. data/ext/ice/cpp/src/Ice/SysLoggerI.h +0 -37
  902. data/ext/ice/cpp/src/Ice/SystemdJournalI.cpp +0 -66
  903. data/ext/ice/cpp/src/Ice/SystemdJournalI.h +0 -39
  904. data/ext/ice/cpp/src/Ice/TcpAcceptor.cpp +0 -234
  905. data/ext/ice/cpp/src/Ice/TcpAcceptor.h +0 -61
  906. data/ext/ice/cpp/src/Ice/TcpConnector.cpp +0 -127
  907. data/ext/ice/cpp/src/Ice/TcpConnector.h +0 -45
  908. data/ext/ice/cpp/src/Ice/TcpEndpointI.cpp +0 -385
  909. data/ext/ice/cpp/src/Ice/TcpEndpointI.h +0 -90
  910. data/ext/ice/cpp/src/Ice/TcpTransceiver.cpp +0 -135
  911. data/ext/ice/cpp/src/Ice/TcpTransceiver.h +0 -58
  912. data/ext/ice/cpp/src/Ice/Thread.cpp +0 -569
  913. data/ext/ice/cpp/src/Ice/ThreadPool.cpp +0 -1292
  914. data/ext/ice/cpp/src/Ice/ThreadPool.h +0 -393
  915. data/ext/ice/cpp/src/Ice/Timer.cpp +0 -263
  916. data/ext/ice/cpp/src/Ice/TraceLevels.cpp +0 -38
  917. data/ext/ice/cpp/src/Ice/TraceLevels.h +0 -45
  918. data/ext/ice/cpp/src/Ice/TraceLevelsF.h +0 -21
  919. data/ext/ice/cpp/src/Ice/TraceUtil.cpp +0 -478
  920. data/ext/ice/cpp/src/Ice/TraceUtil.h +0 -30
  921. data/ext/ice/cpp/src/Ice/Transceiver.cpp +0 -18
  922. data/ext/ice/cpp/src/Ice/Transceiver.h +0 -49
  923. data/ext/ice/cpp/src/Ice/TransceiverF.h +0 -33
  924. data/ext/ice/cpp/src/Ice/UdpConnector.cpp +0 -131
  925. data/ext/ice/cpp/src/Ice/UdpConnector.h +0 -45
  926. data/ext/ice/cpp/src/Ice/UdpEndpointI.cpp +0 -515
  927. data/ext/ice/cpp/src/Ice/UdpEndpointI.h +0 -95
  928. data/ext/ice/cpp/src/Ice/UdpTransceiver.cpp +0 -806
  929. data/ext/ice/cpp/src/Ice/UdpTransceiver.h +0 -96
  930. data/ext/ice/cpp/src/Ice/Value.cpp +0 -76
  931. data/ext/ice/cpp/src/Ice/ValueFactory.cpp +0 -83
  932. data/ext/ice/cpp/src/Ice/ValueFactoryManagerI.cpp +0 -61
  933. data/ext/ice/cpp/src/Ice/ValueFactoryManagerI.h +0 -37
  934. data/ext/ice/cpp/src/Ice/Version.cpp +0 -57
  935. data/ext/ice/cpp/src/Ice/VirtualShared.h +0 -38
  936. data/ext/ice/cpp/src/Ice/WSAcceptor.cpp +0 -92
  937. data/ext/ice/cpp/src/Ice/WSAcceptor.h +0 -52
  938. data/ext/ice/cpp/src/Ice/WSConnector.cpp +0 -102
  939. data/ext/ice/cpp/src/Ice/WSConnector.h +0 -43
  940. data/ext/ice/cpp/src/Ice/WSEndpoint.cpp +0 -508
  941. data/ext/ice/cpp/src/Ice/WSEndpoint.h +0 -93
  942. data/ext/ice/cpp/src/Ice/WSTransceiver.cpp +0 -1704
  943. data/ext/ice/cpp/src/Ice/WSTransceiver.h +0 -141
  944. data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.cpp +0 -915
  945. data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.h +0 -1889
  946. data/ext/ice/cpp/src/IceDiscovery/LocatorI.cpp +0 -265
  947. data/ext/ice/cpp/src/IceDiscovery/LocatorI.h +0 -109
  948. data/ext/ice/cpp/src/IceDiscovery/LookupI.cpp +0 -608
  949. data/ext/ice/cpp/src/IceDiscovery/LookupI.h +0 -228
  950. data/ext/ice/cpp/src/IceDiscovery/PluginI.cpp +0 -176
  951. data/ext/ice/cpp/src/IceDiscovery/PluginI.h +0 -36
  952. data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.cpp +0 -730
  953. data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.h +0 -1197
  954. data/ext/ice/cpp/src/IceLocatorDiscovery/Plugin.h +0 -47
  955. data/ext/ice/cpp/src/IceLocatorDiscovery/PluginI.cpp +0 -1048
  956. data/ext/ice/cpp/src/IceSSL/AcceptorI.cpp +0 -105
  957. data/ext/ice/cpp/src/IceSSL/AcceptorI.h +0 -52
  958. data/ext/ice/cpp/src/IceSSL/CertificateI.cpp +0 -301
  959. data/ext/ice/cpp/src/IceSSL/CertificateI.h +0 -64
  960. data/ext/ice/cpp/src/IceSSL/ConnectionInfo.cpp +0 -75
  961. data/ext/ice/cpp/src/IceSSL/ConnectionInfoF.cpp +0 -61
  962. data/ext/ice/cpp/src/IceSSL/ConnectorI.cpp +0 -102
  963. data/ext/ice/cpp/src/IceSSL/ConnectorI.h +0 -44
  964. data/ext/ice/cpp/src/IceSSL/EndpointI.cpp +0 -372
  965. data/ext/ice/cpp/src/IceSSL/EndpointI.h +0 -100
  966. data/ext/ice/cpp/src/IceSSL/EndpointInfo.cpp +0 -75
  967. data/ext/ice/cpp/src/IceSSL/Instance.cpp +0 -28
  968. data/ext/ice/cpp/src/IceSSL/Instance.h +0 -37
  969. data/ext/ice/cpp/src/IceSSL/InstanceF.h +0 -33
  970. data/ext/ice/cpp/src/IceSSL/OpenSSLCertificateI.cpp +0 -688
  971. data/ext/ice/cpp/src/IceSSL/OpenSSLEngine.cpp +0 -1147
  972. data/ext/ice/cpp/src/IceSSL/OpenSSLEngine.h +0 -59
  973. data/ext/ice/cpp/src/IceSSL/OpenSSLEngineF.h +0 -27
  974. data/ext/ice/cpp/src/IceSSL/OpenSSLPluginI.cpp +0 -127
  975. data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.cpp +0 -1092
  976. data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.h +0 -90
  977. data/ext/ice/cpp/src/IceSSL/OpenSSLUtil.cpp +0 -288
  978. data/ext/ice/cpp/src/IceSSL/OpenSSLUtil.h +0 -58
  979. data/ext/ice/cpp/src/IceSSL/PluginI.cpp +0 -246
  980. data/ext/ice/cpp/src/IceSSL/PluginI.h +0 -67
  981. data/ext/ice/cpp/src/IceSSL/RFC2253.cpp +0 -490
  982. data/ext/ice/cpp/src/IceSSL/RFC2253.h +0 -62
  983. data/ext/ice/cpp/src/IceSSL/SChannelCertificateI.cpp +0 -721
  984. data/ext/ice/cpp/src/IceSSL/SChannelEngine.cpp +0 -1283
  985. data/ext/ice/cpp/src/IceSSL/SChannelEngine.h +0 -123
  986. data/ext/ice/cpp/src/IceSSL/SChannelEngineF.h +0 -31
  987. data/ext/ice/cpp/src/IceSSL/SChannelPluginI.cpp +0 -73
  988. data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.cpp +0 -1174
  989. data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.h +0 -133
  990. data/ext/ice/cpp/src/IceSSL/SSLEngine.cpp +0 -313
  991. data/ext/ice/cpp/src/IceSSL/SSLEngine.h +0 -100
  992. data/ext/ice/cpp/src/IceSSL/SSLEngineF.h +0 -21
  993. data/ext/ice/cpp/src/IceSSL/SecureTransportCertificateI.cpp +0 -999
  994. data/ext/ice/cpp/src/IceSSL/SecureTransportEngine.cpp +0 -1308
  995. data/ext/ice/cpp/src/IceSSL/SecureTransportEngine.h +0 -59
  996. data/ext/ice/cpp/src/IceSSL/SecureTransportEngineF.h +0 -29
  997. data/ext/ice/cpp/src/IceSSL/SecureTransportPluginI.cpp +0 -75
  998. data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.cpp +0 -719
  999. data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.h +0 -92
  1000. data/ext/ice/cpp/src/IceSSL/SecureTransportUtil.cpp +0 -868
  1001. data/ext/ice/cpp/src/IceSSL/SecureTransportUtil.h +0 -45
  1002. data/ext/ice/cpp/src/IceSSL/TrustManager.cpp +0 -236
  1003. data/ext/ice/cpp/src/IceSSL/TrustManager.h +0 -46
  1004. data/ext/ice/cpp/src/IceSSL/TrustManagerF.h +0 -21
  1005. data/ext/ice/cpp/src/IceSSL/UWPCertificateI.cpp +0 -266
  1006. data/ext/ice/cpp/src/IceSSL/UWPEngine.cpp +0 -338
  1007. data/ext/ice/cpp/src/IceSSL/UWPEngine.h +0 -41
  1008. data/ext/ice/cpp/src/IceSSL/UWPEngineF.h +0 -26
  1009. data/ext/ice/cpp/src/IceSSL/UWPPluginI.cpp +0 -89
  1010. data/ext/ice/cpp/src/IceSSL/UWPTransceiverI.cpp +0 -383
  1011. data/ext/ice/cpp/src/IceSSL/UWPTransceiverI.h +0 -71
  1012. data/ext/ice/cpp/src/IceSSL/Util.cpp +0 -192
  1013. data/ext/ice/cpp/src/IceSSL/Util.h +0 -99
  1014. data/ext/ice/cpp/src/IceUtil/ConsoleUtil.cpp +0 -157
  1015. data/ext/ice/cpp/src/IceUtil/ConvertUTF.cpp +0 -472
  1016. data/ext/ice/cpp/src/IceUtil/ConvertUTF.h +0 -147
  1017. data/ext/ice/cpp/src/IceUtil/CtrlCHandler.cpp +0 -259
  1018. data/ext/ice/cpp/src/IceUtil/FileUtil.cpp +0 -471
  1019. data/ext/ice/cpp/src/IceUtil/InputUtil.cpp +0 -36
  1020. data/ext/ice/cpp/src/IceUtil/MutexProtocol.cpp +0 -19
  1021. data/ext/ice/cpp/src/IceUtil/Options.cpp +0 -1051
  1022. data/ext/ice/cpp/src/IceUtil/OutputUtil.cpp +0 -609
  1023. data/ext/ice/cpp/src/IceUtil/Random.cpp +0 -180
  1024. data/ext/ice/cpp/src/IceUtil/RecMutex.cpp +0 -238
  1025. data/ext/ice/cpp/src/IceUtil/Shared.cpp +0 -71
  1026. data/ext/ice/cpp/src/IceUtil/StringConverter.cpp +0 -690
  1027. data/ext/ice/cpp/src/IceUtil/StringUtil.cpp +0 -1135
  1028. data/ext/ice/cpp/src/IceUtil/ThreadException.cpp +0 -130
  1029. data/ext/ice/cpp/src/IceUtil/Time.cpp +0 -307
  1030. data/ext/ice/cpp/src/IceUtil/UUID.cpp +0 -165
  1031. data/ext/ice/cpp/src/IceUtil/Unicode.cpp +0 -183
  1032. data/ext/ice/cpp/src/IceUtil/Unicode.h +0 -43
  1033. data/ext/ice/cpp/src/IceUtil/UtilException.cpp +0 -839
  1034. data/ext/ice/cpp/src/Slice/CPlusPlusUtil.cpp +0 -1810
  1035. data/ext/ice/cpp/src/Slice/CPlusPlusUtil.h +0 -72
  1036. data/ext/ice/cpp/src/Slice/Checksum.cpp +0 -447
  1037. data/ext/ice/cpp/src/Slice/Checksum.h +0 -21
  1038. data/ext/ice/cpp/src/Slice/FileTracker.cpp +0 -146
  1039. data/ext/ice/cpp/src/Slice/FileTracker.h +0 -66
  1040. data/ext/ice/cpp/src/Slice/Grammar.cpp +0 -4793
  1041. data/ext/ice/cpp/src/Slice/Grammar.h +0 -118
  1042. data/ext/ice/cpp/src/Slice/GrammarUtil.h +0 -228
  1043. data/ext/ice/cpp/src/Slice/JavaUtil.cpp +0 -5176
  1044. data/ext/ice/cpp/src/Slice/JavaUtil.h +0 -407
  1045. data/ext/ice/cpp/src/Slice/MD5.cpp +0 -52
  1046. data/ext/ice/cpp/src/Slice/MD5.h +0 -39
  1047. data/ext/ice/cpp/src/Slice/MD5I.cpp +0 -393
  1048. data/ext/ice/cpp/src/Slice/MD5I.h +0 -91
  1049. data/ext/ice/cpp/src/Slice/PHPUtil.cpp +0 -157
  1050. data/ext/ice/cpp/src/Slice/PHPUtil.h +0 -36
  1051. data/ext/ice/cpp/src/Slice/Parser.cpp +0 -7058
  1052. data/ext/ice/cpp/src/Slice/Parser.h +0 -1174
  1053. data/ext/ice/cpp/src/Slice/Preprocessor.cpp +0 -797
  1054. data/ext/ice/cpp/src/Slice/Preprocessor.h +0 -60
  1055. data/ext/ice/cpp/src/Slice/Python.cpp +0 -830
  1056. data/ext/ice/cpp/src/Slice/PythonUtil.cpp +0 -3439
  1057. data/ext/ice/cpp/src/Slice/PythonUtil.h +0 -70
  1058. data/ext/ice/cpp/src/Slice/Ruby.cpp +0 -350
  1059. data/ext/ice/cpp/src/Slice/RubyUtil.cpp +0 -1571
  1060. data/ext/ice/cpp/src/Slice/RubyUtil.h +0 -49
  1061. data/ext/ice/cpp/src/Slice/Scanner.cpp +0 -2807
  1062. data/ext/ice/cpp/src/Slice/SliceUtil.cpp +0 -424
  1063. data/ext/ice/cpp/src/Slice/StringLiteralUtil.cpp +0 -456
  1064. data/ext/ice/cpp/src/Slice/Util.h +0 -50
  1065. data/ext/ice/mcpp/CMakeLists.txt +0 -80
  1066. data/ext/ice/mcpp/LICENSE +0 -29
  1067. data/ext/ice/mcpp/Makefile +0 -63
  1068. data/ext/ice/mcpp/README.md +0 -32
  1069. data/ext/ice/mcpp/internal.H +0 -530
  1070. data/ext/ice/mcpp/mcpp.gyp +0 -88
  1071. data/ext/ice/mcpp/system.c +0 -2737
  1072. data/lib/Glacier2/Metrics.rb +0 -56
  1073. data/lib/Glacier2/PermissionsVerifier.rb +0 -93
  1074. data/lib/Glacier2/PermissionsVerifierF.rb +0 -30
  1075. data/lib/Glacier2/Router.rb +0 -95
  1076. data/lib/Glacier2/RouterF.rb +0 -25
  1077. data/lib/Glacier2/SSLInfo.rb +0 -72
  1078. data/lib/Glacier2/Session.rb +0 -247
  1079. data/lib/Glacier2.rb +0 -7
  1080. data/lib/Ice/BuiltinSequences.rb +0 -60
  1081. data/lib/Ice/Communicator.rb +0 -87
  1082. data/lib/Ice/CommunicatorF.rb +0 -24
  1083. data/lib/Ice/Connection.rb +0 -413
  1084. data/lib/Ice/ConnectionF.rb +0 -32
  1085. data/lib/Ice/Current.rb +0 -141
  1086. data/lib/Ice/Endpoint.rb +0 -187
  1087. data/lib/Ice/EndpointF.rb +0 -48
  1088. data/lib/Ice/EndpointTypes.rb +0 -69
  1089. data/lib/Ice/FacetMap.rb +0 -24
  1090. data/lib/Ice/Identity.rb +0 -63
  1091. data/lib/Ice/ImplicitContext.rb +0 -26
  1092. data/lib/Ice/ImplicitContextF.rb +0 -24
  1093. data/lib/Ice/Instrumentation.rb +0 -169
  1094. data/lib/Ice/InstrumentationF.rb +0 -31
  1095. data/lib/Ice/LocalException.rb +0 -1031
  1096. data/lib/Ice/Locator.rb +0 -196
  1097. data/lib/Ice/LocatorF.rb +0 -30
  1098. data/lib/Ice/Logger.rb +0 -24
  1099. data/lib/Ice/LoggerF.rb +0 -24
  1100. data/lib/Ice/Metrics.rb +0 -337
  1101. data/lib/Ice/ObjectAdapter.rb +0 -29
  1102. data/lib/Ice/ObjectAdapterF.rb +0 -24
  1103. data/lib/Ice/ObjectFactory.rb +0 -24
  1104. data/lib/Ice/Plugin.rb +0 -30
  1105. data/lib/Ice/PluginF.rb +0 -28
  1106. data/lib/Ice/Process.rb +0 -53
  1107. data/lib/Ice/ProcessF.rb +0 -25
  1108. data/lib/Ice/Properties.rb +0 -25
  1109. data/lib/Ice/PropertiesAdmin.rb +0 -63
  1110. data/lib/Ice/PropertiesF.rb +0 -29
  1111. data/lib/Ice/RemoteLogger.rb +0 -207
  1112. data/lib/Ice/Router.rb +0 -87
  1113. data/lib/Ice/RouterF.rb +0 -25
  1114. data/lib/Ice/ServantLocator.rb +0 -26
  1115. data/lib/Ice/ServantLocatorF.rb +0 -24
  1116. data/lib/Ice/SliceChecksumDict.rb +0 -24
  1117. data/lib/Ice/ValueFactory.rb +0 -28
  1118. data/lib/Ice/Version.rb +0 -90
  1119. data/lib/Ice.rb +0 -673
  1120. data/lib/IceBox/IceBox.rb +0 -164
  1121. data/lib/IceBox.rb +0 -5
  1122. data/lib/IceGrid/Admin.rb +0 -1196
  1123. data/lib/IceGrid/Descriptor.rb +0 -1034
  1124. data/lib/IceGrid/Exception.rb +0 -376
  1125. data/lib/IceGrid/FileParser.rb +0 -65
  1126. data/lib/IceGrid/PluginFacade.rb +0 -35
  1127. data/lib/IceGrid/Registry.rb +0 -209
  1128. data/lib/IceGrid/Session.rb +0 -71
  1129. data/lib/IceGrid/UserAccountMapper.rb +0 -61
  1130. data/lib/IceGrid.rb +0 -9
  1131. data/lib/IcePatch2/FileInfo.rb +0 -115
  1132. data/lib/IcePatch2/FileServer.rb +0 -123
  1133. data/lib/IcePatch2.rb +0 -5
  1134. data/lib/IceStorm/IceStorm.rb +0 -332
  1135. data/lib/IceStorm/Metrics.rb +0 -73
  1136. data/lib/IceStorm.rb +0 -6
  1137. data/slice/Glacier2/Metrics.ice +0 -88
  1138. data/slice/Glacier2/PermissionsVerifier.ice +0 -111
  1139. data/slice/Glacier2/PermissionsVerifierF.ice +0 -30
  1140. data/slice/Glacier2/Router.ice +0 -186
  1141. data/slice/Glacier2/RouterF.ice +0 -29
  1142. data/slice/Glacier2/SSLInfo.ice +0 -59
  1143. data/slice/Glacier2/Session.ice +0 -274
  1144. data/slice/Ice/BuiltinSequences.ice +0 -59
  1145. data/slice/Ice/Communicator.ice +0 -676
  1146. data/slice/Ice/CommunicatorF.ice +0 -31
  1147. data/slice/Ice/Connection.ice +0 -516
  1148. data/slice/Ice/ConnectionF.ice +0 -33
  1149. data/slice/Ice/Current.ice +0 -170
  1150. data/slice/Ice/Endpoint.ice +0 -291
  1151. data/slice/Ice/EndpointF.ice +0 -43
  1152. data/slice/Ice/EndpointTypes.ice +0 -48
  1153. data/slice/Ice/FacetMap.ice +0 -36
  1154. data/slice/Ice/Identity.ice +0 -75
  1155. data/slice/Ice/ImplicitContext.ice +0 -119
  1156. data/slice/Ice/ImplicitContextF.ice +0 -30
  1157. data/slice/Ice/Instrumentation.ice +0 -509
  1158. data/slice/Ice/InstrumentationF.ice +0 -38
  1159. data/slice/Ice/LocalException.ice +0 -1040
  1160. data/slice/Ice/Locator.ice +0 -239
  1161. data/slice/Ice/LocatorF.ice +0 -32
  1162. data/slice/Ice/Logger.ice +0 -99
  1163. data/slice/Ice/LoggerF.ice +0 -31
  1164. data/slice/Ice/Metrics.ice +0 -436
  1165. data/slice/Ice/ObjectAdapter.ice +0 -710
  1166. data/slice/Ice/ObjectAdapterF.ice +0 -31
  1167. data/slice/Ice/ObjectFactory.ice +0 -71
  1168. data/slice/Ice/Plugin.ice +0 -131
  1169. data/slice/Ice/PluginF.ice +0 -36
  1170. data/slice/Ice/Process.ice +0 -64
  1171. data/slice/Ice/ProcessF.ice +0 -31
  1172. data/slice/Ice/Properties.ice +0 -244
  1173. data/slice/Ice/PropertiesAdmin.ice +0 -87
  1174. data/slice/Ice/PropertiesF.ice +0 -32
  1175. data/slice/Ice/RemoteLogger.ice +0 -226
  1176. data/slice/Ice/Router.ice +0 -103
  1177. data/slice/Ice/RouterF.ice +0 -31
  1178. data/slice/Ice/ServantLocator.ice +0 -136
  1179. data/slice/Ice/ServantLocatorF.ice +0 -31
  1180. data/slice/Ice/SliceChecksumDict.ice +0 -36
  1181. data/slice/Ice/ValueFactory.ice +0 -133
  1182. data/slice/Ice/Version.ice +0 -51
  1183. data/slice/IceBT/ConnectionInfo.ice +0 -59
  1184. data/slice/IceBT/EndpointInfo.ice +0 -57
  1185. data/slice/IceBT/Types.ice +0 -45
  1186. data/slice/IceBox/IceBox.ice +0 -216
  1187. data/slice/IceDiscovery/IceDiscovery.ice +0 -98
  1188. data/slice/IceGrid/Admin.ice +0 -1957
  1189. data/slice/IceGrid/Descriptor.ice +0 -1094
  1190. data/slice/IceGrid/Exception.ice +0 -396
  1191. data/slice/IceGrid/FileParser.ice +0 -72
  1192. data/slice/IceGrid/PluginFacade.ice +0 -329
  1193. data/slice/IceGrid/Registry.ice +0 -269
  1194. data/slice/IceGrid/Session.ice +0 -128
  1195. data/slice/IceGrid/UserAccountMapper.ice +0 -69
  1196. data/slice/IceIAP/ConnectionInfo.ice +0 -74
  1197. data/slice/IceIAP/EndpointInfo.ice +0 -68
  1198. data/slice/IceLocatorDiscovery/IceLocatorDiscovery.ice +0 -83
  1199. data/slice/IcePatch2/FileInfo.ice +0 -85
  1200. data/slice/IcePatch2/FileServer.ice +0 -191
  1201. data/slice/IceSSL/ConnectionInfo.ice +0 -54
  1202. data/slice/IceSSL/ConnectionInfoF.ice +0 -31
  1203. data/slice/IceSSL/EndpointInfo.ice +0 -45
  1204. data/slice/IceStorm/IceStorm.ice +0 -414
  1205. data/slice/IceStorm/Metrics.ice +0 -83
  1206. /data/{ext → dist}/ice/mcpp/config.h +0 -0
  1207. /data/{ext → dist}/ice/mcpp/configed.H +0 -0
  1208. /data/{ext → dist}/ice/mcpp/directive.c +0 -0
  1209. /data/{ext → dist}/ice/mcpp/eval.c +0 -0
  1210. /data/{ext → dist}/ice/mcpp/expand.c +0 -0
  1211. /data/{ext → dist}/ice/mcpp/mbchar.c +0 -0
  1212. /data/{ext → dist}/ice/mcpp/mcpp_lib.h +0 -0
  1213. /data/{ext/ice/mcpp/main.c → dist/ice/mcpp/mcpp_main.c} +0 -0
  1214. /data/{ext → dist}/ice/mcpp/mcpp_out.h +0 -0
  1215. /data/{ext → dist}/ice/mcpp/support.c +0 -0
  1216. /data/{ext → dist}/ice/mcpp/system.H +0 -0
@@ -1,4793 +0,0 @@
1
- /* A Bison parser, made by GNU Bison 2.7. */
2
-
3
- /* Bison implementation for Yacc-like parsers in C
4
-
5
- Copyright (C) 1984, 1989-1990, 2000-2012 Free Software Foundation, Inc.
6
-
7
- This program is free software: you can redistribute it and/or modify
8
- it under the terms of the GNU General Public License as published by
9
- the Free Software Foundation, either version 3 of the License, or
10
- (at your option) any later version.
11
-
12
- This program is distributed in the hope that it will be useful,
13
- but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
- GNU General Public License for more details.
16
-
17
- You should have received a copy of the GNU General Public License
18
- along with this program. If not, see <http://www.gnu.org/licenses/>. */
19
-
20
- /* As a special exception, you may create a larger work that contains
21
- part or all of the Bison parser skeleton and distribute that work
22
- under terms of your choice, so long as that work isn't itself a
23
- parser generator using the skeleton or a modified version thereof
24
- as a parser skeleton. Alternatively, if you modify or redistribute
25
- the parser skeleton itself, you may (at your option) remove this
26
- special exception, which will cause the skeleton and the resulting
27
- Bison output files to be licensed under the GNU General Public
28
- License without this special exception.
29
-
30
- This special exception was added by the Free Software Foundation in
31
- version 2.2 of Bison. */
32
-
33
- /* C LALR(1) parser skeleton written by Richard Stallman, by
34
- simplifying the original so-called "semantic" parser. */
35
-
36
- /* All symbols defined below should begin with yy or YY, to avoid
37
- infringing on user name space. This should be done even for local
38
- variables, as they might otherwise be expanded by user macros.
39
- There are some unavoidable exceptions within include files to
40
- define necessary library symbols; they are noted "INFRINGES ON
41
- USER NAME SPACE" below. */
42
-
43
- /* Identify Bison output. */
44
- #define YYBISON 1
45
-
46
- /* Bison version. */
47
- #define YYBISON_VERSION "2.7"
48
-
49
- /* Skeleton name. */
50
- #define YYSKELETON_NAME "yacc.c"
51
-
52
- /* Pure parsers. */
53
- #define YYPURE 1
54
-
55
- /* Push parsers. */
56
- #define YYPUSH 0
57
-
58
- /* Pull parsers. */
59
- #define YYPULL 1
60
-
61
-
62
- /* Substitute the variable and function names. */
63
- #define yyparse slice_parse
64
- #define yylex slice_lex
65
- #define yyerror slice_error
66
- #define yylval slice_lval
67
- #define yychar slice_char
68
- #define yydebug slice_debug
69
- #define yynerrs slice_nerrs
70
-
71
- /* Copy the first part of user declarations. */
72
- /* Line 371 of yacc.c */
73
- #line 1 "src/Slice/Grammar.y"
74
-
75
-
76
- //
77
- // Copyright (c) ZeroC, Inc. All rights reserved.
78
- //
79
-
80
- #include <Slice/GrammarUtil.h>
81
- #include <IceUtil/InputUtil.h>
82
- #include <IceUtil/UUID.h>
83
- #include <cstring>
84
-
85
- #ifdef _MSC_VER
86
- // warning C4102: 'yyoverflowlab' : unreferenced label
87
- # pragma warning(disable:4102)
88
- // warning C4065: switch statement contains 'default' but no 'case' labels
89
- # pragma warning(disable:4065)
90
- // warning C4244: '=': conversion from 'int' to 'yytype_int16', possible loss of data
91
- # pragma warning(disable:4244)
92
- #endif
93
-
94
- //
95
- // Avoid old style cast warnings in generated grammar
96
- //
97
- #ifdef __GNUC__
98
- # pragma GCC diagnostic ignored "-Wold-style-cast"
99
- #endif
100
-
101
- //
102
- // Avoid clang conversion warnings
103
- //
104
- #if defined(__clang__)
105
- # pragma clang diagnostic ignored "-Wconversion"
106
- # pragma clang diagnostic ignored "-Wsign-conversion"
107
- # pragma clang diagnostic ignored "-Wunused-but-set-variable"
108
- #endif
109
-
110
- using namespace std;
111
- using namespace Slice;
112
-
113
- void
114
- slice_error(const char* s)
115
- {
116
- // yacc and recent versions of Bison use "syntax error" instead
117
- // of "parse error".
118
-
119
- if (strcmp(s, "parse error") == 0)
120
- {
121
- unit->error("syntax error");
122
- }
123
- else
124
- {
125
- unit->error(s);
126
- }
127
- }
128
-
129
-
130
- /* Line 371 of yacc.c */
131
- #line 128 "src/Slice/Grammar.cpp"
132
-
133
- # ifndef YY_NULL
134
- # if defined __cplusplus && 201103L <= __cplusplus
135
- # define YY_NULL nullptr
136
- # else
137
- # define YY_NULL 0
138
- # endif
139
- # endif
140
-
141
- /* Enabling verbose error messages. */
142
- #ifdef YYERROR_VERBOSE
143
- # undef YYERROR_VERBOSE
144
- # define YYERROR_VERBOSE 1
145
- #else
146
- # define YYERROR_VERBOSE 0
147
- #endif
148
-
149
- /* In a future release of Bison, this section will be replaced
150
- by #include "Grammar.hpp". */
151
- #ifndef YY_SLICE_SRC_SLICE_GRAMMAR_HPP_INCLUDED
152
- # define YY_SLICE_SRC_SLICE_GRAMMAR_HPP_INCLUDED
153
- /* Enabling traces. */
154
- #ifndef YYDEBUG
155
- # define YYDEBUG 1
156
- #endif
157
- #if YYDEBUG
158
- extern int slice_debug;
159
- #endif
160
-
161
- /* Tokens. */
162
- #ifndef YYTOKENTYPE
163
- # define YYTOKENTYPE
164
- /* Put the tokens into the symbol table, so that GDB and other debuggers
165
- know about them. */
166
- enum yytokentype {
167
- ICE_MODULE = 258,
168
- ICE_CLASS = 259,
169
- ICE_INTERFACE = 260,
170
- ICE_EXCEPTION = 261,
171
- ICE_STRUCT = 262,
172
- ICE_SEQUENCE = 263,
173
- ICE_DICTIONARY = 264,
174
- ICE_ENUM = 265,
175
- ICE_OUT = 266,
176
- ICE_EXTENDS = 267,
177
- ICE_IMPLEMENTS = 268,
178
- ICE_THROWS = 269,
179
- ICE_VOID = 270,
180
- ICE_BYTE = 271,
181
- ICE_BOOL = 272,
182
- ICE_SHORT = 273,
183
- ICE_INT = 274,
184
- ICE_LONG = 275,
185
- ICE_FLOAT = 276,
186
- ICE_DOUBLE = 277,
187
- ICE_STRING = 278,
188
- ICE_OBJECT = 279,
189
- ICE_LOCAL_OBJECT = 280,
190
- ICE_LOCAL = 281,
191
- ICE_CONST = 282,
192
- ICE_FALSE = 283,
193
- ICE_TRUE = 284,
194
- ICE_IDEMPOTENT = 285,
195
- ICE_OPTIONAL = 286,
196
- ICE_VALUE = 287,
197
- ICE_IDENTIFIER = 288,
198
- ICE_SCOPED_IDENTIFIER = 289,
199
- ICE_STRING_LITERAL = 290,
200
- ICE_INTEGER_LITERAL = 291,
201
- ICE_FLOATING_POINT_LITERAL = 292,
202
- ICE_IDENT_OP = 293,
203
- ICE_KEYWORD_OP = 294,
204
- ICE_OPTIONAL_OP = 295,
205
- ICE_METADATA_OPEN = 296,
206
- ICE_METADATA_CLOSE = 297,
207
- ICE_GLOBAL_METADATA_OPEN = 298,
208
- ICE_GLOBAL_METADATA_CLOSE = 299,
209
- BAD_CHAR = 300
210
- };
211
- #endif
212
-
213
-
214
- #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
215
- typedef int YYSTYPE;
216
- # define YYSTYPE_IS_TRIVIAL 1
217
- # define yystype YYSTYPE /* obsolescent; will be withdrawn */
218
- # define YYSTYPE_IS_DECLARED 1
219
- #endif
220
-
221
-
222
- #ifdef YYPARSE_PARAM
223
- #if defined __STDC__ || defined __cplusplus
224
- int slice_parse (void *YYPARSE_PARAM);
225
- #else
226
- int slice_parse ();
227
- #endif
228
- #else /* ! YYPARSE_PARAM */
229
- #if defined __STDC__ || defined __cplusplus
230
- int slice_parse (void);
231
- #else
232
- int slice_parse ();
233
- #endif
234
- #endif /* ! YYPARSE_PARAM */
235
-
236
- #endif /* !YY_SLICE_SRC_SLICE_GRAMMAR_HPP_INCLUDED */
237
-
238
- /* Copy the second part of user declarations. */
239
-
240
- /* Line 390 of yacc.c */
241
- #line 238 "src/Slice/Grammar.cpp"
242
-
243
- #ifdef short
244
- # undef short
245
- #endif
246
-
247
- #ifdef YYTYPE_UINT8
248
- typedef YYTYPE_UINT8 yytype_uint8;
249
- #else
250
- typedef unsigned char yytype_uint8;
251
- #endif
252
-
253
- #ifdef YYTYPE_INT8
254
- typedef YYTYPE_INT8 yytype_int8;
255
- #elif (defined __STDC__ || defined __C99__FUNC__ \
256
- || defined __cplusplus || defined _MSC_VER)
257
- typedef signed char yytype_int8;
258
- #else
259
- typedef short int yytype_int8;
260
- #endif
261
-
262
- #ifdef YYTYPE_UINT16
263
- typedef YYTYPE_UINT16 yytype_uint16;
264
- #else
265
- typedef unsigned short int yytype_uint16;
266
- #endif
267
-
268
- #ifdef YYTYPE_INT16
269
- typedef YYTYPE_INT16 yytype_int16;
270
- #else
271
- typedef short int yytype_int16;
272
- #endif
273
-
274
- #ifndef YYSIZE_T
275
- # ifdef __SIZE_TYPE__
276
- # define YYSIZE_T __SIZE_TYPE__
277
- # elif defined size_t
278
- # define YYSIZE_T size_t
279
- # elif ! defined YYSIZE_T && (defined __STDC__ || defined __C99__FUNC__ \
280
- || defined __cplusplus || defined _MSC_VER)
281
- # include <stddef.h> /* INFRINGES ON USER NAME SPACE */
282
- # define YYSIZE_T size_t
283
- # else
284
- # define YYSIZE_T unsigned int
285
- # endif
286
- #endif
287
-
288
- #define YYSIZE_MAXIMUM ((YYSIZE_T) -1)
289
-
290
- #ifndef YY_
291
- # if defined YYENABLE_NLS && YYENABLE_NLS
292
- # if ENABLE_NLS
293
- # include <libintl.h> /* INFRINGES ON USER NAME SPACE */
294
- # define YY_(Msgid) dgettext ("bison-runtime", Msgid)
295
- # endif
296
- # endif
297
- # ifndef YY_
298
- # define YY_(Msgid) Msgid
299
- # endif
300
- #endif
301
-
302
- /* Suppress unused-variable warnings by "using" E. */
303
- #if ! defined lint || defined __GNUC__
304
- # define YYUSE(E) ((void) (E))
305
- #else
306
- # define YYUSE(E) /* empty */
307
- #endif
308
-
309
- /* Identity function, used to suppress warnings about constant conditions. */
310
- #ifndef lint
311
- # define YYID(N) (N)
312
- #else
313
- #if (defined __STDC__ || defined __C99__FUNC__ \
314
- || defined __cplusplus || defined _MSC_VER)
315
- static int
316
- YYID (int yyi)
317
- #else
318
- static int
319
- YYID (yyi)
320
- int yyi;
321
- #endif
322
- {
323
- return yyi;
324
- }
325
- #endif
326
-
327
- #if ! defined yyoverflow || YYERROR_VERBOSE
328
-
329
- /* The parser invokes alloca or malloc; define the necessary symbols. */
330
-
331
- # ifdef YYSTACK_USE_ALLOCA
332
- # if YYSTACK_USE_ALLOCA
333
- # ifdef __GNUC__
334
- # define YYSTACK_ALLOC __builtin_alloca
335
- # elif defined __BUILTIN_VA_ARG_INCR
336
- # include <alloca.h> /* INFRINGES ON USER NAME SPACE */
337
- # elif defined _AIX
338
- # define YYSTACK_ALLOC __alloca
339
- # elif defined _MSC_VER
340
- # include <malloc.h> /* INFRINGES ON USER NAME SPACE */
341
- # define alloca _alloca
342
- # else
343
- # define YYSTACK_ALLOC alloca
344
- # if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \
345
- || defined __cplusplus || defined _MSC_VER)
346
- # include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
347
- /* Use EXIT_SUCCESS as a witness for stdlib.h. */
348
- # ifndef EXIT_SUCCESS
349
- # define EXIT_SUCCESS 0
350
- # endif
351
- # endif
352
- # endif
353
- # endif
354
- # endif
355
-
356
- # ifdef YYSTACK_ALLOC
357
- /* Pacify GCC's `empty if-body' warning. */
358
- # define YYSTACK_FREE(Ptr) do { /* empty */; } while (YYID (0))
359
- # ifndef YYSTACK_ALLOC_MAXIMUM
360
- /* The OS might guarantee only one guard page at the bottom of the stack,
361
- and a page size can be as small as 4096 bytes. So we cannot safely
362
- invoke alloca (N) if N exceeds 4096. Use a slightly smaller number
363
- to allow for a few compiler-allocated temporary stack slots. */
364
- # define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */
365
- # endif
366
- # else
367
- # define YYSTACK_ALLOC YYMALLOC
368
- # define YYSTACK_FREE YYFREE
369
- # ifndef YYSTACK_ALLOC_MAXIMUM
370
- # define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
371
- # endif
372
- # if (defined __cplusplus && ! defined EXIT_SUCCESS \
373
- && ! ((defined YYMALLOC || defined malloc) \
374
- && (defined YYFREE || defined free)))
375
- # include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
376
- # ifndef EXIT_SUCCESS
377
- # define EXIT_SUCCESS 0
378
- # endif
379
- # endif
380
- # ifndef YYMALLOC
381
- # define YYMALLOC malloc
382
- # if ! defined malloc && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \
383
- || defined __cplusplus || defined _MSC_VER)
384
- void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
385
- # endif
386
- # endif
387
- # ifndef YYFREE
388
- # define YYFREE free
389
- # if ! defined free && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \
390
- || defined __cplusplus || defined _MSC_VER)
391
- void free (void *); /* INFRINGES ON USER NAME SPACE */
392
- # endif
393
- # endif
394
- # endif
395
- #endif /* ! defined yyoverflow || YYERROR_VERBOSE */
396
-
397
-
398
- #if (! defined yyoverflow \
399
- && (! defined __cplusplus \
400
- || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
401
-
402
- /* A type that is properly aligned for any stack member. */
403
- union yyalloc
404
- {
405
- yytype_int16 yyss_alloc;
406
- YYSTYPE yyvs_alloc;
407
- };
408
-
409
- /* The size of the maximum gap between one aligned stack and the next. */
410
- # define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
411
-
412
- /* The size of an array large to enough to hold all stacks, each with
413
- N elements. */
414
- # define YYSTACK_BYTES(N) \
415
- ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \
416
- + YYSTACK_GAP_MAXIMUM)
417
-
418
- # define YYCOPY_NEEDED 1
419
-
420
- /* Relocate STACK from its old location to the new one. The
421
- local variables YYSIZE and YYSTACKSIZE give the old and new number of
422
- elements in the stack, and YYPTR gives the new location of the
423
- stack. Advance YYPTR to a properly aligned location for the next
424
- stack. */
425
- # define YYSTACK_RELOCATE(Stack_alloc, Stack) \
426
- do \
427
- { \
428
- YYSIZE_T yynewbytes; \
429
- YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \
430
- Stack = &yyptr->Stack_alloc; \
431
- yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
432
- yyptr += yynewbytes / sizeof (*yyptr); \
433
- } \
434
- while (YYID (0))
435
-
436
- #endif
437
-
438
- #if defined YYCOPY_NEEDED && YYCOPY_NEEDED
439
- /* Copy COUNT objects from SRC to DST. The source and destination do
440
- not overlap. */
441
- # ifndef YYCOPY
442
- # if defined __GNUC__ && 1 < __GNUC__
443
- # define YYCOPY(Dst, Src, Count) \
444
- __builtin_memcpy (Dst, Src, (Count) * sizeof (*(Src)))
445
- # else
446
- # define YYCOPY(Dst, Src, Count) \
447
- do \
448
- { \
449
- YYSIZE_T yyi; \
450
- for (yyi = 0; yyi < (Count); yyi++) \
451
- (Dst)[yyi] = (Src)[yyi]; \
452
- } \
453
- while (YYID (0))
454
- # endif
455
- # endif
456
- #endif /* !YYCOPY_NEEDED */
457
-
458
- /* YYFINAL -- State number of the termination state. */
459
- #define YYFINAL 11
460
- /* YYLAST -- Last index in YYTABLE. */
461
- #define YYLAST 869
462
-
463
- /* YYNTOKENS -- Number of terminals. */
464
- #define YYNTOKENS 55
465
- /* YYNNTS -- Number of nonterminals. */
466
- #define YYNNTS 86
467
- /* YYNRULES -- Number of rules. */
468
- #define YYNRULES 225
469
- /* YYNRULES -- Number of states. */
470
- #define YYNSTATES 326
471
-
472
- /* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
473
- #define YYUNDEFTOK 2
474
- #define YYMAXUTOK 300
475
-
476
- #define YYTRANSLATE(YYX) \
477
- ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
478
-
479
- /* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */
480
- static const yytype_uint8 yytranslate[] =
481
- {
482
- 0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
483
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
484
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
485
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
486
- 2, 49, 54, 2, 51, 2, 2, 2, 2, 2,
487
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 46,
488
- 52, 50, 53, 2, 2, 2, 2, 2, 2, 2,
489
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
490
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
491
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
492
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
493
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
494
- 2, 2, 2, 47, 2, 48, 2, 2, 2, 2,
495
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
496
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
497
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
498
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
499
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
500
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
501
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
502
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
503
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
504
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
505
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
506
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
507
- 2, 2, 2, 2, 2, 2, 1, 2, 3, 4,
508
- 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
509
- 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
510
- 25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
511
- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
512
- 45
513
- };
514
-
515
- #if YYDEBUG
516
- /* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in
517
- YYRHS. */
518
- static const yytype_uint16 yyprhs[] =
519
- {
520
- 0, 0, 3, 5, 7, 8, 12, 16, 17, 18,
521
- 22, 23, 28, 29, 30, 34, 35, 39, 41, 42,
522
- 46, 47, 51, 53, 54, 58, 59, 63, 65, 66,
523
- 70, 71, 75, 77, 78, 82, 83, 87, 89, 90,
524
- 94, 96, 97, 101, 102, 106, 108, 111, 112, 119,
525
- 122, 125, 128, 129, 137, 140, 141, 146, 150, 153,
526
- 154, 157, 161, 165, 168, 170, 173, 175, 177, 180,
527
- 183, 186, 187, 194, 199, 203, 206, 207, 209, 212,
528
- 215, 220, 225, 227, 230, 231, 240, 243, 244, 247,
529
- 248, 253, 257, 260, 261, 263, 267, 270, 272, 274,
530
- 278, 281, 286, 289, 291, 294, 296, 298, 301, 305,
531
- 308, 312, 313, 319, 320, 326, 328, 330, 333, 336,
532
- 339, 340, 348, 352, 354, 356, 358, 361, 362, 367,
533
- 371, 374, 375, 377, 381, 383, 385, 387, 395, 403,
534
- 414, 425, 428, 431, 432, 439, 440, 447, 451, 453,
535
- 455, 459, 461, 462, 464, 466, 468, 469, 470, 474,
536
- 480, 485, 492, 496, 502, 505, 506, 508, 510, 512,
537
- 514, 516, 518, 520, 522, 524, 526, 528, 531, 533,
538
- 535, 537, 540, 543, 545, 549, 551, 553, 554, 556,
539
- 558, 560, 562, 564, 566, 573, 579, 581, 583, 585,
540
- 587, 589, 591, 593, 595, 597, 599, 601, 603, 605,
541
- 607, 609, 611, 613, 615, 617, 619, 621, 623, 625,
542
- 627, 629, 631, 633, 635, 637
543
- };
544
-
545
- /* YYRHS -- A `-1'-separated list of the rules' RHS. */
546
- static const yytype_int16 yyrhs[] =
547
- {
548
- 56, 0, -1, 60, -1, 46, -1, -1, 43, 136,
549
- 44, -1, 41, 136, 42, -1, -1, -1, 58, 61,
550
- 60, -1, -1, 59, 63, 62, 60, -1, -1, -1,
551
- 77, 64, 57, -1, -1, 97, 65, 46, -1, 97,
552
- -1, -1, 98, 66, 57, -1, -1, 112, 67, 46,
553
- -1, 112, -1, -1, 113, 68, 57, -1, -1, 80,
554
- 69, 46, -1, 80, -1, -1, 81, 70, 57, -1,
555
- -1, 90, 71, 46, -1, 90, -1, -1, 91, 72,
556
- 57, -1, -1, 121, 73, 46, -1, 121, -1, -1,
557
- 122, 74, 46, -1, 122, -1, -1, 124, 75, 57,
558
- -1, -1, 139, 76, 46, -1, 139, -1, 1, 46,
559
- -1, -1, 3, 33, 78, 47, 60, 48, -1, 6,
560
- 33, -1, 6, 140, -1, 137, 79, -1, -1, 137,
561
- 79, 83, 82, 47, 84, 48, -1, 12, 133, -1,
562
- -1, 59, 88, 46, 84, -1, 1, 46, 84, -1,
563
- 59, 88, -1, -1, 134, 33, -1, 40, 36, 49,
564
- -1, 40, 133, 49, -1, 40, 49, -1, 31, -1,
565
- 86, 85, -1, 85, -1, 103, -1, 7, 33, -1,
566
- 7, 140, -1, 137, 89, -1, -1, 137, 89, 92,
567
- 47, 93, 48, -1, 59, 94, 46, 93, -1, 1,
568
- 46, 93, -1, 59, 94, -1, -1, 104, -1, 4,
569
- 33, -1, 4, 140, -1, 4, 38, 36, 49, -1,
570
- 4, 38, 133, 49, -1, 95, -1, 137, 95, -1,
571
- -1, 137, 96, 100, 101, 99, 47, 102, 48, -1,
572
- 12, 133, -1, -1, 13, 115, -1, -1, 59, 110,
573
- 46, 102, -1, 1, 46, 102, -1, 59, 110, -1,
574
- -1, 87, -1, 87, 50, 138, -1, 134, 140, -1,
575
- 134, -1, 85, -1, 85, 50, 138, -1, 86, 85,
576
- -1, 86, 85, 50, 138, -1, 134, 140, -1, 134,
577
- -1, 86, 134, -1, 134, -1, 15, -1, 105, 38,
578
- -1, 30, 105, 38, -1, 105, 39, -1, 30, 105,
579
- 39, -1, -1, 106, 131, 49, 108, 132, -1, -1,
580
- 106, 1, 49, 109, 132, -1, 103, -1, 107, -1,
581
- 5, 33, -1, 5, 140, -1, 137, 111, -1, -1,
582
- 137, 111, 116, 114, 47, 117, 48, -1, 133, 51,
583
- 115, -1, 133, -1, 24, -1, 32, -1, 12, 115,
584
- -1, -1, 59, 118, 46, 117, -1, 1, 46, 117,
585
- -1, 59, 118, -1, -1, 107, -1, 120, 51, 119,
586
- -1, 120, -1, 133, -1, 140, -1, 137, 8, 52,
587
- 59, 134, 53, 33, -1, 137, 8, 52, 59, 134,
588
- 53, 140, -1, 137, 9, 52, 59, 134, 51, 59,
589
- 134, 53, 33, -1, 137, 9, 52, 59, 134, 51,
590
- 59, 134, 53, 140, -1, 10, 33, -1, 10, 140,
591
- -1, -1, 137, 123, 125, 47, 127, 48, -1, -1,
592
- 137, 10, 126, 47, 127, 48, -1, 128, 51, 127,
593
- -1, 128, -1, 33, -1, 33, 50, 129, -1, 140,
594
- -1, -1, 36, -1, 133, -1, 11, -1, -1, -1,
595
- 130, 59, 87, -1, 131, 51, 130, 59, 87, -1,
596
- 130, 59, 134, 140, -1, 131, 51, 130, 59, 134,
597
- 140, -1, 130, 59, 134, -1, 131, 51, 130, 59,
598
- 134, -1, 14, 119, -1, -1, 33, -1, 34, -1,
599
- 16, -1, 17, -1, 18, -1, 19, -1, 20, -1,
600
- 21, -1, 22, -1, 23, -1, 24, -1, 24, 54,
601
- -1, 25, -1, 32, -1, 133, -1, 133, 54, -1,
602
- 35, 135, -1, 35, -1, 136, 51, 135, -1, 135,
603
- -1, 26, -1, -1, 36, -1, 37, -1, 133, -1,
604
- 35, -1, 28, -1, 29, -1, 27, 59, 134, 33,
605
- 50, 138, -1, 27, 59, 134, 50, 138, -1, 3,
606
- -1, 4, -1, 5, -1, 6, -1, 7, -1, 8,
607
- -1, 9, -1, 10, -1, 11, -1, 12, -1, 13,
608
- -1, 14, -1, 15, -1, 16, -1, 17, -1, 18,
609
- -1, 19, -1, 20, -1, 21, -1, 22, -1, 23,
610
- -1, 24, -1, 25, -1, 26, -1, 27, -1, 28,
611
- -1, 29, -1, 30, -1, 31, -1, 32, -1
612
- };
613
-
614
- /* YYRLINE[YYN] -- source line where rule number YYN was defined. */
615
- static const yytype_uint16 yyrline[] =
616
- {
617
- 0, 115, 115, 123, 127, 134, 143, 148, 157, 156,
618
- 166, 165, 176, 184, 183, 189, 188, 193, 198, 197,
619
- 203, 202, 207, 212, 211, 217, 216, 221, 226, 225,
620
- 231, 230, 235, 240, 239, 245, 244, 249, 254, 253,
621
- 258, 263, 262, 268, 267, 272, 276, 286, 285, 319,
622
- 323, 334, 345, 344, 371, 380, 388, 397, 400, 405,
623
- 412, 425, 445, 538, 546, 559, 567, 582, 588, 592,
624
- 603, 614, 613, 655, 664, 667, 672, 679, 685, 689,
625
- 700, 725, 827, 839, 853, 852, 892, 927, 935, 940,
626
- 948, 957, 960, 965, 972, 994, 1021, 1043, 1069, 1078,
627
- 1089, 1098, 1107, 1117, 1131, 1137, 1145, 1157, 1181, 1206,
628
- 1230, 1261, 1260, 1283, 1282, 1305, 1306, 1312, 1316, 1327,
629
- 1342, 1341, 1376, 1411, 1446, 1451, 1461, 1466, 1474, 1483,
630
- 1486, 1491, 1498, 1504, 1511, 1523, 1535, 1546, 1555, 1570,
631
- 1581, 1598, 1602, 1614, 1613, 1646, 1645, 1664, 1670, 1678,
632
- 1690, 1710, 1718, 1727, 1731, 1770, 1777, 1788, 1790, 1806,
633
- 1822, 1834, 1846, 1857, 1873, 1878, 1886, 1889, 1897, 1901,
634
- 1905, 1909, 1913, 1917, 1921, 1925, 1929, 1933, 1937, 1941,
635
- 1945, 1964, 2005, 2011, 2019, 2026, 2038, 2045, 2055, 2068,
636
- 2081, 2128, 2139, 2150, 2166, 2175, 2189, 2192, 2195, 2198,
637
- 2201, 2204, 2207, 2210, 2213, 2216, 2219, 2222, 2225, 2228,
638
- 2231, 2234, 2237, 2240, 2243, 2246, 2249, 2252, 2255, 2258,
639
- 2261, 2264, 2267, 2270, 2273, 2276
640
- };
641
- #endif
642
-
643
- #if YYDEBUG || YYERROR_VERBOSE || 0
644
- /* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
645
- First, the terminals, then, starting at YYNTOKENS, nonterminals. */
646
- static const char *const yytname[] =
647
- {
648
- "$end", "error", "$undefined", "ICE_MODULE", "ICE_CLASS",
649
- "ICE_INTERFACE", "ICE_EXCEPTION", "ICE_STRUCT", "ICE_SEQUENCE",
650
- "ICE_DICTIONARY", "ICE_ENUM", "ICE_OUT", "ICE_EXTENDS", "ICE_IMPLEMENTS",
651
- "ICE_THROWS", "ICE_VOID", "ICE_BYTE", "ICE_BOOL", "ICE_SHORT", "ICE_INT",
652
- "ICE_LONG", "ICE_FLOAT", "ICE_DOUBLE", "ICE_STRING", "ICE_OBJECT",
653
- "ICE_LOCAL_OBJECT", "ICE_LOCAL", "ICE_CONST", "ICE_FALSE", "ICE_TRUE",
654
- "ICE_IDEMPOTENT", "ICE_OPTIONAL", "ICE_VALUE", "ICE_IDENTIFIER",
655
- "ICE_SCOPED_IDENTIFIER", "ICE_STRING_LITERAL", "ICE_INTEGER_LITERAL",
656
- "ICE_FLOATING_POINT_LITERAL", "ICE_IDENT_OP", "ICE_KEYWORD_OP",
657
- "ICE_OPTIONAL_OP", "ICE_METADATA_OPEN", "ICE_METADATA_CLOSE",
658
- "ICE_GLOBAL_METADATA_OPEN", "ICE_GLOBAL_METADATA_CLOSE", "BAD_CHAR",
659
- "';'", "'{'", "'}'", "')'", "'='", "','", "'<'", "'>'", "'*'", "$accept",
660
- "start", "opt_semicolon", "global_meta_data", "meta_data", "definitions",
661
- "$@1", "$@2", "definition", "$@3", "$@4", "$@5", "$@6", "$@7", "$@8",
662
- "$@9", "$@10", "$@11", "$@12", "$@13", "$@14", "$@15", "module_def",
663
- "@16", "exception_id", "exception_decl", "exception_def", "@17",
664
- "exception_extends", "exception_exports", "type_id", "optional",
665
- "optional_type_id", "exception_export", "struct_id", "struct_decl",
666
- "struct_def", "@18", "struct_exports", "struct_export", "class_name",
667
- "class_id", "class_decl", "class_def", "@19", "class_extends",
668
- "implements", "class_exports", "data_member", "struct_data_member",
669
- "return_type", "operation_preamble", "operation", "@20", "@21",
670
- "class_export", "interface_id", "interface_decl", "interface_def", "@22",
671
- "interface_list", "interface_extends", "interface_exports",
672
- "interface_export", "exception_list", "exception", "sequence_def",
673
- "dictionary_def", "enum_id", "enum_def", "@23", "@24", "enumerator_list",
674
- "enumerator", "enumerator_initializer", "out_qualifier", "parameters",
675
- "throws", "scoped_name", "type", "string_literal", "string_list",
676
- "local_qualifier", "const_initializer", "const_def", "keyword", YY_NULL
677
- };
678
- #endif
679
-
680
- # ifdef YYPRINT
681
- /* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to
682
- token YYLEX-NUM. */
683
- static const yytype_uint16 yytoknum[] =
684
- {
685
- 0, 256, 257, 258, 259, 260, 261, 262, 263, 264,
686
- 265, 266, 267, 268, 269, 270, 271, 272, 273, 274,
687
- 275, 276, 277, 278, 279, 280, 281, 282, 283, 284,
688
- 285, 286, 287, 288, 289, 290, 291, 292, 293, 294,
689
- 295, 296, 297, 298, 299, 300, 59, 123, 125, 41,
690
- 61, 44, 60, 62, 42
691
- };
692
- # endif
693
-
694
- /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
695
- static const yytype_uint8 yyr1[] =
696
- {
697
- 0, 55, 56, 57, 57, 58, 59, 59, 61, 60,
698
- 62, 60, 60, 64, 63, 65, 63, 63, 66, 63,
699
- 67, 63, 63, 68, 63, 69, 63, 63, 70, 63,
700
- 71, 63, 63, 72, 63, 73, 63, 63, 74, 63,
701
- 63, 75, 63, 76, 63, 63, 63, 78, 77, 79,
702
- 79, 80, 82, 81, 83, 83, 84, 84, 84, 84,
703
- 85, 86, 86, 86, 86, 87, 87, 88, 89, 89,
704
- 90, 92, 91, 93, 93, 93, 93, 94, 95, 95,
705
- 96, 96, 96, 97, 99, 98, 100, 100, 101, 101,
706
- 102, 102, 102, 102, 103, 103, 103, 103, 104, 104,
707
- 104, 104, 104, 104, 105, 105, 105, 106, 106, 106,
708
- 106, 108, 107, 109, 107, 110, 110, 111, 111, 112,
709
- 114, 113, 115, 115, 115, 115, 116, 116, 117, 117,
710
- 117, 117, 118, 119, 119, 120, 120, 121, 121, 122,
711
- 122, 123, 123, 125, 124, 126, 124, 127, 127, 128,
712
- 128, 128, 128, 129, 129, 130, 130, 131, 131, 131,
713
- 131, 131, 131, 131, 132, 132, 133, 133, 134, 134,
714
- 134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
715
- 134, 134, 135, 135, 136, 136, 137, 137, 138, 138,
716
- 138, 138, 138, 138, 139, 139, 140, 140, 140, 140,
717
- 140, 140, 140, 140, 140, 140, 140, 140, 140, 140,
718
- 140, 140, 140, 140, 140, 140, 140, 140, 140, 140,
719
- 140, 140, 140, 140, 140, 140
720
- };
721
-
722
- /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */
723
- static const yytype_uint8 yyr2[] =
724
- {
725
- 0, 2, 1, 1, 0, 3, 3, 0, 0, 3,
726
- 0, 4, 0, 0, 3, 0, 3, 1, 0, 3,
727
- 0, 3, 1, 0, 3, 0, 3, 1, 0, 3,
728
- 0, 3, 1, 0, 3, 0, 3, 1, 0, 3,
729
- 1, 0, 3, 0, 3, 1, 2, 0, 6, 2,
730
- 2, 2, 0, 7, 2, 0, 4, 3, 2, 0,
731
- 2, 3, 3, 2, 1, 2, 1, 1, 2, 2,
732
- 2, 0, 6, 4, 3, 2, 0, 1, 2, 2,
733
- 4, 4, 1, 2, 0, 8, 2, 0, 2, 0,
734
- 4, 3, 2, 0, 1, 3, 2, 1, 1, 3,
735
- 2, 4, 2, 1, 2, 1, 1, 2, 3, 2,
736
- 3, 0, 5, 0, 5, 1, 1, 2, 2, 2,
737
- 0, 7, 3, 1, 1, 1, 2, 0, 4, 3,
738
- 2, 0, 1, 3, 1, 1, 1, 7, 7, 10,
739
- 10, 2, 2, 0, 6, 0, 6, 3, 1, 1,
740
- 3, 1, 0, 1, 1, 1, 0, 0, 3, 5,
741
- 4, 6, 3, 5, 2, 0, 1, 1, 1, 1,
742
- 1, 1, 1, 1, 1, 1, 1, 2, 1, 1,
743
- 1, 2, 2, 1, 3, 1, 1, 0, 1, 1,
744
- 1, 1, 1, 1, 6, 5, 1, 1, 1, 1,
745
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
746
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
747
- 1, 1, 1, 1, 1, 1
748
- };
749
-
750
- /* YYDEFACT[STATE-NAME] -- Default reduction number in state STATE-NUM.
751
- Performed when YYTABLE doesn't specify something else to do. Zero
752
- means the default is an error. */
753
- static const yytype_uint8 yydefact[] =
754
- {
755
- 7, 0, 0, 0, 8, 0, 2, 183, 185, 0,
756
- 0, 1, 7, 0, 0, 186, 7, 10, 13, 27,
757
- 28, 32, 33, 17, 18, 22, 23, 37, 40, 41,
758
- 0, 45, 182, 6, 0, 5, 9, 46, 47, 0,
759
- 7, 4, 0, 4, 0, 4, 0, 4, 0, 4,
760
- 0, 0, 4, 0, 0, 0, 0, 0, 0, 145,
761
- 51, 70, 83, 87, 119, 143, 0, 184, 0, 168,
762
- 169, 170, 171, 172, 173, 174, 175, 176, 178, 179,
763
- 166, 167, 180, 0, 11, 3, 14, 26, 29, 31,
764
- 34, 16, 19, 21, 24, 36, 39, 42, 196, 197,
765
- 198, 199, 200, 201, 202, 203, 204, 205, 206, 207,
766
- 208, 209, 210, 211, 212, 213, 214, 215, 216, 217,
767
- 218, 219, 220, 221, 222, 223, 224, 225, 78, 0,
768
- 79, 117, 118, 49, 50, 68, 69, 7, 7, 141,
769
- 0, 142, 0, 52, 0, 0, 89, 0, 120, 0,
770
- 44, 7, 177, 181, 0, 0, 0, 0, 0, 0,
771
- 152, 54, 0, 0, 86, 0, 84, 124, 125, 126,
772
- 123, 0, 152, 0, 0, 192, 193, 191, 188, 189,
773
- 190, 195, 80, 81, 0, 0, 149, 0, 148, 151,
774
- 0, 0, 0, 0, 88, 0, 0, 0, 0, 48,
775
- 194, 0, 7, 0, 146, 152, 0, 0, 0, 0,
776
- 64, 0, 98, 0, 75, 77, 103, 72, 0, 122,
777
- 0, 0, 0, 144, 137, 138, 0, 153, 150, 154,
778
- 147, 0, 66, 0, 94, 58, 67, 97, 53, 74,
779
- 0, 63, 0, 0, 100, 0, 0, 60, 102, 0,
780
- 0, 0, 0, 106, 0, 0, 0, 0, 132, 130,
781
- 105, 121, 0, 57, 65, 0, 0, 96, 61, 62,
782
- 99, 0, 73, 0, 0, 115, 116, 92, 97, 85,
783
- 129, 0, 104, 107, 109, 0, 155, 7, 0, 0,
784
- 0, 95, 56, 101, 91, 104, 0, 108, 110, 113,
785
- 0, 111, 156, 128, 139, 140, 90, 165, 158, 162,
786
- 165, 7, 0, 114, 160, 112, 0, 164, 134, 135,
787
- 136, 159, 163, 0, 161, 133
788
- };
789
-
790
- /* YYDEFGOTO[NTERM-NUM]. */
791
- static const yytype_int16 yydefgoto[] =
792
- {
793
- -1, 3, 86, 4, 5, 6, 12, 40, 17, 41,
794
- 46, 47, 48, 49, 42, 43, 44, 45, 50, 51,
795
- 52, 66, 18, 68, 60, 19, 20, 162, 143, 208,
796
- 232, 233, 234, 235, 61, 21, 22, 144, 193, 214,
797
- 62, 63, 23, 24, 195, 146, 166, 251, 236, 215,
798
- 256, 257, 258, 310, 307, 277, 64, 25, 26, 171,
799
- 169, 148, 222, 259, 317, 318, 27, 28, 65, 29,
800
- 149, 140, 187, 188, 228, 287, 288, 313, 82, 245,
801
- 8, 9, 30, 181, 31, 189
802
- };
803
-
804
- /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
805
- STATE-NUM. */
806
- #define YYPACT_NINF -278
807
- static const yytype_int16 yypact[] =
808
- {
809
- 13, 1, 1, 42, -278, 156, -278, 1, -278, -7,
810
- -3, -278, 10, 4, 33, -278, 6, -278, -278, 28,
811
- -278, 30, -278, 32, -278, 39, -278, 52, 68, -278,
812
- 200, 77, -278, -278, 1, -278, -278, -278, -278, 835,
813
- 10, 84, 85, 84, 87, 84, 89, 84, 92, 84,
814
- 93, 94, 84, 455, 523, 554, 585, 80, 96, 616,
815
- 12, 35, 16, 76, 14, -278, 100, -278, 95, -278,
816
- -278, -278, -278, -278, -278, -278, -278, 82, -278, -278,
817
- -278, -278, 101, -12, -278, -278, -278, -278, -278, -278,
818
- -278, -278, -278, -278, -278, -278, -278, -278, -278, -278,
819
- -278, -278, -278, -278, -278, -278, -278, -278, -278, -278,
820
- -278, -278, -278, -278, -278, -278, -278, -278, -278, -278,
821
- -278, -278, -278, -278, -278, -278, -278, -278, -278, 59,
822
- -278, -278, -278, -278, -278, -278, -278, 6, 6, -278,
823
- 109, -278, 37, -278, 120, 37, 155, 57, -278, 123,
824
- -278, 36, -278, -278, 121, 116, 126, 127, 835, 835,
825
- 647, -278, 125, 338, -278, 57, -278, -278, -278, -278,
826
- 128, 130, 647, 132, 116, -278, -278, -278, -278, -278,
827
- -278, -278, -278, -278, 135, 134, 139, 143, 146, -278,
828
- 372, 153, 810, 163, -278, 131, 57, 86, 164, -278,
829
- -278, 678, 6, 63, -278, 647, 167, 810, 166, 338,
830
- -278, 31, 168, 835, 171, -278, 709, -278, 304, -278,
831
- 173, 759, 174, -278, -278, -278, 835, -278, -278, -278,
832
- -278, 372, -278, 835, 175, 177, -278, 709, -278, -278,
833
- 152, -278, 178, 116, 176, 191, 338, -278, -278, 182,
834
- 759, 181, 86, -278, 785, 835, 74, 267, -278, 186,
835
- -278, -278, 180, -278, -278, 116, 372, -278, -278, -278,
836
- -278, 116, -278, 304, 835, -278, -278, 188, 418, -278,
837
- -278, 90, -278, -278, -278, 189, -278, 6, -17, 86,
838
- 740, -278, -278, -278, -278, 191, 304, -278, -278, -278,
839
- 810, -278, 224, -278, -278, -278, -278, 223, -278, 709,
840
- 223, 6, 491, -278, -278, -278, 810, -278, 190, -278,
841
- -278, -278, 709, 491, -278, -278
842
- };
843
-
844
- /* YYPGOTO[NTERM-NUM]. */
845
- static const yytype_int16 yypgoto[] =
846
- {
847
- -278, -278, 151, -278, -16, -10, -278, -278, -278, -278,
848
- -278, -278, -278, -278, -278, -278, -278, -278, -278, -278,
849
- -278, -278, -278, -278, -278, -278, -278, -278, -278, -209,
850
- -188, -181, -277, -278, -278, -278, -278, -278, -194, -278,
851
- -278, -278, -278, -278, -278, -278, -278, -253, -11, -278,
852
- -9, -278, -8, -278, -278, -278, -278, -278, -278, -278,
853
- -134, -278, -234, -278, -79, -278, -278, -278, -278, -278,
854
- -278, -278, -156, -278, -278, -56, -278, -63, -128, -34,
855
- 26, 246, -278, -171, -278, -47
856
- };
857
-
858
- /* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If
859
- positive, shift that token. If negative, reduce the rule which
860
- number is the opposite. If YYTABLE_NINF, syntax error. */
861
- #define YYTABLE_NINF -188
862
- static const yytype_int16 yytable[] =
863
- {
864
- 39, 157, 36, 200, 212, 83, 130, 132, 134, 136,
865
- -12, 213, 141, -12, 161, 239, 198, 164, 280, 170,
866
- 294, 154, 263, 308, 142, 244, 147, 180, -82, -82,
867
- 84, 194, 301, 32, 302, 33, 7, 170, 155, 321,
868
- 255, 35, 11, 306, 34, 264, 180, 1, 34, 230,
869
- 37, 1, 272, 2, 1, 303, 2, 292, -12, -55,
870
- 67, -127, 219, -82, 80, 81, 38, 240, 170, 274,
871
- 80, 81, 270, 255, -25, 229, -30, 1, -15, 2,
872
- 241, 167, -71, 242, -12, -20, 264, 220, 145, 168,
873
- 80, 81, 80, 81, 291, 156, 80, 81, -35, 227,
874
- 293, -7, -7, -7, -7, -7, -7, -7, -7, -7,
875
- -7, -7, 283, 284, -38, 180, -7, -7, -7, -7,
876
- -7, 158, 159, -43, 184, 185, -7, 1, 297, 298,
877
- 85, 87, 137, 89, -131, 91, 152, 180, 93, 95,
878
- 96, 173, 151, 180, 175, 176, 150, 192, 138, 80,
879
- 81, 177, 178, 179, 225, 153, 160, 13, 216, 14,
880
- -187, -187, -187, -187, -187, -187, -187, 163, 165, 248,
881
- 172, 174, 190, 237, 207, 182, 183, 197, 218, 196,
882
- 199, 221, 15, 16, 319, 202, 226, 260, 201, 203,
883
- 267, 204, 262, 192, 88, 319, 90, 205, 92, 209,
884
- 94, 268, 250, 97, 53, 54, 55, 56, 57, 58,
885
- 59, 217, 223, 231, 238, 207, 278, 246, 243, 252,
886
- 260, 282, 261, 266, 247, 265, 271, 269, 273, 279,
887
- 192, 267, 289, 290, 296, 286, 221, 312, 299, 275,
888
- 295, 323, 276, 305, 325, 281, 311, 315, 10, 0,
889
- 207, 0, 0, 0, 0, 0, 0, 250, 0, 0,
890
- 0, 0, 314, 0, 0, 320, 309, 0, 285, 0,
891
- 0, 300, 0, 221, 0, 324, 320, 0, 286, 0,
892
- 250, 0, 322, -156, -156, -156, -156, -156, -156, -156,
893
- -156, -156, -156, 0, 0, 316, 0, 0, -156, -156,
894
- -156, -156, 0, 0, 0, 249, 0, -156, -156, 0,
895
- 0, 0, 0, 0, 0, 0, -157, 0, -157, -7,
896
- -7, -7, -7, -7, -7, -7, -7, -7, -7, -7,
897
- 0, 0, 0, 0, -7, -7, -7, -7, -7, 191,
898
- 0, 0, 0, 0, -7, 1, 0, 0, 0, 0,
899
- 0, 0, -93, 0, -7, -7, -7, -7, -7, -7,
900
- -7, -7, -7, -7, 0, 0, 0, 0, 0, -7,
901
- -7, -7, -7, 206, 0, 0, 0, 0, -7, 1,
902
- 0, 0, 0, 0, 0, 0, -76, 0, -7, -7,
903
- -7, -7, -7, -7, -7, -7, -7, -7, 0, 0,
904
- 0, 0, 0, -7, -7, -7, -7, 0, 0, 0,
905
- 0, 0, -7, 1, 0, 0, 0, 0, 0, 0,
906
- -59, 98, 99, 100, 101, 102, 103, 104, 105, 106,
907
- 107, 108, 109, 110, 111, 112, 113, 114, 115, 116,
908
- 117, 118, 119, 120, 121, 122, 123, 124, 125, 126,
909
- 127, 247, 0, 0, 0, 0, -105, -105, 98, 99,
910
- 100, 101, 102, 103, 104, 105, 106, 107, 108, 109,
911
- 110, 111, 112, 113, 114, 115, 116, 117, 118, 119,
912
- 120, 121, 122, 123, 124, 125, 126, 127, 128, 0,
913
- 0, 0, 0, 129, 98, 99, 100, 101, 102, 103,
914
- 104, 105, 106, 107, 108, 109, 110, 111, 112, 113,
915
- 114, 115, 116, 117, 118, 119, 120, 121, 122, 123,
916
- 124, 125, 126, 127, 80, 81, 98, 99, 100, 101,
917
- 102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
918
- 112, 113, 114, 115, 116, 117, 118, 119, 120, 121,
919
- 122, 123, 124, 125, 126, 127, 131, 98, 99, 100,
920
- 101, 102, 103, 104, 105, 106, 107, 108, 109, 110,
921
- 111, 112, 113, 114, 115, 116, 117, 118, 119, 120,
922
- 121, 122, 123, 124, 125, 126, 127, 133, 98, 99,
923
- 100, 101, 102, 103, 104, 105, 106, 107, 108, 109,
924
- 110, 111, 112, 113, 114, 115, 116, 117, 118, 119,
925
- 120, 121, 122, 123, 124, 125, 126, 127, 135, 98,
926
- 99, 100, 101, 102, 103, 104, 105, 106, 107, 108,
927
- 109, 110, 111, 112, 113, 114, 115, 116, 117, 118,
928
- 119, 120, 121, 122, 123, 124, 125, 126, 127, 139,
929
- 98, 99, 100, 101, 102, 103, 104, 105, 106, 107,
930
- 108, 109, 110, 111, 112, 113, 114, 115, 116, 117,
931
- 118, 119, 120, 121, 122, 123, 124, 125, 126, 127,
932
- 186, 98, 99, 100, 101, 102, 103, 104, 105, 106,
933
- 107, 108, 109, 110, 111, 112, 113, 114, 115, 116,
934
- 117, 118, 119, 120, 121, 122, 123, 124, 125, 126,
935
- 127, 224, 98, 99, 100, 101, 102, 103, 104, 105,
936
- 106, 107, 108, 109, 110, 111, 112, 113, 114, 115,
937
- 116, 117, 118, 119, 120, 121, 122, 123, 124, 125,
938
- 126, 127, 247, 98, 99, 100, 101, 102, 103, 104,
939
- 105, 106, 107, 108, 109, 110, 111, 112, 113, 114,
940
- 115, 116, 117, 118, 119, 120, 121, 122, 123, 124,
941
- 125, 126, 127, 304, 253, 69, 70, 71, 72, 73,
942
- 74, 75, 76, 77, 78, 0, 0, 0, 0, 254,
943
- 210, 79, 80, 81, 0, 0, 0, 0, 0, 211,
944
- 253, 69, 70, 71, 72, 73, 74, 75, 76, 77,
945
- 78, 0, 0, 0, 0, 0, 210, 79, 80, 81,
946
- 0, 0, 0, 0, 0, 211, 69, 70, 71, 72,
947
- 73, 74, 75, 76, 77, 78, 0, 0, 0, 0,
948
- 0, 210, 79, 80, 81, 0, 0, 0, 0, 0,
949
- 211, 69, 70, 71, 72, 73, 74, 75, 76, 77,
950
- 78, 0, 0, 0, 0, 0, 0, 79, 80, 81
951
- };
952
-
953
- #define yypact_value_is_default(Yystate) \
954
- (!!((Yystate) == (-278)))
955
-
956
- #define yytable_value_is_error(Yytable_value) \
957
- YYID (0)
958
-
959
- static const yytype_int16 yycheck[] =
960
- {
961
- 16, 129, 12, 174, 192, 39, 53, 54, 55, 56,
962
- 0, 192, 59, 0, 142, 209, 172, 145, 252, 147,
963
- 273, 33, 231, 300, 12, 213, 12, 155, 12, 13,
964
- 40, 165, 49, 7, 51, 42, 35, 165, 50, 316,
965
- 221, 44, 0, 296, 51, 233, 174, 41, 51, 205,
966
- 46, 41, 246, 43, 41, 289, 43, 266, 48, 47,
967
- 34, 47, 196, 47, 33, 34, 33, 36, 196, 250,
968
- 33, 34, 243, 254, 46, 203, 46, 41, 46, 43,
969
- 49, 24, 47, 211, 48, 46, 274, 1, 12, 32,
970
- 33, 34, 33, 34, 265, 36, 33, 34, 46, 36,
971
- 271, 15, 16, 17, 18, 19, 20, 21, 22, 23,
972
- 24, 25, 38, 39, 46, 243, 30, 31, 32, 33,
973
- 34, 137, 138, 46, 158, 159, 40, 41, 38, 39,
974
- 46, 46, 52, 46, 48, 46, 54, 265, 46, 46,
975
- 46, 151, 47, 271, 28, 29, 46, 163, 52, 33,
976
- 34, 35, 36, 37, 201, 54, 47, 1, 192, 3,
977
- 4, 5, 6, 7, 8, 9, 10, 47, 13, 216,
978
- 47, 50, 47, 207, 190, 49, 49, 47, 47, 51,
979
- 48, 197, 26, 27, 312, 51, 202, 221, 53, 50,
980
- 237, 48, 226, 209, 43, 323, 45, 51, 47, 46,
981
- 49, 49, 218, 52, 4, 5, 6, 7, 8, 9,
982
- 10, 48, 48, 46, 48, 231, 250, 46, 50, 46,
983
- 254, 255, 48, 46, 33, 50, 50, 49, 46, 48,
984
- 246, 278, 46, 53, 46, 11, 252, 14, 49, 250,
985
- 274, 51, 250, 290, 323, 254, 302, 310, 2, -1,
986
- 266, -1, -1, -1, -1, -1, -1, 273, -1, -1,
987
- -1, -1, 309, -1, -1, 312, 300, -1, 1, -1,
988
- -1, 287, -1, 289, -1, 322, 323, -1, 11, -1,
989
- 296, -1, 316, 16, 17, 18, 19, 20, 21, 22,
990
- 23, 24, 25, -1, -1, 311, -1, -1, 31, 32,
991
- 33, 34, -1, -1, -1, 1, -1, 40, 41, -1,
992
- -1, -1, -1, -1, -1, -1, 49, -1, 51, 15,
993
- 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
994
- -1, -1, -1, -1, 30, 31, 32, 33, 34, 1,
995
- -1, -1, -1, -1, 40, 41, -1, -1, -1, -1,
996
- -1, -1, 48, -1, 16, 17, 18, 19, 20, 21,
997
- 22, 23, 24, 25, -1, -1, -1, -1, -1, 31,
998
- 32, 33, 34, 1, -1, -1, -1, -1, 40, 41,
999
- -1, -1, -1, -1, -1, -1, 48, -1, 16, 17,
1000
- 18, 19, 20, 21, 22, 23, 24, 25, -1, -1,
1001
- -1, -1, -1, 31, 32, 33, 34, -1, -1, -1,
1002
- -1, -1, 40, 41, -1, -1, -1, -1, -1, -1,
1003
- 48, 3, 4, 5, 6, 7, 8, 9, 10, 11,
1004
- 12, 13, 14, 15, 16, 17, 18, 19, 20, 21,
1005
- 22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
1006
- 32, 33, -1, -1, -1, -1, 38, 39, 3, 4,
1007
- 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
1008
- 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
1009
- 25, 26, 27, 28, 29, 30, 31, 32, 33, -1,
1010
- -1, -1, -1, 38, 3, 4, 5, 6, 7, 8,
1011
- 9, 10, 11, 12, 13, 14, 15, 16, 17, 18,
1012
- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28,
1013
- 29, 30, 31, 32, 33, 34, 3, 4, 5, 6,
1014
- 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
1015
- 17, 18, 19, 20, 21, 22, 23, 24, 25, 26,
1016
- 27, 28, 29, 30, 31, 32, 33, 3, 4, 5,
1017
- 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
1018
- 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
1019
- 26, 27, 28, 29, 30, 31, 32, 33, 3, 4,
1020
- 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
1021
- 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
1022
- 25, 26, 27, 28, 29, 30, 31, 32, 33, 3,
1023
- 4, 5, 6, 7, 8, 9, 10, 11, 12, 13,
1024
- 14, 15, 16, 17, 18, 19, 20, 21, 22, 23,
1025
- 24, 25, 26, 27, 28, 29, 30, 31, 32, 33,
1026
- 3, 4, 5, 6, 7, 8, 9, 10, 11, 12,
1027
- 13, 14, 15, 16, 17, 18, 19, 20, 21, 22,
1028
- 23, 24, 25, 26, 27, 28, 29, 30, 31, 32,
1029
- 33, 3, 4, 5, 6, 7, 8, 9, 10, 11,
1030
- 12, 13, 14, 15, 16, 17, 18, 19, 20, 21,
1031
- 22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
1032
- 32, 33, 3, 4, 5, 6, 7, 8, 9, 10,
1033
- 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
1034
- 21, 22, 23, 24, 25, 26, 27, 28, 29, 30,
1035
- 31, 32, 33, 3, 4, 5, 6, 7, 8, 9,
1036
- 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
1037
- 20, 21, 22, 23, 24, 25, 26, 27, 28, 29,
1038
- 30, 31, 32, 33, 15, 16, 17, 18, 19, 20,
1039
- 21, 22, 23, 24, 25, -1, -1, -1, -1, 30,
1040
- 31, 32, 33, 34, -1, -1, -1, -1, -1, 40,
1041
- 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
1042
- 25, -1, -1, -1, -1, -1, 31, 32, 33, 34,
1043
- -1, -1, -1, -1, -1, 40, 16, 17, 18, 19,
1044
- 20, 21, 22, 23, 24, 25, -1, -1, -1, -1,
1045
- -1, 31, 32, 33, 34, -1, -1, -1, -1, -1,
1046
- 40, 16, 17, 18, 19, 20, 21, 22, 23, 24,
1047
- 25, -1, -1, -1, -1, -1, -1, 32, 33, 34
1048
- };
1049
-
1050
- /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
1051
- symbol of state STATE-NUM. */
1052
- static const yytype_uint8 yystos[] =
1053
- {
1054
- 0, 41, 43, 56, 58, 59, 60, 35, 135, 136,
1055
- 136, 0, 61, 1, 3, 26, 27, 63, 77, 80,
1056
- 81, 90, 91, 97, 98, 112, 113, 121, 122, 124,
1057
- 137, 139, 135, 42, 51, 44, 60, 46, 33, 59,
1058
- 62, 64, 69, 70, 71, 72, 65, 66, 67, 68,
1059
- 73, 74, 75, 4, 5, 6, 7, 8, 9, 10,
1060
- 79, 89, 95, 96, 111, 123, 76, 135, 78, 16,
1061
- 17, 18, 19, 20, 21, 22, 23, 24, 25, 32,
1062
- 33, 34, 133, 134, 60, 46, 57, 46, 57, 46,
1063
- 57, 46, 57, 46, 57, 46, 46, 57, 3, 4,
1064
- 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
1065
- 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
1066
- 25, 26, 27, 28, 29, 30, 31, 32, 33, 38,
1067
- 140, 33, 140, 33, 140, 33, 140, 52, 52, 33,
1068
- 126, 140, 12, 83, 92, 12, 100, 12, 116, 125,
1069
- 46, 47, 54, 54, 33, 50, 36, 133, 59, 59,
1070
- 47, 133, 82, 47, 133, 13, 101, 24, 32, 115,
1071
- 133, 114, 47, 60, 50, 28, 29, 35, 36, 37,
1072
- 133, 138, 49, 49, 134, 134, 33, 127, 128, 140,
1073
- 47, 1, 59, 93, 115, 99, 51, 47, 127, 48,
1074
- 138, 53, 51, 50, 48, 51, 1, 59, 84, 46,
1075
- 31, 40, 85, 86, 94, 104, 134, 48, 47, 115,
1076
- 1, 59, 117, 48, 33, 140, 59, 36, 129, 133,
1077
- 127, 46, 85, 86, 87, 88, 103, 134, 48, 93,
1078
- 36, 49, 133, 50, 85, 134, 46, 33, 140, 1,
1079
- 59, 102, 46, 15, 30, 86, 105, 106, 107, 118,
1080
- 134, 48, 134, 84, 85, 50, 46, 140, 49, 49,
1081
- 138, 50, 93, 46, 86, 103, 107, 110, 134, 48,
1082
- 117, 105, 134, 38, 39, 1, 11, 130, 131, 46,
1083
- 53, 138, 84, 138, 102, 134, 46, 38, 39, 49,
1084
- 59, 49, 51, 117, 33, 140, 102, 109, 87, 134,
1085
- 108, 130, 14, 132, 140, 132, 59, 119, 120, 133,
1086
- 140, 87, 134, 51, 140, 119
1087
- };
1088
-
1089
- #define yyerrok (yyerrstatus = 0)
1090
- #define yyclearin (yychar = YYEMPTY)
1091
- #define YYEMPTY (-2)
1092
- #define YYEOF 0
1093
-
1094
- #define YYACCEPT goto yyacceptlab
1095
- #define YYABORT goto yyabortlab
1096
- #define YYERROR goto yyerrorlab
1097
-
1098
-
1099
- /* Like YYERROR except do call yyerror. This remains here temporarily
1100
- to ease the transition to the new meaning of YYERROR, for GCC.
1101
- Once GCC version 2 has supplanted version 1, this can go. However,
1102
- YYFAIL appears to be in use. Nevertheless, it is formally deprecated
1103
- in Bison 2.4.2's NEWS entry, where a plan to phase it out is
1104
- discussed. */
1105
-
1106
- #define YYFAIL goto yyerrlab
1107
- #if defined YYFAIL
1108
- /* This is here to suppress warnings from the GCC cpp's
1109
- -Wunused-macros. Normally we don't worry about that warning, but
1110
- some users do, and we want to make it easy for users to remove
1111
- YYFAIL uses, which will produce warnings from Bison 2.5. */
1112
- #endif
1113
-
1114
- #define YYRECOVERING() (!!yyerrstatus)
1115
-
1116
- #define YYBACKUP(Token, Value) \
1117
- do \
1118
- if (yychar == YYEMPTY) \
1119
- { \
1120
- yychar = (Token); \
1121
- yylval = (Value); \
1122
- YYPOPSTACK (yylen); \
1123
- yystate = *yyssp; \
1124
- goto yybackup; \
1125
- } \
1126
- else \
1127
- { \
1128
- yyerror (YY_("syntax error: cannot back up")); \
1129
- YYERROR; \
1130
- } \
1131
- while (YYID (0))
1132
-
1133
- /* Error token number */
1134
- #define YYTERROR 1
1135
- #define YYERRCODE 256
1136
-
1137
-
1138
- /* This macro is provided for backward compatibility. */
1139
- #ifndef YY_LOCATION_PRINT
1140
- # define YY_LOCATION_PRINT(File, Loc) ((void) 0)
1141
- #endif
1142
-
1143
-
1144
- /* YYLEX -- calling `yylex' with the right arguments. */
1145
- #ifdef YYLEX_PARAM
1146
- # define YYLEX yylex (&yylval, YYLEX_PARAM)
1147
- #else
1148
- # define YYLEX yylex (&yylval)
1149
- #endif
1150
-
1151
- /* Enable debugging if requested. */
1152
- #if YYDEBUG
1153
-
1154
- # ifndef YYFPRINTF
1155
- # include <stdio.h> /* INFRINGES ON USER NAME SPACE */
1156
- # define YYFPRINTF fprintf
1157
- # endif
1158
-
1159
- # define YYDPRINTF(Args) \
1160
- do { \
1161
- if (yydebug) \
1162
- YYFPRINTF Args; \
1163
- } while (YYID (0))
1164
-
1165
- # define YY_SYMBOL_PRINT(Title, Type, Value, Location) \
1166
- do { \
1167
- if (yydebug) \
1168
- { \
1169
- YYFPRINTF (stderr, "%s ", Title); \
1170
- yy_symbol_print (stderr, \
1171
- Type, Value); \
1172
- YYFPRINTF (stderr, "\n"); \
1173
- } \
1174
- } while (YYID (0))
1175
-
1176
-
1177
- /*--------------------------------.
1178
- | Print this symbol on YYOUTPUT. |
1179
- `--------------------------------*/
1180
-
1181
- /*ARGSUSED*/
1182
- #if (defined __STDC__ || defined __C99__FUNC__ \
1183
- || defined __cplusplus || defined _MSC_VER)
1184
- static void
1185
- yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep)
1186
- #else
1187
- static void
1188
- yy_symbol_value_print (yyoutput, yytype, yyvaluep)
1189
- FILE *yyoutput;
1190
- int yytype;
1191
- YYSTYPE const * const yyvaluep;
1192
- #endif
1193
- {
1194
- FILE *yyo = yyoutput;
1195
- YYUSE (yyo);
1196
- if (!yyvaluep)
1197
- return;
1198
- # ifdef YYPRINT
1199
- if (yytype < YYNTOKENS)
1200
- YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep);
1201
- # else
1202
- YYUSE (yyoutput);
1203
- # endif
1204
- switch (yytype)
1205
- {
1206
- default:
1207
- break;
1208
- }
1209
- }
1210
-
1211
-
1212
- /*--------------------------------.
1213
- | Print this symbol on YYOUTPUT. |
1214
- `--------------------------------*/
1215
-
1216
- #if (defined __STDC__ || defined __C99__FUNC__ \
1217
- || defined __cplusplus || defined _MSC_VER)
1218
- static void
1219
- yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep)
1220
- #else
1221
- static void
1222
- yy_symbol_print (yyoutput, yytype, yyvaluep)
1223
- FILE *yyoutput;
1224
- int yytype;
1225
- YYSTYPE const * const yyvaluep;
1226
- #endif
1227
- {
1228
- if (yytype < YYNTOKENS)
1229
- YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
1230
- else
1231
- YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]);
1232
-
1233
- yy_symbol_value_print (yyoutput, yytype, yyvaluep);
1234
- YYFPRINTF (yyoutput, ")");
1235
- }
1236
-
1237
- /*------------------------------------------------------------------.
1238
- | yy_stack_print -- Print the state stack from its BOTTOM up to its |
1239
- | TOP (included). |
1240
- `------------------------------------------------------------------*/
1241
-
1242
- #if (defined __STDC__ || defined __C99__FUNC__ \
1243
- || defined __cplusplus || defined _MSC_VER)
1244
- static void
1245
- yy_stack_print (yytype_int16 *yybottom, yytype_int16 *yytop)
1246
- #else
1247
- static void
1248
- yy_stack_print (yybottom, yytop)
1249
- yytype_int16 *yybottom;
1250
- yytype_int16 *yytop;
1251
- #endif
1252
- {
1253
- YYFPRINTF (stderr, "Stack now");
1254
- for (; yybottom <= yytop; yybottom++)
1255
- {
1256
- int yybot = *yybottom;
1257
- YYFPRINTF (stderr, " %d", yybot);
1258
- }
1259
- YYFPRINTF (stderr, "\n");
1260
- }
1261
-
1262
- # define YY_STACK_PRINT(Bottom, Top) \
1263
- do { \
1264
- if (yydebug) \
1265
- yy_stack_print ((Bottom), (Top)); \
1266
- } while (YYID (0))
1267
-
1268
-
1269
- /*------------------------------------------------.
1270
- | Report that the YYRULE is going to be reduced. |
1271
- `------------------------------------------------*/
1272
-
1273
- #if (defined __STDC__ || defined __C99__FUNC__ \
1274
- || defined __cplusplus || defined _MSC_VER)
1275
- static void
1276
- yy_reduce_print (YYSTYPE *yyvsp, int yyrule)
1277
- #else
1278
- static void
1279
- yy_reduce_print (yyvsp, yyrule)
1280
- YYSTYPE *yyvsp;
1281
- int yyrule;
1282
- #endif
1283
- {
1284
- int yynrhs = yyr2[yyrule];
1285
- int yyi;
1286
- unsigned long int yylno = yyrline[yyrule];
1287
- YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n",
1288
- yyrule - 1, yylno);
1289
- /* The symbols being reduced. */
1290
- for (yyi = 0; yyi < yynrhs; yyi++)
1291
- {
1292
- YYFPRINTF (stderr, " $%d = ", yyi + 1);
1293
- yy_symbol_print (stderr, yyrhs[yyprhs[yyrule] + yyi],
1294
- &(yyvsp[(yyi + 1) - (yynrhs)])
1295
- );
1296
- YYFPRINTF (stderr, "\n");
1297
- }
1298
- }
1299
-
1300
- # define YY_REDUCE_PRINT(Rule) \
1301
- do { \
1302
- if (yydebug) \
1303
- yy_reduce_print (yyvsp, Rule); \
1304
- } while (YYID (0))
1305
-
1306
- /* Nonzero means print parse trace. It is left uninitialized so that
1307
- multiple parsers can coexist. */
1308
- int yydebug;
1309
- #else /* !YYDEBUG */
1310
- # define YYDPRINTF(Args)
1311
- # define YY_SYMBOL_PRINT(Title, Type, Value, Location)
1312
- # define YY_STACK_PRINT(Bottom, Top)
1313
- # define YY_REDUCE_PRINT(Rule)
1314
- #endif /* !YYDEBUG */
1315
-
1316
-
1317
- /* YYINITDEPTH -- initial size of the parser's stacks. */
1318
- #ifndef YYINITDEPTH
1319
- # define YYINITDEPTH 200
1320
- #endif
1321
-
1322
- /* YYMAXDEPTH -- maximum size the stacks can grow to (effective only
1323
- if the built-in stack extension method is used).
1324
-
1325
- Do not make this value too large; the results are undefined if
1326
- YYSTACK_ALLOC_MAXIMUM < YYSTACK_BYTES (YYMAXDEPTH)
1327
- evaluated with infinite-precision integer arithmetic. */
1328
-
1329
- #ifndef YYMAXDEPTH
1330
- # define YYMAXDEPTH 10000
1331
- #endif
1332
-
1333
-
1334
- #if YYERROR_VERBOSE
1335
-
1336
- # ifndef yystrlen
1337
- # if defined __GLIBC__ && defined _STRING_H
1338
- # define yystrlen strlen
1339
- # else
1340
- /* Return the length of YYSTR. */
1341
- #if (defined __STDC__ || defined __C99__FUNC__ \
1342
- || defined __cplusplus || defined _MSC_VER)
1343
- static YYSIZE_T
1344
- yystrlen (const char *yystr)
1345
- #else
1346
- static YYSIZE_T
1347
- yystrlen (yystr)
1348
- const char *yystr;
1349
- #endif
1350
- {
1351
- YYSIZE_T yylen;
1352
- for (yylen = 0; yystr[yylen]; yylen++)
1353
- continue;
1354
- return yylen;
1355
- }
1356
- # endif
1357
- # endif
1358
-
1359
- # ifndef yystpcpy
1360
- # if defined __GLIBC__ && defined _STRING_H && defined _GNU_SOURCE
1361
- # define yystpcpy stpcpy
1362
- # else
1363
- /* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in
1364
- YYDEST. */
1365
- #if (defined __STDC__ || defined __C99__FUNC__ \
1366
- || defined __cplusplus || defined _MSC_VER)
1367
- static char *
1368
- yystpcpy (char *yydest, const char *yysrc)
1369
- #else
1370
- static char *
1371
- yystpcpy (yydest, yysrc)
1372
- char *yydest;
1373
- const char *yysrc;
1374
- #endif
1375
- {
1376
- char *yyd = yydest;
1377
- const char *yys = yysrc;
1378
-
1379
- while ((*yyd++ = *yys++) != '\0')
1380
- continue;
1381
-
1382
- return yyd - 1;
1383
- }
1384
- # endif
1385
- # endif
1386
-
1387
- # ifndef yytnamerr
1388
- /* Copy to YYRES the contents of YYSTR after stripping away unnecessary
1389
- quotes and backslashes, so that it's suitable for yyerror. The
1390
- heuristic is that double-quoting is unnecessary unless the string
1391
- contains an apostrophe, a comma, or backslash (other than
1392
- backslash-backslash). YYSTR is taken from yytname. If YYRES is
1393
- null, do not copy; instead, return the length of what the result
1394
- would have been. */
1395
- static YYSIZE_T
1396
- yytnamerr (char *yyres, const char *yystr)
1397
- {
1398
- if (*yystr == '"')
1399
- {
1400
- YYSIZE_T yyn = 0;
1401
- char const *yyp = yystr;
1402
-
1403
- for (;;)
1404
- switch (*++yyp)
1405
- {
1406
- case '\'':
1407
- case ',':
1408
- goto do_not_strip_quotes;
1409
-
1410
- case '\\':
1411
- if (*++yyp != '\\')
1412
- goto do_not_strip_quotes;
1413
- /* Fall through. */
1414
- default:
1415
- if (yyres)
1416
- yyres[yyn] = *yyp;
1417
- yyn++;
1418
- break;
1419
-
1420
- case '"':
1421
- if (yyres)
1422
- yyres[yyn] = '\0';
1423
- return yyn;
1424
- }
1425
- do_not_strip_quotes: ;
1426
- }
1427
-
1428
- if (! yyres)
1429
- return yystrlen (yystr);
1430
-
1431
- return yystpcpy (yyres, yystr) - yyres;
1432
- }
1433
- # endif
1434
-
1435
- /* Copy into *YYMSG, which is of size *YYMSG_ALLOC, an error message
1436
- about the unexpected token YYTOKEN for the state stack whose top is
1437
- YYSSP.
1438
-
1439
- Return 0 if *YYMSG was successfully written. Return 1 if *YYMSG is
1440
- not large enough to hold the message. In that case, also set
1441
- *YYMSG_ALLOC to the required number of bytes. Return 2 if the
1442
- required number of bytes is too large to store. */
1443
- static int
1444
- yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg,
1445
- yytype_int16 *yyssp, int yytoken)
1446
- {
1447
- YYSIZE_T yysize0 = yytnamerr (YY_NULL, yytname[yytoken]);
1448
- YYSIZE_T yysize = yysize0;
1449
- enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };
1450
- /* Internationalized format string. */
1451
- const char *yyformat = YY_NULL;
1452
- /* Arguments of yyformat. */
1453
- char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
1454
- /* Number of reported tokens (one for the "unexpected", one per
1455
- "expected"). */
1456
- int yycount = 0;
1457
-
1458
- /* There are many possibilities here to consider:
1459
- - Assume YYFAIL is not used. It's too flawed to consider. See
1460
- <http://lists.gnu.org/archive/html/bison-patches/2009-12/msg00024.html>
1461
- for details. YYERROR is fine as it does not invoke this
1462
- function.
1463
- - If this state is a consistent state with a default action, then
1464
- the only way this function was invoked is if the default action
1465
- is an error action. In that case, don't check for expected
1466
- tokens because there are none.
1467
- - The only way there can be no lookahead present (in yychar) is if
1468
- this state is a consistent state with a default action. Thus,
1469
- detecting the absence of a lookahead is sufficient to determine
1470
- that there is no unexpected or expected token to report. In that
1471
- case, just report a simple "syntax error".
1472
- - Don't assume there isn't a lookahead just because this state is a
1473
- consistent state with a default action. There might have been a
1474
- previous inconsistent state, consistent state with a non-default
1475
- action, or user semantic action that manipulated yychar.
1476
- - Of course, the expected token list depends on states to have
1477
- correct lookahead information, and it depends on the parser not
1478
- to perform extra reductions after fetching a lookahead from the
1479
- scanner and before detecting a syntax error. Thus, state merging
1480
- (from LALR or IELR) and default reductions corrupt the expected
1481
- token list. However, the list is correct for canonical LR with
1482
- one exception: it will still contain any token that will not be
1483
- accepted due to an error action in a later state.
1484
- */
1485
- if (yytoken != YYEMPTY)
1486
- {
1487
- int yyn = yypact[*yyssp];
1488
- yyarg[yycount++] = yytname[yytoken];
1489
- if (!yypact_value_is_default (yyn))
1490
- {
1491
- /* Start YYX at -YYN if negative to avoid negative indexes in
1492
- YYCHECK. In other words, skip the first -YYN actions for
1493
- this state because they are default actions. */
1494
- int yyxbegin = yyn < 0 ? -yyn : 0;
1495
- /* Stay within bounds of both yycheck and yytname. */
1496
- int yychecklim = YYLAST - yyn + 1;
1497
- int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
1498
- int yyx;
1499
-
1500
- for (yyx = yyxbegin; yyx < yyxend; ++yyx)
1501
- if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR
1502
- && !yytable_value_is_error (yytable[yyx + yyn]))
1503
- {
1504
- if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM)
1505
- {
1506
- yycount = 1;
1507
- yysize = yysize0;
1508
- break;
1509
- }
1510
- yyarg[yycount++] = yytname[yyx];
1511
- {
1512
- YYSIZE_T yysize1 = yysize + yytnamerr (YY_NULL, yytname[yyx]);
1513
- if (! (yysize <= yysize1
1514
- && yysize1 <= YYSTACK_ALLOC_MAXIMUM))
1515
- return 2;
1516
- yysize = yysize1;
1517
- }
1518
- }
1519
- }
1520
- }
1521
-
1522
- switch (yycount)
1523
- {
1524
- # define YYCASE_(N, S) \
1525
- case N: \
1526
- yyformat = S; \
1527
- break
1528
- YYCASE_(0, YY_("syntax error"));
1529
- YYCASE_(1, YY_("syntax error, unexpected %s"));
1530
- YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s"));
1531
- YYCASE_(3, YY_("syntax error, unexpected %s, expecting %s or %s"));
1532
- YYCASE_(4, YY_("syntax error, unexpected %s, expecting %s or %s or %s"));
1533
- YYCASE_(5, YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"));
1534
- # undef YYCASE_
1535
- }
1536
-
1537
- {
1538
- YYSIZE_T yysize1 = yysize + yystrlen (yyformat);
1539
- if (! (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM))
1540
- return 2;
1541
- yysize = yysize1;
1542
- }
1543
-
1544
- if (*yymsg_alloc < yysize)
1545
- {
1546
- *yymsg_alloc = 2 * yysize;
1547
- if (! (yysize <= *yymsg_alloc
1548
- && *yymsg_alloc <= YYSTACK_ALLOC_MAXIMUM))
1549
- *yymsg_alloc = YYSTACK_ALLOC_MAXIMUM;
1550
- return 1;
1551
- }
1552
-
1553
- /* Avoid sprintf, as that infringes on the user's name space.
1554
- Don't have undefined behavior even if the translation
1555
- produced a string with the wrong number of "%s"s. */
1556
- {
1557
- char *yyp = *yymsg;
1558
- int yyi = 0;
1559
- while ((*yyp = *yyformat) != '\0')
1560
- if (*yyp == '%' && yyformat[1] == 's' && yyi < yycount)
1561
- {
1562
- yyp += yytnamerr (yyp, yyarg[yyi++]);
1563
- yyformat += 2;
1564
- }
1565
- else
1566
- {
1567
- yyp++;
1568
- yyformat++;
1569
- }
1570
- }
1571
- return 0;
1572
- }
1573
- #endif /* YYERROR_VERBOSE */
1574
-
1575
- /*-----------------------------------------------.
1576
- | Release the memory associated to this symbol. |
1577
- `-----------------------------------------------*/
1578
-
1579
- /*ARGSUSED*/
1580
- #if (defined __STDC__ || defined __C99__FUNC__ \
1581
- || defined __cplusplus || defined _MSC_VER)
1582
- static void
1583
- yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep)
1584
- #else
1585
- static void
1586
- yydestruct (yymsg, yytype, yyvaluep)
1587
- const char *yymsg;
1588
- int yytype;
1589
- YYSTYPE *yyvaluep;
1590
- #endif
1591
- {
1592
- YYUSE (yyvaluep);
1593
-
1594
- if (!yymsg)
1595
- yymsg = "Deleting";
1596
- YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp);
1597
-
1598
- switch (yytype)
1599
- {
1600
-
1601
- default:
1602
- break;
1603
- }
1604
- }
1605
-
1606
-
1607
-
1608
-
1609
- /*----------.
1610
- | yyparse. |
1611
- `----------*/
1612
-
1613
- #ifdef YYPARSE_PARAM
1614
- #if (defined __STDC__ || defined __C99__FUNC__ \
1615
- || defined __cplusplus || defined _MSC_VER)
1616
- int
1617
- yyparse (void *YYPARSE_PARAM)
1618
- #else
1619
- int
1620
- yyparse (YYPARSE_PARAM)
1621
- void *YYPARSE_PARAM;
1622
- #endif
1623
- #else /* ! YYPARSE_PARAM */
1624
- #if (defined __STDC__ || defined __C99__FUNC__ \
1625
- || defined __cplusplus || defined _MSC_VER)
1626
- int
1627
- yyparse (void)
1628
- #else
1629
- int
1630
- yyparse ()
1631
-
1632
- #endif
1633
- #endif
1634
- {
1635
- /* The lookahead symbol. */
1636
- int yychar;
1637
-
1638
-
1639
- #if defined __GNUC__ && 407 <= __GNUC__ * 100 + __GNUC_MINOR__
1640
- /* Suppress an incorrect diagnostic about yylval being uninitialized. */
1641
- # define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \
1642
- _Pragma ("GCC diagnostic push") \
1643
- _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"")\
1644
- _Pragma ("GCC diagnostic ignored \"-Wmaybe-uninitialized\"")
1645
- # define YY_IGNORE_MAYBE_UNINITIALIZED_END \
1646
- _Pragma ("GCC diagnostic pop")
1647
- #else
1648
- /* Default value used for initialization, for pacifying older GCCs
1649
- or non-GCC compilers. */
1650
- static YYSTYPE yyval_default;
1651
- # define YY_INITIAL_VALUE(Value) = Value
1652
- #endif
1653
- #ifndef YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
1654
- # define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
1655
- # define YY_IGNORE_MAYBE_UNINITIALIZED_END
1656
- #endif
1657
- #ifndef YY_INITIAL_VALUE
1658
- # define YY_INITIAL_VALUE(Value) /* Nothing. */
1659
- #endif
1660
-
1661
- /* The semantic value of the lookahead symbol. */
1662
- YYSTYPE yylval YY_INITIAL_VALUE(yyval_default);
1663
-
1664
- /* Number of syntax errors so far. */
1665
- int yynerrs;
1666
-
1667
- int yystate;
1668
- /* Number of tokens to shift before error messages enabled. */
1669
- int yyerrstatus;
1670
-
1671
- /* The stacks and their tools:
1672
- `yyss': related to states.
1673
- `yyvs': related to semantic values.
1674
-
1675
- Refer to the stacks through separate pointers, to allow yyoverflow
1676
- to reallocate them elsewhere. */
1677
-
1678
- /* The state stack. */
1679
- yytype_int16 yyssa[YYINITDEPTH];
1680
- yytype_int16 *yyss;
1681
- yytype_int16 *yyssp;
1682
-
1683
- /* The semantic value stack. */
1684
- YYSTYPE yyvsa[YYINITDEPTH];
1685
- YYSTYPE *yyvs;
1686
- YYSTYPE *yyvsp;
1687
-
1688
- YYSIZE_T yystacksize;
1689
-
1690
- int yyn;
1691
- int yyresult;
1692
- /* Lookahead token as an internal (translated) token number. */
1693
- int yytoken = 0;
1694
- /* The variables used to return semantic value and location from the
1695
- action routines. */
1696
- YYSTYPE yyval;
1697
-
1698
- #if YYERROR_VERBOSE
1699
- /* Buffer for error messages, and its allocated size. */
1700
- char yymsgbuf[128];
1701
- char *yymsg = yymsgbuf;
1702
- YYSIZE_T yymsg_alloc = sizeof yymsgbuf;
1703
- #endif
1704
-
1705
- #define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N))
1706
-
1707
- /* The number of symbols on the RHS of the reduced rule.
1708
- Keep to zero when no symbol should be popped. */
1709
- int yylen = 0;
1710
-
1711
- yyssp = yyss = yyssa;
1712
- yyvsp = yyvs = yyvsa;
1713
- yystacksize = YYINITDEPTH;
1714
-
1715
- YYDPRINTF ((stderr, "Starting parse\n"));
1716
-
1717
- yystate = 0;
1718
- yyerrstatus = 0;
1719
- yynerrs = 0;
1720
- yychar = YYEMPTY; /* Cause a token to be read. */
1721
- goto yysetstate;
1722
-
1723
- /*------------------------------------------------------------.
1724
- | yynewstate -- Push a new state, which is found in yystate. |
1725
- `------------------------------------------------------------*/
1726
- yynewstate:
1727
- /* In all cases, when you get here, the value and location stacks
1728
- have just been pushed. So pushing a state here evens the stacks. */
1729
- yyssp++;
1730
-
1731
- yysetstate:
1732
- *yyssp = yystate;
1733
-
1734
- if (yyss + yystacksize - 1 <= yyssp)
1735
- {
1736
- /* Get the current used size of the three stacks, in elements. */
1737
- YYSIZE_T yysize = yyssp - yyss + 1;
1738
-
1739
- #ifdef yyoverflow
1740
- {
1741
- /* Give user a chance to reallocate the stack. Use copies of
1742
- these so that the &'s don't force the real ones into
1743
- memory. */
1744
- YYSTYPE *yyvs1 = yyvs;
1745
- yytype_int16 *yyss1 = yyss;
1746
-
1747
- /* Each stack pointer address is followed by the size of the
1748
- data in use in that stack, in bytes. This used to be a
1749
- conditional around just the two extra args, but that might
1750
- be undefined if yyoverflow is a macro. */
1751
- yyoverflow (YY_("memory exhausted"),
1752
- &yyss1, yysize * sizeof (*yyssp),
1753
- &yyvs1, yysize * sizeof (*yyvsp),
1754
- &yystacksize);
1755
-
1756
- yyss = yyss1;
1757
- yyvs = yyvs1;
1758
- }
1759
- #else /* no yyoverflow */
1760
- # ifndef YYSTACK_RELOCATE
1761
- goto yyexhaustedlab;
1762
- # else
1763
- /* Extend the stack our own way. */
1764
- if (YYMAXDEPTH <= yystacksize)
1765
- goto yyexhaustedlab;
1766
- yystacksize *= 2;
1767
- if (YYMAXDEPTH < yystacksize)
1768
- yystacksize = YYMAXDEPTH;
1769
-
1770
- {
1771
- yytype_int16 *yyss1 = yyss;
1772
- union yyalloc *yyptr =
1773
- (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
1774
- if (! yyptr)
1775
- goto yyexhaustedlab;
1776
- YYSTACK_RELOCATE (yyss_alloc, yyss);
1777
- YYSTACK_RELOCATE (yyvs_alloc, yyvs);
1778
- # undef YYSTACK_RELOCATE
1779
- if (yyss1 != yyssa)
1780
- YYSTACK_FREE (yyss1);
1781
- }
1782
- # endif
1783
- #endif /* no yyoverflow */
1784
-
1785
- yyssp = yyss + yysize - 1;
1786
- yyvsp = yyvs + yysize - 1;
1787
-
1788
- YYDPRINTF ((stderr, "Stack size increased to %lu\n",
1789
- (unsigned long int) yystacksize));
1790
-
1791
- if (yyss + yystacksize - 1 <= yyssp)
1792
- YYABORT;
1793
- }
1794
-
1795
- YYDPRINTF ((stderr, "Entering state %d\n", yystate));
1796
-
1797
- if (yystate == YYFINAL)
1798
- YYACCEPT;
1799
-
1800
- goto yybackup;
1801
-
1802
- /*-----------.
1803
- | yybackup. |
1804
- `-----------*/
1805
- yybackup:
1806
-
1807
- /* Do appropriate processing given the current state. Read a
1808
- lookahead token if we need one and don't already have one. */
1809
-
1810
- /* First try to decide what to do without reference to lookahead token. */
1811
- yyn = yypact[yystate];
1812
- if (yypact_value_is_default (yyn))
1813
- goto yydefault;
1814
-
1815
- /* Not known => get a lookahead token if don't already have one. */
1816
-
1817
- /* YYCHAR is either YYEMPTY or YYEOF or a valid lookahead symbol. */
1818
- if (yychar == YYEMPTY)
1819
- {
1820
- YYDPRINTF ((stderr, "Reading a token: "));
1821
- yychar = YYLEX;
1822
- }
1823
-
1824
- if (yychar <= YYEOF)
1825
- {
1826
- yychar = yytoken = YYEOF;
1827
- YYDPRINTF ((stderr, "Now at end of input.\n"));
1828
- }
1829
- else
1830
- {
1831
- yytoken = YYTRANSLATE (yychar);
1832
- YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
1833
- }
1834
-
1835
- /* If the proper action on seeing token YYTOKEN is to reduce or to
1836
- detect an error, take that action. */
1837
- yyn += yytoken;
1838
- if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)
1839
- goto yydefault;
1840
- yyn = yytable[yyn];
1841
- if (yyn <= 0)
1842
- {
1843
- if (yytable_value_is_error (yyn))
1844
- goto yyerrlab;
1845
- yyn = -yyn;
1846
- goto yyreduce;
1847
- }
1848
-
1849
- /* Count tokens shifted since error; after three, turn off error
1850
- status. */
1851
- if (yyerrstatus)
1852
- yyerrstatus--;
1853
-
1854
- /* Shift the lookahead token. */
1855
- YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
1856
-
1857
- /* Discard the shifted token. */
1858
- yychar = YYEMPTY;
1859
-
1860
- yystate = yyn;
1861
- YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
1862
- *++yyvsp = yylval;
1863
- YY_IGNORE_MAYBE_UNINITIALIZED_END
1864
-
1865
- goto yynewstate;
1866
-
1867
-
1868
- /*-----------------------------------------------------------.
1869
- | yydefault -- do the default action for the current state. |
1870
- `-----------------------------------------------------------*/
1871
- yydefault:
1872
- yyn = yydefact[yystate];
1873
- if (yyn == 0)
1874
- goto yyerrlab;
1875
- goto yyreduce;
1876
-
1877
-
1878
- /*-----------------------------.
1879
- | yyreduce -- Do a reduction. |
1880
- `-----------------------------*/
1881
- yyreduce:
1882
- /* yyn is the number of a rule to reduce with. */
1883
- yylen = yyr2[yyn];
1884
-
1885
- /* If YYLEN is nonzero, implement the default value of the action:
1886
- `$$ = $1'.
1887
-
1888
- Otherwise, the following line sets YYVAL to garbage.
1889
- This behavior is undocumented and Bison
1890
- users should not rely upon it. Assigning to YYVAL
1891
- unconditionally makes the parser a bit smaller, and it avoids a
1892
- GCC warning that YYVAL may be used uninitialized. */
1893
- yyval = yyvsp[1-yylen];
1894
-
1895
-
1896
- YY_REDUCE_PRINT (yyn);
1897
- switch (yyn)
1898
- {
1899
- case 2:
1900
- /* Line 1792 of yacc.c */
1901
- #line 116 "src/Slice/Grammar.y"
1902
- {
1903
- }
1904
- break;
1905
-
1906
- case 3:
1907
- /* Line 1792 of yacc.c */
1908
- #line 124 "src/Slice/Grammar.y"
1909
- {
1910
- }
1911
- break;
1912
-
1913
- case 4:
1914
- /* Line 1792 of yacc.c */
1915
- #line 127 "src/Slice/Grammar.y"
1916
- {
1917
- }
1918
- break;
1919
-
1920
- case 5:
1921
- /* Line 1792 of yacc.c */
1922
- #line 135 "src/Slice/Grammar.y"
1923
- {
1924
- (yyval) = (yyvsp[(2) - (3)]);
1925
- }
1926
- break;
1927
-
1928
- case 6:
1929
- /* Line 1792 of yacc.c */
1930
- #line 144 "src/Slice/Grammar.y"
1931
- {
1932
- (yyval) = (yyvsp[(2) - (3)]);
1933
- }
1934
- break;
1935
-
1936
- case 7:
1937
- /* Line 1792 of yacc.c */
1938
- #line 148 "src/Slice/Grammar.y"
1939
- {
1940
- (yyval) = new StringListTok;
1941
- }
1942
- break;
1943
-
1944
- case 8:
1945
- /* Line 1792 of yacc.c */
1946
- #line 157 "src/Slice/Grammar.y"
1947
- {
1948
- StringListTokPtr metaData = StringListTokPtr::dynamicCast((yyvsp[(1) - (1)]));
1949
- if(!metaData->v.empty())
1950
- {
1951
- unit->addGlobalMetaData(metaData->v);
1952
- }
1953
- }
1954
- break;
1955
-
1956
- case 10:
1957
- /* Line 1792 of yacc.c */
1958
- #line 166 "src/Slice/Grammar.y"
1959
- {
1960
- StringListTokPtr metaData = StringListTokPtr::dynamicCast((yyvsp[(1) - (2)]));
1961
- ContainedPtr contained = ContainedPtr::dynamicCast((yyvsp[(2) - (2)]));
1962
- if(contained && !metaData->v.empty())
1963
- {
1964
- contained->setMetaData(metaData->v);
1965
- }
1966
- }
1967
- break;
1968
-
1969
- case 12:
1970
- /* Line 1792 of yacc.c */
1971
- #line 176 "src/Slice/Grammar.y"
1972
- {
1973
- }
1974
- break;
1975
-
1976
- case 13:
1977
- /* Line 1792 of yacc.c */
1978
- #line 184 "src/Slice/Grammar.y"
1979
- {
1980
- assert((yyvsp[(1) - (1)]) == 0 || ModulePtr::dynamicCast((yyvsp[(1) - (1)])));
1981
- }
1982
- break;
1983
-
1984
- case 15:
1985
- /* Line 1792 of yacc.c */
1986
- #line 189 "src/Slice/Grammar.y"
1987
- {
1988
- assert((yyvsp[(1) - (1)]) == 0 || ClassDeclPtr::dynamicCast((yyvsp[(1) - (1)])));
1989
- }
1990
- break;
1991
-
1992
- case 17:
1993
- /* Line 1792 of yacc.c */
1994
- #line 194 "src/Slice/Grammar.y"
1995
- {
1996
- unit->error("`;' missing after class forward declaration");
1997
- }
1998
- break;
1999
-
2000
- case 18:
2001
- /* Line 1792 of yacc.c */
2002
- #line 198 "src/Slice/Grammar.y"
2003
- {
2004
- assert((yyvsp[(1) - (1)]) == 0 || ClassDefPtr::dynamicCast((yyvsp[(1) - (1)])));
2005
- }
2006
- break;
2007
-
2008
- case 20:
2009
- /* Line 1792 of yacc.c */
2010
- #line 203 "src/Slice/Grammar.y"
2011
- {
2012
- assert((yyvsp[(1) - (1)]) == 0 || ClassDeclPtr::dynamicCast((yyvsp[(1) - (1)])));
2013
- }
2014
- break;
2015
-
2016
- case 22:
2017
- /* Line 1792 of yacc.c */
2018
- #line 208 "src/Slice/Grammar.y"
2019
- {
2020
- unit->error("`;' missing after interface forward declaration");
2021
- }
2022
- break;
2023
-
2024
- case 23:
2025
- /* Line 1792 of yacc.c */
2026
- #line 212 "src/Slice/Grammar.y"
2027
- {
2028
- assert((yyvsp[(1) - (1)]) == 0 || ClassDefPtr::dynamicCast((yyvsp[(1) - (1)])));
2029
- }
2030
- break;
2031
-
2032
- case 25:
2033
- /* Line 1792 of yacc.c */
2034
- #line 217 "src/Slice/Grammar.y"
2035
- {
2036
- assert((yyvsp[(1) - (1)]) == 0);
2037
- }
2038
- break;
2039
-
2040
- case 27:
2041
- /* Line 1792 of yacc.c */
2042
- #line 222 "src/Slice/Grammar.y"
2043
- {
2044
- unit->error("`;' missing after exception forward declaration");
2045
- }
2046
- break;
2047
-
2048
- case 28:
2049
- /* Line 1792 of yacc.c */
2050
- #line 226 "src/Slice/Grammar.y"
2051
- {
2052
- assert((yyvsp[(1) - (1)]) == 0 || ExceptionPtr::dynamicCast((yyvsp[(1) - (1)])));
2053
- }
2054
- break;
2055
-
2056
- case 30:
2057
- /* Line 1792 of yacc.c */
2058
- #line 231 "src/Slice/Grammar.y"
2059
- {
2060
- assert((yyvsp[(1) - (1)]) == 0);
2061
- }
2062
- break;
2063
-
2064
- case 32:
2065
- /* Line 1792 of yacc.c */
2066
- #line 236 "src/Slice/Grammar.y"
2067
- {
2068
- unit->error("`;' missing after struct forward declaration");
2069
- }
2070
- break;
2071
-
2072
- case 33:
2073
- /* Line 1792 of yacc.c */
2074
- #line 240 "src/Slice/Grammar.y"
2075
- {
2076
- assert((yyvsp[(1) - (1)]) == 0 || StructPtr::dynamicCast((yyvsp[(1) - (1)])));
2077
- }
2078
- break;
2079
-
2080
- case 35:
2081
- /* Line 1792 of yacc.c */
2082
- #line 245 "src/Slice/Grammar.y"
2083
- {
2084
- assert((yyvsp[(1) - (1)]) == 0 || SequencePtr::dynamicCast((yyvsp[(1) - (1)])));
2085
- }
2086
- break;
2087
-
2088
- case 37:
2089
- /* Line 1792 of yacc.c */
2090
- #line 250 "src/Slice/Grammar.y"
2091
- {
2092
- unit->error("`;' missing after sequence definition");
2093
- }
2094
- break;
2095
-
2096
- case 38:
2097
- /* Line 1792 of yacc.c */
2098
- #line 254 "src/Slice/Grammar.y"
2099
- {
2100
- assert((yyvsp[(1) - (1)]) == 0 || DictionaryPtr::dynamicCast((yyvsp[(1) - (1)])));
2101
- }
2102
- break;
2103
-
2104
- case 40:
2105
- /* Line 1792 of yacc.c */
2106
- #line 259 "src/Slice/Grammar.y"
2107
- {
2108
- unit->error("`;' missing after dictionary definition");
2109
- }
2110
- break;
2111
-
2112
- case 41:
2113
- /* Line 1792 of yacc.c */
2114
- #line 263 "src/Slice/Grammar.y"
2115
- {
2116
- assert((yyvsp[(1) - (1)]) == 0 || EnumPtr::dynamicCast((yyvsp[(1) - (1)])));
2117
- }
2118
- break;
2119
-
2120
- case 43:
2121
- /* Line 1792 of yacc.c */
2122
- #line 268 "src/Slice/Grammar.y"
2123
- {
2124
- assert((yyvsp[(1) - (1)]) == 0 || ConstPtr::dynamicCast((yyvsp[(1) - (1)])));
2125
- }
2126
- break;
2127
-
2128
- case 45:
2129
- /* Line 1792 of yacc.c */
2130
- #line 273 "src/Slice/Grammar.y"
2131
- {
2132
- unit->error("`;' missing after const definition");
2133
- }
2134
- break;
2135
-
2136
- case 46:
2137
- /* Line 1792 of yacc.c */
2138
- #line 277 "src/Slice/Grammar.y"
2139
- {
2140
- yyerrok;
2141
- }
2142
- break;
2143
-
2144
- case 47:
2145
- /* Line 1792 of yacc.c */
2146
- #line 286 "src/Slice/Grammar.y"
2147
- {
2148
- unit->setSeenDefinition();
2149
- StringTokPtr ident = StringTokPtr::dynamicCast((yyvsp[(2) - (2)]));
2150
- ContainerPtr cont = unit->currentContainer();
2151
- ModulePtr module = cont->createModule(ident->v);
2152
- if(module)
2153
- {
2154
- cont->checkIntroduced(ident->v, module);
2155
- unit->pushContainer(module);
2156
- (yyval) = module;
2157
- }
2158
- else
2159
- {
2160
- (yyval) = 0;
2161
- }
2162
- }
2163
- break;
2164
-
2165
- case 48:
2166
- /* Line 1792 of yacc.c */
2167
- #line 303 "src/Slice/Grammar.y"
2168
- {
2169
- if((yyvsp[(3) - (6)]))
2170
- {
2171
- unit->popContainer();
2172
- (yyval) = (yyvsp[(3) - (6)]);
2173
- }
2174
- else
2175
- {
2176
- (yyval) = 0;
2177
- }
2178
- }
2179
- break;
2180
-
2181
- case 49:
2182
- /* Line 1792 of yacc.c */
2183
- #line 320 "src/Slice/Grammar.y"
2184
- {
2185
- (yyval) = (yyvsp[(2) - (2)]);
2186
- }
2187
- break;
2188
-
2189
- case 50:
2190
- /* Line 1792 of yacc.c */
2191
- #line 324 "src/Slice/Grammar.y"
2192
- {
2193
- StringTokPtr ident = StringTokPtr::dynamicCast((yyvsp[(2) - (2)]));
2194
- unit->error("keyword `" + ident->v + "' cannot be used as exception name");
2195
- (yyval) = (yyvsp[(2) - (2)]); // Dummy
2196
- }
2197
- break;
2198
-
2199
- case 51:
2200
- /* Line 1792 of yacc.c */
2201
- #line 335 "src/Slice/Grammar.y"
2202
- {
2203
- unit->error("exceptions cannot be forward declared");
2204
- (yyval) = 0;
2205
- }
2206
- break;
2207
-
2208
- case 52:
2209
- /* Line 1792 of yacc.c */
2210
- #line 345 "src/Slice/Grammar.y"
2211
- {
2212
- BoolTokPtr local = BoolTokPtr::dynamicCast((yyvsp[(1) - (3)]));
2213
- StringTokPtr ident = StringTokPtr::dynamicCast((yyvsp[(2) - (3)]));
2214
- ExceptionPtr base = ExceptionPtr::dynamicCast((yyvsp[(3) - (3)]));
2215
- ContainerPtr cont = unit->currentContainer();
2216
- ExceptionPtr ex = cont->createException(ident->v, base, local->v);
2217
- if(ex)
2218
- {
2219
- cont->checkIntroduced(ident->v, ex);
2220
- unit->pushContainer(ex);
2221
- }
2222
- (yyval) = ex;
2223
- }
2224
- break;
2225
-
2226
- case 53:
2227
- /* Line 1792 of yacc.c */
2228
- #line 359 "src/Slice/Grammar.y"
2229
- {
2230
- if((yyvsp[(4) - (7)]))
2231
- {
2232
- unit->popContainer();
2233
- }
2234
- (yyval) = (yyvsp[(4) - (7)]);
2235
- }
2236
- break;
2237
-
2238
- case 54:
2239
- /* Line 1792 of yacc.c */
2240
- #line 372 "src/Slice/Grammar.y"
2241
- {
2242
- StringTokPtr scoped = StringTokPtr::dynamicCast((yyvsp[(2) - (2)]));
2243
- ContainerPtr cont = unit->currentContainer();
2244
- ContainedPtr contained = cont->lookupException(scoped->v);
2245
- cont->checkIntroduced(scoped->v);
2246
- (yyval) = contained;
2247
- }
2248
- break;
2249
-
2250
- case 55:
2251
- /* Line 1792 of yacc.c */
2252
- #line 380 "src/Slice/Grammar.y"
2253
- {
2254
- (yyval) = 0;
2255
- }
2256
- break;
2257
-
2258
- case 56:
2259
- /* Line 1792 of yacc.c */
2260
- #line 389 "src/Slice/Grammar.y"
2261
- {
2262
- StringListTokPtr metaData = StringListTokPtr::dynamicCast((yyvsp[(1) - (4)]));
2263
- ContainedPtr contained = ContainedPtr::dynamicCast((yyvsp[(2) - (4)]));
2264
- if(contained && !metaData->v.empty())
2265
- {
2266
- contained->setMetaData(metaData->v);
2267
- }
2268
- }
2269
- break;
2270
-
2271
- case 57:
2272
- /* Line 1792 of yacc.c */
2273
- #line 398 "src/Slice/Grammar.y"
2274
- {
2275
- }
2276
- break;
2277
-
2278
- case 58:
2279
- /* Line 1792 of yacc.c */
2280
- #line 401 "src/Slice/Grammar.y"
2281
- {
2282
- unit->error("`;' missing after definition");
2283
- }
2284
- break;
2285
-
2286
- case 59:
2287
- /* Line 1792 of yacc.c */
2288
- #line 405 "src/Slice/Grammar.y"
2289
- {
2290
- }
2291
- break;
2292
-
2293
- case 60:
2294
- /* Line 1792 of yacc.c */
2295
- #line 413 "src/Slice/Grammar.y"
2296
- {
2297
- TypePtr type = TypePtr::dynamicCast((yyvsp[(1) - (2)]));
2298
- StringTokPtr ident = StringTokPtr::dynamicCast((yyvsp[(2) - (2)]));
2299
- TypeStringTokPtr typestring = new TypeStringTok;
2300
- typestring->v = make_pair(type, ident->v);
2301
- (yyval) = typestring;
2302
- }
2303
- break;
2304
-
2305
- case 61:
2306
- /* Line 1792 of yacc.c */
2307
- #line 426 "src/Slice/Grammar.y"
2308
- {
2309
- IntegerTokPtr i = IntegerTokPtr::dynamicCast((yyvsp[(2) - (3)]));
2310
-
2311
- int tag;
2312
- if(i->v < 0 || i->v > Int32Max)
2313
- {
2314
- unit->error("tag for optional is out of range");
2315
- tag = -1;
2316
- }
2317
- else
2318
- {
2319
- tag = static_cast<int>(i->v);
2320
- }
2321
-
2322
- OptionalDefTokPtr m = new OptionalDefTok;
2323
- m->v.optional = tag >= 0;
2324
- m->v.tag = tag;
2325
- (yyval) = m;
2326
- }
2327
- break;
2328
-
2329
- case 62:
2330
- /* Line 1792 of yacc.c */
2331
- #line 446 "src/Slice/Grammar.y"
2332
- {
2333
- StringTokPtr scoped = StringTokPtr::dynamicCast((yyvsp[(2) - (3)]));
2334
-
2335
- ContainerPtr cont = unit->currentContainer();
2336
- assert(cont);
2337
- ContainedList cl = cont->lookupContained(scoped->v, false);
2338
- if(cl.empty())
2339
- {
2340
- EnumeratorList enumerators = cont->enumerators(scoped->v);
2341
- if(enumerators.size() == 1)
2342
- {
2343
- // Found
2344
- cl.push_back(enumerators.front());
2345
- scoped->v = enumerators.front()->scoped();
2346
- unit->warning(Deprecated, string("referencing enumerator `") + scoped->v
2347
- + "' without its enumeration's scope is deprecated");
2348
- }
2349
- else if(enumerators.size() > 1)
2350
- {
2351
- ostringstream os;
2352
- os << "enumerator `" << scoped->v << "' could designate";
2353
- bool first = true;
2354
- for(EnumeratorList::iterator p = enumerators.begin(); p != enumerators.end(); ++p)
2355
- {
2356
- if(first)
2357
- {
2358
- first = false;
2359
- }
2360
- else
2361
- {
2362
- os << " or";
2363
- }
2364
-
2365
- os << " `" << (*p)->scoped() << "'";
2366
- }
2367
- unit->error(os.str());
2368
- }
2369
- else
2370
- {
2371
- unit->error(string("`") + scoped->v + "' is not defined");
2372
- }
2373
- }
2374
-
2375
- if(cl.empty())
2376
- {
2377
- YYERROR; // Can't continue, jump to next yyerrok
2378
- }
2379
- cont->checkIntroduced(scoped->v);
2380
-
2381
- int tag = -1;
2382
- EnumeratorPtr enumerator = EnumeratorPtr::dynamicCast(cl.front());
2383
- ConstPtr constant = ConstPtr::dynamicCast(cl.front());
2384
- if(constant)
2385
- {
2386
- BuiltinPtr b = BuiltinPtr::dynamicCast(constant->type());
2387
- if(b)
2388
- {
2389
- switch(b->kind())
2390
- {
2391
- case Builtin::KindByte:
2392
- case Builtin::KindShort:
2393
- case Builtin::KindInt:
2394
- case Builtin::KindLong:
2395
- {
2396
- IceUtil::Int64 l = IceUtilInternal::strToInt64(constant->value().c_str(), 0, 0);
2397
- if(l < 0 || l > Int32Max)
2398
- {
2399
- unit->error("tag for optional is out of range");
2400
- }
2401
- tag = static_cast<int>(l);
2402
- break;
2403
- }
2404
- default:
2405
- break;
2406
- }
2407
- }
2408
- }
2409
- else if(enumerator)
2410
- {
2411
- tag = enumerator->value();
2412
- }
2413
-
2414
- if(tag < 0)
2415
- {
2416
- unit->error("invalid tag `" + scoped->v + "' for optional");
2417
- }
2418
-
2419
- OptionalDefTokPtr m = new OptionalDefTok;
2420
- m->v.optional = tag >= 0;
2421
- m->v.tag = tag;
2422
- (yyval) = m;
2423
- }
2424
- break;
2425
-
2426
- case 63:
2427
- /* Line 1792 of yacc.c */
2428
- #line 539 "src/Slice/Grammar.y"
2429
- {
2430
- unit->error("missing tag for optional");
2431
- OptionalDefTokPtr m = new OptionalDefTok; // Dummy
2432
- m->v.optional = false;
2433
- m->v.tag = -1;
2434
- (yyval) = m;
2435
- }
2436
- break;
2437
-
2438
- case 64:
2439
- /* Line 1792 of yacc.c */
2440
- #line 547 "src/Slice/Grammar.y"
2441
- {
2442
- unit->error("missing tag for optional");
2443
- OptionalDefTokPtr m = new OptionalDefTok; // Dummy
2444
- m->v.optional = false;
2445
- m->v.tag = -1;
2446
- (yyval) = m;
2447
- }
2448
- break;
2449
-
2450
- case 65:
2451
- /* Line 1792 of yacc.c */
2452
- #line 560 "src/Slice/Grammar.y"
2453
- {
2454
- OptionalDefTokPtr m = OptionalDefTokPtr::dynamicCast((yyvsp[(1) - (2)]));
2455
- TypeStringTokPtr ts = TypeStringTokPtr::dynamicCast((yyvsp[(2) - (2)]));
2456
- m->v.type = ts->v.first;
2457
- m->v.name = ts->v.second;
2458
- (yyval) = m;
2459
- }
2460
- break;
2461
-
2462
- case 66:
2463
- /* Line 1792 of yacc.c */
2464
- #line 568 "src/Slice/Grammar.y"
2465
- {
2466
- TypeStringTokPtr ts = TypeStringTokPtr::dynamicCast((yyvsp[(1) - (1)]));
2467
- OptionalDefTokPtr m = new OptionalDefTok;
2468
- m->v.type = ts->v.first;
2469
- m->v.name = ts->v.second;
2470
- m->v.optional = false;
2471
- m->v.tag = -1;
2472
- (yyval) = m;
2473
- }
2474
- break;
2475
-
2476
- case 68:
2477
- /* Line 1792 of yacc.c */
2478
- #line 589 "src/Slice/Grammar.y"
2479
- {
2480
- (yyval) = (yyvsp[(2) - (2)]);
2481
- }
2482
- break;
2483
-
2484
- case 69:
2485
- /* Line 1792 of yacc.c */
2486
- #line 593 "src/Slice/Grammar.y"
2487
- {
2488
- StringTokPtr ident = StringTokPtr::dynamicCast((yyvsp[(2) - (2)]));
2489
- unit->error("keyword `" + ident->v + "' cannot be used as struct name");
2490
- (yyval) = (yyvsp[(2) - (2)]); // Dummy
2491
- }
2492
- break;
2493
-
2494
- case 70:
2495
- /* Line 1792 of yacc.c */
2496
- #line 604 "src/Slice/Grammar.y"
2497
- {
2498
- unit->error("structs cannot be forward declared");
2499
- (yyval) = 0; // Dummy
2500
- }
2501
- break;
2502
-
2503
- case 71:
2504
- /* Line 1792 of yacc.c */
2505
- #line 614 "src/Slice/Grammar.y"
2506
- {
2507
- BoolTokPtr local = BoolTokPtr::dynamicCast((yyvsp[(1) - (2)]));
2508
- StringTokPtr ident = StringTokPtr::dynamicCast((yyvsp[(2) - (2)]));
2509
- ContainerPtr cont = unit->currentContainer();
2510
- StructPtr st = cont->createStruct(ident->v, local->v);
2511
- if(st)
2512
- {
2513
- cont->checkIntroduced(ident->v, st);
2514
- unit->pushContainer(st);
2515
- }
2516
- else
2517
- {
2518
- st = cont->createStruct(IceUtil::generateUUID(), local->v); // Dummy
2519
- assert(st);
2520
- unit->pushContainer(st);
2521
- }
2522
- (yyval) = st;
2523
- }
2524
- break;
2525
-
2526
- case 72:
2527
- /* Line 1792 of yacc.c */
2528
- #line 633 "src/Slice/Grammar.y"
2529
- {
2530
- if((yyvsp[(3) - (6)]))
2531
- {
2532
- unit->popContainer();
2533
- }
2534
- (yyval) = (yyvsp[(3) - (6)]);
2535
-
2536
- //
2537
- // Empty structures are not allowed
2538
- //
2539
- StructPtr st = StructPtr::dynamicCast((yyval));
2540
- assert(st);
2541
- if(st->dataMembers().empty())
2542
- {
2543
- unit->error("struct `" + st->name() + "' must have at least one member"); // $$ is a dummy
2544
- }
2545
- }
2546
- break;
2547
-
2548
- case 73:
2549
- /* Line 1792 of yacc.c */
2550
- #line 656 "src/Slice/Grammar.y"
2551
- {
2552
- StringListTokPtr metaData = StringListTokPtr::dynamicCast((yyvsp[(1) - (4)]));
2553
- ContainedPtr contained = ContainedPtr::dynamicCast((yyvsp[(2) - (4)]));
2554
- if(contained && !metaData->v.empty())
2555
- {
2556
- contained->setMetaData(metaData->v);
2557
- }
2558
- }
2559
- break;
2560
-
2561
- case 74:
2562
- /* Line 1792 of yacc.c */
2563
- #line 665 "src/Slice/Grammar.y"
2564
- {
2565
- }
2566
- break;
2567
-
2568
- case 75:
2569
- /* Line 1792 of yacc.c */
2570
- #line 668 "src/Slice/Grammar.y"
2571
- {
2572
- unit->error("`;' missing after definition");
2573
- }
2574
- break;
2575
-
2576
- case 76:
2577
- /* Line 1792 of yacc.c */
2578
- #line 672 "src/Slice/Grammar.y"
2579
- {
2580
- }
2581
- break;
2582
-
2583
- case 78:
2584
- /* Line 1792 of yacc.c */
2585
- #line 686 "src/Slice/Grammar.y"
2586
- {
2587
- (yyval) = (yyvsp[(2) - (2)]);
2588
- }
2589
- break;
2590
-
2591
- case 79:
2592
- /* Line 1792 of yacc.c */
2593
- #line 690 "src/Slice/Grammar.y"
2594
- {
2595
- StringTokPtr ident = StringTokPtr::dynamicCast((yyvsp[(2) - (2)]));
2596
- unit->error("keyword `" + ident->v + "' cannot be used as class name");
2597
- (yyval) = (yyvsp[(2) - (2)]); // Dummy
2598
- }
2599
- break;
2600
-
2601
- case 80:
2602
- /* Line 1792 of yacc.c */
2603
- #line 701 "src/Slice/Grammar.y"
2604
- {
2605
- IceUtil::Int64 id = IntegerTokPtr::dynamicCast((yyvsp[(3) - (4)]))->v;
2606
- if(id < 0)
2607
- {
2608
- unit->error("invalid compact id for class: id must be a positive integer");
2609
- }
2610
- else if(id > Int32Max)
2611
- {
2612
- unit->error("invalid compact id for class: value is out of range");
2613
- }
2614
- else
2615
- {
2616
- string typeId = unit->getTypeId(static_cast<int>(id));
2617
- if(!typeId.empty() && !unit->ignRedefs())
2618
- {
2619
- unit->error("invalid compact id for class: already assigned to class `" + typeId + "'");
2620
- }
2621
- }
2622
-
2623
- ClassIdTokPtr classId = new ClassIdTok();
2624
- classId->v = StringTokPtr::dynamicCast((yyvsp[(2) - (4)]))->v;
2625
- classId->t = static_cast<int>(id);
2626
- (yyval) = classId;
2627
- }
2628
- break;
2629
-
2630
- case 81:
2631
- /* Line 1792 of yacc.c */
2632
- #line 726 "src/Slice/Grammar.y"
2633
- {
2634
- StringTokPtr scoped = StringTokPtr::dynamicCast((yyvsp[(3) - (4)]));
2635
-
2636
- ContainerPtr cont = unit->currentContainer();
2637
- assert(cont);
2638
- ContainedList cl = cont->lookupContained(scoped->v, false);
2639
- if(cl.empty())
2640
- {
2641
- EnumeratorList enumerators = cont->enumerators(scoped->v);
2642
- if(enumerators.size() == 1)
2643
- {
2644
- // Found
2645
- cl.push_back(enumerators.front());
2646
- scoped->v = enumerators.front()->scoped();
2647
- unit->warning(Deprecated, string("referencing enumerator `") + scoped->v
2648
- + "' without its enumeration's scope is deprecated");
2649
- }
2650
- else if(enumerators.size() > 1)
2651
- {
2652
- ostringstream os;
2653
- os << "enumerator `" << scoped->v << "' could designate";
2654
- bool first = true;
2655
- for(EnumeratorList::iterator p = enumerators.begin(); p != enumerators.end(); ++p)
2656
- {
2657
- if(first)
2658
- {
2659
- first = false;
2660
- }
2661
- else
2662
- {
2663
- os << " or";
2664
- }
2665
-
2666
- os << " `" << (*p)->scoped() << "'";
2667
- }
2668
- unit->error(os.str());
2669
- }
2670
- else
2671
- {
2672
- unit->error(string("`") + scoped->v + "' is not defined");
2673
- }
2674
- }
2675
-
2676
- if(cl.empty())
2677
- {
2678
- YYERROR; // Can't continue, jump to next yyerrok
2679
- }
2680
- cont->checkIntroduced(scoped->v);
2681
-
2682
- int id = -1;
2683
- EnumeratorPtr enumerator = EnumeratorPtr::dynamicCast(cl.front());
2684
- ConstPtr constant = ConstPtr::dynamicCast(cl.front());
2685
- if(constant)
2686
- {
2687
- BuiltinPtr b = BuiltinPtr::dynamicCast(constant->type());
2688
- if(b)
2689
- {
2690
- switch(b->kind())
2691
- {
2692
- case Builtin::KindByte:
2693
- case Builtin::KindShort:
2694
- case Builtin::KindInt:
2695
- case Builtin::KindLong:
2696
- {
2697
- IceUtil::Int64 l = IceUtilInternal::strToInt64(constant->value().c_str(), 0, 0);
2698
- if(l < 0 || l > Int32Max)
2699
- {
2700
- unit->error("compact id for class is out of range");
2701
- }
2702
- id = static_cast<int>(l);
2703
- break;
2704
- }
2705
- default:
2706
- break;
2707
- }
2708
- }
2709
- }
2710
- else if(enumerator)
2711
- {
2712
- id = enumerator->value();
2713
- }
2714
-
2715
- if(id < 0)
2716
- {
2717
- unit->error("invalid compact id for class: id must be a positive integer");
2718
- }
2719
- else
2720
- {
2721
- string typeId = unit->getTypeId(id);
2722
- if(!typeId.empty() && !unit->ignRedefs())
2723
- {
2724
- unit->error("invalid compact id for class: already assigned to class `" + typeId + "'");
2725
- }
2726
- }
2727
-
2728
- ClassIdTokPtr classId = new ClassIdTok();
2729
- classId->v = StringTokPtr::dynamicCast((yyvsp[(2) - (4)]))->v;
2730
- classId->t = id;
2731
- (yyval) = classId;
2732
-
2733
- }
2734
- break;
2735
-
2736
- case 82:
2737
- /* Line 1792 of yacc.c */
2738
- #line 828 "src/Slice/Grammar.y"
2739
- {
2740
- ClassIdTokPtr classId = new ClassIdTok();
2741
- classId->v = StringTokPtr::dynamicCast((yyvsp[(1) - (1)]))->v;
2742
- classId->t = -1;
2743
- (yyval) = classId;
2744
- }
2745
- break;
2746
-
2747
- case 83:
2748
- /* Line 1792 of yacc.c */
2749
- #line 840 "src/Slice/Grammar.y"
2750
- {
2751
- BoolTokPtr local = BoolTokPtr::dynamicCast((yyvsp[(1) - (2)]));
2752
- StringTokPtr ident = StringTokPtr::dynamicCast((yyvsp[(2) - (2)]));
2753
- ContainerPtr cont = unit->currentContainer();
2754
- ClassDeclPtr cl = cont->createClassDecl(ident->v, false, local->v);
2755
- (yyval) = cl;
2756
- }
2757
- break;
2758
-
2759
- case 84:
2760
- /* Line 1792 of yacc.c */
2761
- #line 853 "src/Slice/Grammar.y"
2762
- {
2763
- BoolTokPtr local = BoolTokPtr::dynamicCast((yyvsp[(1) - (4)]));
2764
- ClassIdTokPtr ident = ClassIdTokPtr::dynamicCast((yyvsp[(2) - (4)]));
2765
- ContainerPtr cont = unit->currentContainer();
2766
- ClassDefPtr base = ClassDefPtr::dynamicCast((yyvsp[(3) - (4)]));
2767
- ClassListTokPtr bases = ClassListTokPtr::dynamicCast((yyvsp[(4) - (4)]));
2768
- if(base)
2769
- {
2770
- bases->v.push_front(base);
2771
- }
2772
- ClassDefPtr cl = cont->createClassDef(ident->v, ident->t, false, bases->v, local->v);
2773
- if(cl)
2774
- {
2775
- cont->checkIntroduced(ident->v, cl);
2776
- unit->pushContainer(cl);
2777
- (yyval) = cl;
2778
- }
2779
- else
2780
- {
2781
- (yyval) = 0;
2782
- }
2783
- }
2784
- break;
2785
-
2786
- case 85:
2787
- /* Line 1792 of yacc.c */
2788
- #line 876 "src/Slice/Grammar.y"
2789
- {
2790
- if((yyvsp[(5) - (8)]))
2791
- {
2792
- unit->popContainer();
2793
- (yyval) = (yyvsp[(5) - (8)]);
2794
- }
2795
- else
2796
- {
2797
- (yyval) = 0;
2798
- }
2799
- }
2800
- break;
2801
-
2802
- case 86:
2803
- /* Line 1792 of yacc.c */
2804
- #line 893 "src/Slice/Grammar.y"
2805
- {
2806
- StringTokPtr scoped = StringTokPtr::dynamicCast((yyvsp[(2) - (2)]));
2807
- ContainerPtr cont = unit->currentContainer();
2808
- TypeList types = cont->lookupType(scoped->v);
2809
- (yyval) = 0;
2810
- if(!types.empty())
2811
- {
2812
- ClassDeclPtr cl = ClassDeclPtr::dynamicCast(types.front());
2813
- if(!cl || cl->isInterface())
2814
- {
2815
- string msg = "`";
2816
- msg += scoped->v;
2817
- msg += "' is not a class";
2818
- unit->error(msg);
2819
- }
2820
- else
2821
- {
2822
- ClassDefPtr def = cl->definition();
2823
- if(!def)
2824
- {
2825
- string msg = "`";
2826
- msg += scoped->v;
2827
- msg += "' has been declared but not defined";
2828
- unit->error(msg);
2829
- }
2830
- else
2831
- {
2832
- cont->checkIntroduced(scoped->v);
2833
- (yyval) = def;
2834
- }
2835
- }
2836
- }
2837
- }
2838
- break;
2839
-
2840
- case 87:
2841
- /* Line 1792 of yacc.c */
2842
- #line 927 "src/Slice/Grammar.y"
2843
- {
2844
- (yyval) = 0;
2845
- }
2846
- break;
2847
-
2848
- case 88:
2849
- /* Line 1792 of yacc.c */
2850
- #line 936 "src/Slice/Grammar.y"
2851
- {
2852
- (yyval) = (yyvsp[(2) - (2)]);
2853
- }
2854
- break;
2855
-
2856
- case 89:
2857
- /* Line 1792 of yacc.c */
2858
- #line 940 "src/Slice/Grammar.y"
2859
- {
2860
- (yyval) = new ClassListTok;
2861
- }
2862
- break;
2863
-
2864
- case 90:
2865
- /* Line 1792 of yacc.c */
2866
- #line 949 "src/Slice/Grammar.y"
2867
- {
2868
- StringListTokPtr metaData = StringListTokPtr::dynamicCast((yyvsp[(1) - (4)]));
2869
- ContainedPtr contained = ContainedPtr::dynamicCast((yyvsp[(2) - (4)]));
2870
- if(contained && !metaData->v.empty())
2871
- {
2872
- contained->setMetaData(metaData->v);
2873
- }
2874
- }
2875
- break;
2876
-
2877
- case 91:
2878
- /* Line 1792 of yacc.c */
2879
- #line 958 "src/Slice/Grammar.y"
2880
- {
2881
- }
2882
- break;
2883
-
2884
- case 92:
2885
- /* Line 1792 of yacc.c */
2886
- #line 961 "src/Slice/Grammar.y"
2887
- {
2888
- unit->error("`;' missing after definition");
2889
- }
2890
- break;
2891
-
2892
- case 93:
2893
- /* Line 1792 of yacc.c */
2894
- #line 965 "src/Slice/Grammar.y"
2895
- {
2896
- }
2897
- break;
2898
-
2899
- case 94:
2900
- /* Line 1792 of yacc.c */
2901
- #line 973 "src/Slice/Grammar.y"
2902
- {
2903
- OptionalDefTokPtr def = OptionalDefTokPtr::dynamicCast((yyvsp[(1) - (1)]));
2904
- ClassDefPtr cl = ClassDefPtr::dynamicCast(unit->currentContainer());
2905
- DataMemberPtr dm;
2906
- if(cl)
2907
- {
2908
- dm = cl->createDataMember(def->v.name, def->v.type, def->v.optional, def->v.tag, 0, "", "");
2909
- }
2910
- StructPtr st = StructPtr::dynamicCast(unit->currentContainer());
2911
- if(st)
2912
- {
2913
- dm = st->createDataMember(def->v.name, def->v.type, def->v.optional, def->v.tag, 0, "", "");
2914
- }
2915
- ExceptionPtr ex = ExceptionPtr::dynamicCast(unit->currentContainer());
2916
- if(ex)
2917
- {
2918
- dm = ex->createDataMember(def->v.name, def->v.type, def->v.optional, def->v.tag, 0, "", "");
2919
- }
2920
- unit->currentContainer()->checkIntroduced(def->v.name, dm);
2921
- (yyval) = dm;
2922
- }
2923
- break;
2924
-
2925
- case 95:
2926
- /* Line 1792 of yacc.c */
2927
- #line 995 "src/Slice/Grammar.y"
2928
- {
2929
- OptionalDefTokPtr def = OptionalDefTokPtr::dynamicCast((yyvsp[(1) - (3)]));
2930
- ConstDefTokPtr value = ConstDefTokPtr::dynamicCast((yyvsp[(3) - (3)]));
2931
-
2932
- ClassDefPtr cl = ClassDefPtr::dynamicCast(unit->currentContainer());
2933
- DataMemberPtr dm;
2934
- if(cl)
2935
- {
2936
- dm = cl->createDataMember(def->v.name, def->v.type, def->v.optional, def->v.tag, value->v.value,
2937
- value->v.valueAsString, value->v.valueAsLiteral);
2938
- }
2939
- StructPtr st = StructPtr::dynamicCast(unit->currentContainer());
2940
- if(st)
2941
- {
2942
- dm = st->createDataMember(def->v.name, def->v.type, def->v.optional, def->v.tag, value->v.value,
2943
- value->v.valueAsString, value->v.valueAsLiteral);
2944
- }
2945
- ExceptionPtr ex = ExceptionPtr::dynamicCast(unit->currentContainer());
2946
- if(ex)
2947
- {
2948
- dm = ex->createDataMember(def->v.name, def->v.type, def->v.optional, def->v.tag, value->v.value,
2949
- value->v.valueAsString, value->v.valueAsLiteral);
2950
- }
2951
- unit->currentContainer()->checkIntroduced(def->v.name, dm);
2952
- (yyval) = dm;
2953
- }
2954
- break;
2955
-
2956
- case 96:
2957
- /* Line 1792 of yacc.c */
2958
- #line 1022 "src/Slice/Grammar.y"
2959
- {
2960
- TypePtr type = TypePtr::dynamicCast((yyvsp[(1) - (2)]));
2961
- string name = StringTokPtr::dynamicCast((yyvsp[(2) - (2)]))->v;
2962
- ClassDefPtr cl = ClassDefPtr::dynamicCast(unit->currentContainer());
2963
- if(cl)
2964
- {
2965
- (yyval) = cl->createDataMember(name, type, false, 0, 0, "", ""); // Dummy
2966
- }
2967
- StructPtr st = StructPtr::dynamicCast(unit->currentContainer());
2968
- if(st)
2969
- {
2970
- (yyval) = st->createDataMember(name, type, false, 0, 0, "", ""); // Dummy
2971
- }
2972
- ExceptionPtr ex = ExceptionPtr::dynamicCast(unit->currentContainer());
2973
- if(ex)
2974
- {
2975
- (yyval) = ex->createDataMember(name, type, false, 0, 0, "", ""); // Dummy
2976
- }
2977
- assert((yyval));
2978
- unit->error("keyword `" + name + "' cannot be used as data member name");
2979
- }
2980
- break;
2981
-
2982
- case 97:
2983
- /* Line 1792 of yacc.c */
2984
- #line 1044 "src/Slice/Grammar.y"
2985
- {
2986
- TypePtr type = TypePtr::dynamicCast((yyvsp[(1) - (1)]));
2987
- ClassDefPtr cl = ClassDefPtr::dynamicCast(unit->currentContainer());
2988
- if(cl)
2989
- {
2990
- (yyval) = cl->createDataMember(IceUtil::generateUUID(), type, false, 0, 0, "", ""); // Dummy
2991
- }
2992
- StructPtr st = StructPtr::dynamicCast(unit->currentContainer());
2993
- if(st)
2994
- {
2995
- (yyval) = st->createDataMember(IceUtil::generateUUID(), type, false, 0, 0, "", ""); // Dummy
2996
- }
2997
- ExceptionPtr ex = ExceptionPtr::dynamicCast(unit->currentContainer());
2998
- if(ex)
2999
- {
3000
- (yyval) = ex->createDataMember(IceUtil::generateUUID(), type, false, 0, 0, "", ""); // Dummy
3001
- }
3002
- assert((yyval));
3003
- unit->error("missing data member name");
3004
- }
3005
- break;
3006
-
3007
- case 98:
3008
- /* Line 1792 of yacc.c */
3009
- #line 1070 "src/Slice/Grammar.y"
3010
- {
3011
- TypeStringTokPtr ts = TypeStringTokPtr::dynamicCast((yyvsp[(1) - (1)]));
3012
- StructPtr st = StructPtr::dynamicCast(unit->currentContainer());
3013
- assert(st);
3014
- DataMemberPtr dm = st->createDataMember(ts->v.second, ts->v.first, false, -1, 0, "", "");
3015
- unit->currentContainer()->checkIntroduced(ts->v.second, dm);
3016
- (yyval) = dm;
3017
- }
3018
- break;
3019
-
3020
- case 99:
3021
- /* Line 1792 of yacc.c */
3022
- #line 1079 "src/Slice/Grammar.y"
3023
- {
3024
- TypeStringTokPtr ts = TypeStringTokPtr::dynamicCast((yyvsp[(1) - (3)]));
3025
- ConstDefTokPtr value = ConstDefTokPtr::dynamicCast((yyvsp[(3) - (3)]));
3026
- StructPtr st = StructPtr::dynamicCast(unit->currentContainer());
3027
- assert(st);
3028
- DataMemberPtr dm = st->createDataMember(ts->v.second, ts->v.first, false, -1, value->v.value,
3029
- value->v.valueAsString, value->v.valueAsLiteral);
3030
- unit->currentContainer()->checkIntroduced(ts->v.second, dm);
3031
- (yyval) = dm;
3032
- }
3033
- break;
3034
-
3035
- case 100:
3036
- /* Line 1792 of yacc.c */
3037
- #line 1090 "src/Slice/Grammar.y"
3038
- {
3039
- TypeStringTokPtr ts = TypeStringTokPtr::dynamicCast((yyvsp[(2) - (2)]));
3040
- StructPtr st = StructPtr::dynamicCast(unit->currentContainer());
3041
- assert(st);
3042
- (yyval) = st->createDataMember(ts->v.second, ts->v.first, false, 0, 0, "", ""); // Dummy
3043
- assert((yyval));
3044
- unit->error("optional data members not supported in struct");
3045
- }
3046
- break;
3047
-
3048
- case 101:
3049
- /* Line 1792 of yacc.c */
3050
- #line 1099 "src/Slice/Grammar.y"
3051
- {
3052
- TypeStringTokPtr ts = TypeStringTokPtr::dynamicCast((yyvsp[(2) - (4)]));
3053
- StructPtr st = StructPtr::dynamicCast(unit->currentContainer());
3054
- assert(st);
3055
- (yyval) = st->createDataMember(ts->v.second, ts->v.first, false, 0, 0, "", ""); // Dummy
3056
- assert((yyval));
3057
- unit->error("optional data members not supported in struct");
3058
- }
3059
- break;
3060
-
3061
- case 102:
3062
- /* Line 1792 of yacc.c */
3063
- #line 1108 "src/Slice/Grammar.y"
3064
- {
3065
- TypePtr type = TypePtr::dynamicCast((yyvsp[(1) - (2)]));
3066
- string name = StringTokPtr::dynamicCast((yyvsp[(2) - (2)]))->v;
3067
- StructPtr st = StructPtr::dynamicCast(unit->currentContainer());
3068
- assert(st);
3069
- (yyval) = st->createDataMember(name, type, false, 0, 0, "", ""); // Dummy
3070
- assert((yyval));
3071
- unit->error("keyword `" + name + "' cannot be used as data member name");
3072
- }
3073
- break;
3074
-
3075
- case 103:
3076
- /* Line 1792 of yacc.c */
3077
- #line 1118 "src/Slice/Grammar.y"
3078
- {
3079
- TypePtr type = TypePtr::dynamicCast((yyvsp[(1) - (1)]));
3080
- StructPtr st = StructPtr::dynamicCast(unit->currentContainer());
3081
- assert(st);
3082
- (yyval) = st->createDataMember(IceUtil::generateUUID(), type, false, 0, 0, "", ""); // Dummy
3083
- assert((yyval));
3084
- unit->error("missing data member name");
3085
- }
3086
- break;
3087
-
3088
- case 104:
3089
- /* Line 1792 of yacc.c */
3090
- #line 1132 "src/Slice/Grammar.y"
3091
- {
3092
- OptionalDefTokPtr m = OptionalDefTokPtr::dynamicCast((yyvsp[(1) - (2)]));
3093
- m->v.type = TypePtr::dynamicCast((yyvsp[(2) - (2)]));
3094
- (yyval) = m;
3095
- }
3096
- break;
3097
-
3098
- case 105:
3099
- /* Line 1792 of yacc.c */
3100
- #line 1138 "src/Slice/Grammar.y"
3101
- {
3102
- OptionalDefTokPtr m = new OptionalDefTok();
3103
- m->v.type = TypePtr::dynamicCast((yyvsp[(1) - (1)]));
3104
- m->v.optional = false;
3105
- m->v.tag = -1;
3106
- (yyval) = m;
3107
- }
3108
- break;
3109
-
3110
- case 106:
3111
- /* Line 1792 of yacc.c */
3112
- #line 1146 "src/Slice/Grammar.y"
3113
- {
3114
- OptionalDefTokPtr m = new OptionalDefTok;
3115
- m->v.optional = false;
3116
- m->v.tag = -1;
3117
- (yyval) = m;
3118
- }
3119
- break;
3120
-
3121
- case 107:
3122
- /* Line 1792 of yacc.c */
3123
- #line 1158 "src/Slice/Grammar.y"
3124
- {
3125
- OptionalDefTokPtr returnType = OptionalDefTokPtr::dynamicCast((yyvsp[(1) - (2)]));
3126
- string name = StringTokPtr::dynamicCast((yyvsp[(2) - (2)]))->v;
3127
- ClassDefPtr cl = ClassDefPtr::dynamicCast(unit->currentContainer());
3128
- if(cl)
3129
- {
3130
- OperationPtr op = cl->createOperation(name, returnType->v.type, returnType->v.optional, returnType->v.tag);
3131
- if(op)
3132
- {
3133
- cl->checkIntroduced(name, op);
3134
- unit->pushContainer(op);
3135
- (yyval) = op;
3136
- }
3137
- else
3138
- {
3139
- (yyval) = 0;
3140
- }
3141
- }
3142
- else
3143
- {
3144
- (yyval) = 0;
3145
- }
3146
- }
3147
- break;
3148
-
3149
- case 108:
3150
- /* Line 1792 of yacc.c */
3151
- #line 1182 "src/Slice/Grammar.y"
3152
- {
3153
- OptionalDefTokPtr returnType = OptionalDefTokPtr::dynamicCast((yyvsp[(2) - (3)]));
3154
- string name = StringTokPtr::dynamicCast((yyvsp[(3) - (3)]))->v;
3155
- ClassDefPtr cl = ClassDefPtr::dynamicCast(unit->currentContainer());
3156
- if(cl)
3157
- {
3158
- OperationPtr op = cl->createOperation(name, returnType->v.type, returnType->v.optional, returnType->v.tag,
3159
- Operation::Idempotent);
3160
- if(op)
3161
- {
3162
- cl->checkIntroduced(name, op);
3163
- unit->pushContainer(op);
3164
- (yyval) = op;
3165
- }
3166
- else
3167
- {
3168
- (yyval) = 0;
3169
- }
3170
- }
3171
- else
3172
- {
3173
- (yyval) = 0;
3174
- }
3175
- }
3176
- break;
3177
-
3178
- case 109:
3179
- /* Line 1792 of yacc.c */
3180
- #line 1207 "src/Slice/Grammar.y"
3181
- {
3182
- OptionalDefTokPtr returnType = OptionalDefTokPtr::dynamicCast((yyvsp[(1) - (2)]));
3183
- string name = StringTokPtr::dynamicCast((yyvsp[(2) - (2)]))->v;
3184
- ClassDefPtr cl = ClassDefPtr::dynamicCast(unit->currentContainer());
3185
- if(cl)
3186
- {
3187
- OperationPtr op = cl->createOperation(name, returnType->v.type, returnType->v.optional, returnType->v.tag);
3188
- if(op)
3189
- {
3190
- unit->pushContainer(op);
3191
- unit->error("keyword `" + name + "' cannot be used as operation name");
3192
- (yyval) = op; // Dummy
3193
- }
3194
- else
3195
- {
3196
- (yyval) = 0;
3197
- }
3198
- }
3199
- else
3200
- {
3201
- (yyval) = 0;
3202
- }
3203
- }
3204
- break;
3205
-
3206
- case 110:
3207
- /* Line 1792 of yacc.c */
3208
- #line 1231 "src/Slice/Grammar.y"
3209
- {
3210
- OptionalDefTokPtr returnType = OptionalDefTokPtr::dynamicCast((yyvsp[(2) - (3)]));
3211
- string name = StringTokPtr::dynamicCast((yyvsp[(3) - (3)]))->v;
3212
- ClassDefPtr cl = ClassDefPtr::dynamicCast(unit->currentContainer());
3213
- if(cl)
3214
- {
3215
- OperationPtr op = cl->createOperation(name, returnType->v.type, returnType->v.optional, returnType->v.tag,
3216
- Operation::Idempotent);
3217
- if(op)
3218
- {
3219
- unit->pushContainer(op);
3220
- unit->error("keyword `" + name + "' cannot be used as operation name");
3221
- (yyval) = op; // Dummy
3222
- }
3223
- else
3224
- {
3225
- return 0;
3226
- }
3227
- }
3228
- else
3229
- {
3230
- (yyval) = 0;
3231
- }
3232
- }
3233
- break;
3234
-
3235
- case 111:
3236
- /* Line 1792 of yacc.c */
3237
- #line 1261 "src/Slice/Grammar.y"
3238
- {
3239
- if((yyvsp[(1) - (3)]))
3240
- {
3241
- unit->popContainer();
3242
- (yyval) = (yyvsp[(1) - (3)]);
3243
- }
3244
- else
3245
- {
3246
- (yyval) = 0;
3247
- }
3248
- }
3249
- break;
3250
-
3251
- case 112:
3252
- /* Line 1792 of yacc.c */
3253
- #line 1273 "src/Slice/Grammar.y"
3254
- {
3255
- OperationPtr op = OperationPtr::dynamicCast((yyvsp[(4) - (5)]));
3256
- ExceptionListTokPtr el = ExceptionListTokPtr::dynamicCast((yyvsp[(5) - (5)]));
3257
- assert(el);
3258
- if(op)
3259
- {
3260
- op->setExceptionList(el->v);
3261
- }
3262
- }
3263
- break;
3264
-
3265
- case 113:
3266
- /* Line 1792 of yacc.c */
3267
- #line 1283 "src/Slice/Grammar.y"
3268
- {
3269
- if((yyvsp[(1) - (3)]))
3270
- {
3271
- unit->popContainer();
3272
- }
3273
- yyerrok;
3274
- }
3275
- break;
3276
-
3277
- case 114:
3278
- /* Line 1792 of yacc.c */
3279
- #line 1291 "src/Slice/Grammar.y"
3280
- {
3281
- OperationPtr op = OperationPtr::dynamicCast((yyvsp[(4) - (5)]));
3282
- ExceptionListTokPtr el = ExceptionListTokPtr::dynamicCast((yyvsp[(5) - (5)]));
3283
- assert(el);
3284
- if(op)
3285
- {
3286
- op->setExceptionList(el->v); // Dummy
3287
- }
3288
- }
3289
- break;
3290
-
3291
- case 117:
3292
- /* Line 1792 of yacc.c */
3293
- #line 1313 "src/Slice/Grammar.y"
3294
- {
3295
- (yyval) = (yyvsp[(2) - (2)]);
3296
- }
3297
- break;
3298
-
3299
- case 118:
3300
- /* Line 1792 of yacc.c */
3301
- #line 1317 "src/Slice/Grammar.y"
3302
- {
3303
- StringTokPtr ident = StringTokPtr::dynamicCast((yyvsp[(2) - (2)]));
3304
- unit->error("keyword `" + ident->v + "' cannot be used as interface name");
3305
- (yyval) = (yyvsp[(2) - (2)]); // Dummy
3306
- }
3307
- break;
3308
-
3309
- case 119:
3310
- /* Line 1792 of yacc.c */
3311
- #line 1328 "src/Slice/Grammar.y"
3312
- {
3313
- BoolTokPtr local = BoolTokPtr::dynamicCast((yyvsp[(1) - (2)]));
3314
- StringTokPtr ident = StringTokPtr::dynamicCast((yyvsp[(2) - (2)]));
3315
- ContainerPtr cont = unit->currentContainer();
3316
- ClassDeclPtr cl = cont->createClassDecl(ident->v, true, local->v);
3317
- cont->checkIntroduced(ident->v, cl);
3318
- (yyval) = cl;
3319
- }
3320
- break;
3321
-
3322
- case 120:
3323
- /* Line 1792 of yacc.c */
3324
- #line 1342 "src/Slice/Grammar.y"
3325
- {
3326
- BoolTokPtr local = BoolTokPtr::dynamicCast((yyvsp[(1) - (3)]));
3327
- StringTokPtr ident = StringTokPtr::dynamicCast((yyvsp[(2) - (3)]));
3328
- ContainerPtr cont = unit->currentContainer();
3329
- ClassListTokPtr bases = ClassListTokPtr::dynamicCast((yyvsp[(3) - (3)]));
3330
- ClassDefPtr cl = cont->createClassDef(ident->v, -1, true, bases->v, local->v);
3331
- if(cl)
3332
- {
3333
- cont->checkIntroduced(ident->v, cl);
3334
- unit->pushContainer(cl);
3335
- (yyval) = cl;
3336
- }
3337
- else
3338
- {
3339
- (yyval) = 0;
3340
- }
3341
- }
3342
- break;
3343
-
3344
- case 121:
3345
- /* Line 1792 of yacc.c */
3346
- #line 1360 "src/Slice/Grammar.y"
3347
- {
3348
- if((yyvsp[(4) - (7)]))
3349
- {
3350
- unit->popContainer();
3351
- (yyval) = (yyvsp[(4) - (7)]);
3352
- }
3353
- else
3354
- {
3355
- (yyval) = 0;
3356
- }
3357
- }
3358
- break;
3359
-
3360
- case 122:
3361
- /* Line 1792 of yacc.c */
3362
- #line 1377 "src/Slice/Grammar.y"
3363
- {
3364
- ClassListTokPtr intfs = ClassListTokPtr::dynamicCast((yyvsp[(3) - (3)]));
3365
- StringTokPtr scoped = StringTokPtr::dynamicCast((yyvsp[(1) - (3)]));
3366
- ContainerPtr cont = unit->currentContainer();
3367
- TypeList types = cont->lookupType(scoped->v);
3368
- if(!types.empty())
3369
- {
3370
- ClassDeclPtr cl = ClassDeclPtr::dynamicCast(types.front());
3371
- if(!cl || !cl->isInterface())
3372
- {
3373
- string msg = "`";
3374
- msg += scoped->v;
3375
- msg += "' is not an interface";
3376
- unit->error(msg);
3377
- }
3378
- else
3379
- {
3380
- ClassDefPtr def = cl->definition();
3381
- if(!def)
3382
- {
3383
- string msg = "`";
3384
- msg += scoped->v;
3385
- msg += "' has been declared but not defined";
3386
- unit->error(msg);
3387
- }
3388
- else
3389
- {
3390
- cont->checkIntroduced(scoped->v);
3391
- intfs->v.push_front(def);
3392
- }
3393
- }
3394
- }
3395
- (yyval) = intfs;
3396
- }
3397
- break;
3398
-
3399
- case 123:
3400
- /* Line 1792 of yacc.c */
3401
- #line 1412 "src/Slice/Grammar.y"
3402
- {
3403
- ClassListTokPtr intfs = new ClassListTok;
3404
- StringTokPtr scoped = StringTokPtr::dynamicCast((yyvsp[(1) - (1)]));
3405
- ContainerPtr cont = unit->currentContainer();
3406
- TypeList types = cont->lookupType(scoped->v);
3407
- if(!types.empty())
3408
- {
3409
- ClassDeclPtr cl = ClassDeclPtr::dynamicCast(types.front());
3410
- if(!cl || !cl->isInterface())
3411
- {
3412
- string msg = "`";
3413
- msg += scoped->v;
3414
- msg += "' is not an interface";
3415
- unit->error(msg); // $$ is a dummy
3416
- }
3417
- else
3418
- {
3419
- ClassDefPtr def = cl->definition();
3420
- if(!def)
3421
- {
3422
- string msg = "`";
3423
- msg += scoped->v;
3424
- msg += "' has been declared but not defined";
3425
- unit->error(msg); // $$ is a dummy
3426
- }
3427
- else
3428
- {
3429
- cont->checkIntroduced(scoped->v);
3430
- intfs->v.push_front(def);
3431
- }
3432
- }
3433
- }
3434
- (yyval) = intfs;
3435
- }
3436
- break;
3437
-
3438
- case 124:
3439
- /* Line 1792 of yacc.c */
3440
- #line 1447 "src/Slice/Grammar.y"
3441
- {
3442
- unit->error("illegal inheritance from type Object");
3443
- (yyval) = new ClassListTok; // Dummy
3444
- }
3445
- break;
3446
-
3447
- case 125:
3448
- /* Line 1792 of yacc.c */
3449
- #line 1452 "src/Slice/Grammar.y"
3450
- {
3451
- unit->error("illegal inheritance from type Value");
3452
- (yyval) = new ClassListTok; // Dummy
3453
- }
3454
- break;
3455
-
3456
- case 126:
3457
- /* Line 1792 of yacc.c */
3458
- #line 1462 "src/Slice/Grammar.y"
3459
- {
3460
- (yyval) = (yyvsp[(2) - (2)]);
3461
- }
3462
- break;
3463
-
3464
- case 127:
3465
- /* Line 1792 of yacc.c */
3466
- #line 1466 "src/Slice/Grammar.y"
3467
- {
3468
- (yyval) = new ClassListTok;
3469
- }
3470
- break;
3471
-
3472
- case 128:
3473
- /* Line 1792 of yacc.c */
3474
- #line 1475 "src/Slice/Grammar.y"
3475
- {
3476
- StringListTokPtr metaData = StringListTokPtr::dynamicCast((yyvsp[(1) - (4)]));
3477
- ContainedPtr contained = ContainedPtr::dynamicCast((yyvsp[(2) - (4)]));
3478
- if(contained && !metaData->v.empty())
3479
- {
3480
- contained->setMetaData(metaData->v);
3481
- }
3482
- }
3483
- break;
3484
-
3485
- case 129:
3486
- /* Line 1792 of yacc.c */
3487
- #line 1484 "src/Slice/Grammar.y"
3488
- {
3489
- }
3490
- break;
3491
-
3492
- case 130:
3493
- /* Line 1792 of yacc.c */
3494
- #line 1487 "src/Slice/Grammar.y"
3495
- {
3496
- unit->error("`;' missing after definition");
3497
- }
3498
- break;
3499
-
3500
- case 131:
3501
- /* Line 1792 of yacc.c */
3502
- #line 1491 "src/Slice/Grammar.y"
3503
- {
3504
- }
3505
- break;
3506
-
3507
- case 133:
3508
- /* Line 1792 of yacc.c */
3509
- #line 1505 "src/Slice/Grammar.y"
3510
- {
3511
- ExceptionPtr exception = ExceptionPtr::dynamicCast((yyvsp[(1) - (3)]));
3512
- ExceptionListTokPtr exceptionList = ExceptionListTokPtr::dynamicCast((yyvsp[(3) - (3)]));
3513
- exceptionList->v.push_front(exception);
3514
- (yyval) = exceptionList;
3515
- }
3516
- break;
3517
-
3518
- case 134:
3519
- /* Line 1792 of yacc.c */
3520
- #line 1512 "src/Slice/Grammar.y"
3521
- {
3522
- ExceptionPtr exception = ExceptionPtr::dynamicCast((yyvsp[(1) - (1)]));
3523
- ExceptionListTokPtr exceptionList = new ExceptionListTok;
3524
- exceptionList->v.push_front(exception);
3525
- (yyval) = exceptionList;
3526
- }
3527
- break;
3528
-
3529
- case 135:
3530
- /* Line 1792 of yacc.c */
3531
- #line 1524 "src/Slice/Grammar.y"
3532
- {
3533
- StringTokPtr scoped = StringTokPtr::dynamicCast((yyvsp[(1) - (1)]));
3534
- ContainerPtr cont = unit->currentContainer();
3535
- ExceptionPtr exception = cont->lookupException(scoped->v);
3536
- if(!exception)
3537
- {
3538
- exception = cont->createException(IceUtil::generateUUID(), 0, false, Dummy); // Dummy
3539
- }
3540
- cont->checkIntroduced(scoped->v, exception);
3541
- (yyval) = exception;
3542
- }
3543
- break;
3544
-
3545
- case 136:
3546
- /* Line 1792 of yacc.c */
3547
- #line 1536 "src/Slice/Grammar.y"
3548
- {
3549
- StringTokPtr ident = StringTokPtr::dynamicCast((yyvsp[(1) - (1)]));
3550
- unit->error("keyword `" + ident->v + "' cannot be used as exception name");
3551
- (yyval) = unit->currentContainer()->createException(IceUtil::generateUUID(), 0, false, Dummy); // Dummy
3552
- }
3553
- break;
3554
-
3555
- case 137:
3556
- /* Line 1792 of yacc.c */
3557
- #line 1547 "src/Slice/Grammar.y"
3558
- {
3559
- BoolTokPtr local = BoolTokPtr::dynamicCast((yyvsp[(1) - (7)]));
3560
- StringTokPtr ident = StringTokPtr::dynamicCast((yyvsp[(7) - (7)]));
3561
- StringListTokPtr metaData = StringListTokPtr::dynamicCast((yyvsp[(4) - (7)]));
3562
- TypePtr type = TypePtr::dynamicCast((yyvsp[(5) - (7)]));
3563
- ContainerPtr cont = unit->currentContainer();
3564
- (yyval) = cont->createSequence(ident->v, type, metaData->v, local->v);
3565
- }
3566
- break;
3567
-
3568
- case 138:
3569
- /* Line 1792 of yacc.c */
3570
- #line 1556 "src/Slice/Grammar.y"
3571
- {
3572
- BoolTokPtr local = BoolTokPtr::dynamicCast((yyvsp[(1) - (7)]));
3573
- StringTokPtr ident = StringTokPtr::dynamicCast((yyvsp[(7) - (7)]));
3574
- StringListTokPtr metaData = StringListTokPtr::dynamicCast((yyvsp[(4) - (7)]));
3575
- TypePtr type = TypePtr::dynamicCast((yyvsp[(5) - (7)]));
3576
- ContainerPtr cont = unit->currentContainer();
3577
- (yyval) = cont->createSequence(ident->v, type, metaData->v, local->v); // Dummy
3578
- unit->error("keyword `" + ident->v + "' cannot be used as sequence name");
3579
- }
3580
- break;
3581
-
3582
- case 139:
3583
- /* Line 1792 of yacc.c */
3584
- #line 1571 "src/Slice/Grammar.y"
3585
- {
3586
- BoolTokPtr local = BoolTokPtr::dynamicCast((yyvsp[(1) - (10)]));
3587
- StringTokPtr ident = StringTokPtr::dynamicCast((yyvsp[(10) - (10)]));
3588
- StringListTokPtr keyMetaData = StringListTokPtr::dynamicCast((yyvsp[(4) - (10)]));
3589
- TypePtr keyType = TypePtr::dynamicCast((yyvsp[(5) - (10)]));
3590
- StringListTokPtr valueMetaData = StringListTokPtr::dynamicCast((yyvsp[(7) - (10)]));
3591
- TypePtr valueType = TypePtr::dynamicCast((yyvsp[(8) - (10)]));
3592
- ContainerPtr cont = unit->currentContainer();
3593
- (yyval) = cont->createDictionary(ident->v, keyType, keyMetaData->v, valueType, valueMetaData->v, local->v);
3594
- }
3595
- break;
3596
-
3597
- case 140:
3598
- /* Line 1792 of yacc.c */
3599
- #line 1582 "src/Slice/Grammar.y"
3600
- {
3601
- BoolTokPtr local = BoolTokPtr::dynamicCast((yyvsp[(1) - (10)]));
3602
- StringTokPtr ident = StringTokPtr::dynamicCast((yyvsp[(10) - (10)]));
3603
- StringListTokPtr keyMetaData = StringListTokPtr::dynamicCast((yyvsp[(4) - (10)]));
3604
- TypePtr keyType = TypePtr::dynamicCast((yyvsp[(5) - (10)]));
3605
- StringListTokPtr valueMetaData = StringListTokPtr::dynamicCast((yyvsp[(7) - (10)]));
3606
- TypePtr valueType = TypePtr::dynamicCast((yyvsp[(8) - (10)]));
3607
- ContainerPtr cont = unit->currentContainer();
3608
- (yyval) = cont->createDictionary(ident->v, keyType, keyMetaData->v, valueType, valueMetaData->v, local->v); // Dummy
3609
- unit->error("keyword `" + ident->v + "' cannot be used as dictionary name");
3610
- }
3611
- break;
3612
-
3613
- case 141:
3614
- /* Line 1792 of yacc.c */
3615
- #line 1599 "src/Slice/Grammar.y"
3616
- {
3617
- (yyval) = (yyvsp[(2) - (2)]);
3618
- }
3619
- break;
3620
-
3621
- case 142:
3622
- /* Line 1792 of yacc.c */
3623
- #line 1603 "src/Slice/Grammar.y"
3624
- {
3625
- StringTokPtr ident = StringTokPtr::dynamicCast((yyvsp[(2) - (2)]));
3626
- unit->error("keyword `" + ident->v + "' cannot be used as enumeration name");
3627
- (yyval) = (yyvsp[(2) - (2)]); // Dummy
3628
- }
3629
- break;
3630
-
3631
- case 143:
3632
- /* Line 1792 of yacc.c */
3633
- #line 1614 "src/Slice/Grammar.y"
3634
- {
3635
- BoolTokPtr local = BoolTokPtr::dynamicCast((yyvsp[(1) - (2)]));
3636
- StringTokPtr ident = StringTokPtr::dynamicCast((yyvsp[(2) - (2)]));
3637
- ContainerPtr cont = unit->currentContainer();
3638
- EnumPtr en = cont->createEnum(ident->v, local->v);
3639
- if(en)
3640
- {
3641
- cont->checkIntroduced(ident->v, en);
3642
- }
3643
- else
3644
- {
3645
- en = cont->createEnum(IceUtil::generateUUID(), local->v, Dummy);
3646
- }
3647
- unit->pushContainer(en);
3648
- (yyval) = en;
3649
- }
3650
- break;
3651
-
3652
- case 144:
3653
- /* Line 1792 of yacc.c */
3654
- #line 1631 "src/Slice/Grammar.y"
3655
- {
3656
- EnumPtr en = EnumPtr::dynamicCast((yyvsp[(3) - (6)]));
3657
- if(en)
3658
- {
3659
- EnumeratorListTokPtr enumerators = EnumeratorListTokPtr::dynamicCast((yyvsp[(5) - (6)]));
3660
- if(enumerators->v.empty())
3661
- {
3662
- unit->error("enum `" + en->name() + "' must have at least one enumerator");
3663
- }
3664
- unit->popContainer();
3665
- }
3666
- (yyval) = (yyvsp[(3) - (6)]);
3667
- }
3668
- break;
3669
-
3670
- case 145:
3671
- /* Line 1792 of yacc.c */
3672
- #line 1646 "src/Slice/Grammar.y"
3673
- {
3674
- unit->error("missing enumeration name");
3675
- BoolTokPtr local = BoolTokPtr::dynamicCast((yyvsp[(1) - (2)]));
3676
- ContainerPtr cont = unit->currentContainer();
3677
- EnumPtr en = cont->createEnum(IceUtil::generateUUID(), local->v, Dummy);
3678
- unit->pushContainer(en);
3679
- (yyval) = en;
3680
- }
3681
- break;
3682
-
3683
- case 146:
3684
- /* Line 1792 of yacc.c */
3685
- #line 1655 "src/Slice/Grammar.y"
3686
- {
3687
- unit->popContainer();
3688
- (yyval) = (yyvsp[(2) - (6)]);
3689
- }
3690
- break;
3691
-
3692
- case 147:
3693
- /* Line 1792 of yacc.c */
3694
- #line 1665 "src/Slice/Grammar.y"
3695
- {
3696
- EnumeratorListTokPtr ens = EnumeratorListTokPtr::dynamicCast((yyvsp[(1) - (3)]));
3697
- ens->v.splice(ens->v.end(), EnumeratorListTokPtr::dynamicCast((yyvsp[(3) - (3)]))->v);
3698
- (yyval) = ens;
3699
- }
3700
- break;
3701
-
3702
- case 148:
3703
- /* Line 1792 of yacc.c */
3704
- #line 1671 "src/Slice/Grammar.y"
3705
- {
3706
- }
3707
- break;
3708
-
3709
- case 149:
3710
- /* Line 1792 of yacc.c */
3711
- #line 1679 "src/Slice/Grammar.y"
3712
- {
3713
- StringTokPtr ident = StringTokPtr::dynamicCast((yyvsp[(1) - (1)]));
3714
- EnumeratorListTokPtr ens = new EnumeratorListTok;
3715
- ContainerPtr cont = unit->currentContainer();
3716
- EnumeratorPtr en = cont->createEnumerator(ident->v);
3717
- if(en)
3718
- {
3719
- ens->v.push_front(en);
3720
- }
3721
- (yyval) = ens;
3722
- }
3723
- break;
3724
-
3725
- case 150:
3726
- /* Line 1792 of yacc.c */
3727
- #line 1691 "src/Slice/Grammar.y"
3728
- {
3729
- StringTokPtr ident = StringTokPtr::dynamicCast((yyvsp[(1) - (3)]));
3730
- EnumeratorListTokPtr ens = new EnumeratorListTok;
3731
- ContainerPtr cont = unit->currentContainer();
3732
- IntegerTokPtr intVal = IntegerTokPtr::dynamicCast((yyvsp[(3) - (3)]));
3733
- if(intVal)
3734
- {
3735
- if(intVal->v < 0 || intVal->v > Int32Max)
3736
- {
3737
- unit->error("value for enumerator `" + ident->v + "' is out of range");
3738
- }
3739
- else
3740
- {
3741
- EnumeratorPtr en = cont->createEnumerator(ident->v, static_cast<int>(intVal->v));
3742
- ens->v.push_front(en);
3743
- }
3744
- }
3745
- (yyval) = ens;
3746
- }
3747
- break;
3748
-
3749
- case 151:
3750
- /* Line 1792 of yacc.c */
3751
- #line 1711 "src/Slice/Grammar.y"
3752
- {
3753
- StringTokPtr ident = StringTokPtr::dynamicCast((yyvsp[(1) - (1)]));
3754
- unit->error("keyword `" + ident->v + "' cannot be used as enumerator");
3755
- EnumeratorListTokPtr ens = new EnumeratorListTok; // Dummy
3756
- (yyval) = ens;
3757
- }
3758
- break;
3759
-
3760
- case 152:
3761
- /* Line 1792 of yacc.c */
3762
- #line 1718 "src/Slice/Grammar.y"
3763
- {
3764
- EnumeratorListTokPtr ens = new EnumeratorListTok;
3765
- (yyval) = ens; // Dummy
3766
- }
3767
- break;
3768
-
3769
- case 153:
3770
- /* Line 1792 of yacc.c */
3771
- #line 1728 "src/Slice/Grammar.y"
3772
- {
3773
- (yyval) = (yyvsp[(1) - (1)]);
3774
- }
3775
- break;
3776
-
3777
- case 154:
3778
- /* Line 1792 of yacc.c */
3779
- #line 1732 "src/Slice/Grammar.y"
3780
- {
3781
- StringTokPtr scoped = StringTokPtr::dynamicCast((yyvsp[(1) - (1)]));
3782
- ContainedList cl = unit->currentContainer()->lookupContained(scoped->v);
3783
- IntegerTokPtr tok;
3784
- if(!cl.empty())
3785
- {
3786
- ConstPtr constant = ConstPtr::dynamicCast(cl.front());
3787
- if(constant)
3788
- {
3789
- unit->currentContainer()->checkIntroduced(scoped->v, constant);
3790
- BuiltinPtr b = BuiltinPtr::dynamicCast(constant->type());
3791
- if(b && (b->kind() == Builtin::KindByte || b->kind() == Builtin::KindShort ||
3792
- b->kind() == Builtin::KindInt || b->kind() == Builtin::KindLong))
3793
- {
3794
- IceUtil::Int64 v;
3795
- if(IceUtilInternal::stringToInt64(constant->value(), v))
3796
- {
3797
- tok = new IntegerTok;
3798
- tok->v = v;
3799
- tok->literal = constant->value();
3800
- }
3801
- }
3802
- }
3803
- }
3804
-
3805
- if(!tok)
3806
- {
3807
- string msg = "illegal initializer: `" + scoped->v + "' is not an integer constant";
3808
- unit->error(msg); // $$ is dummy
3809
- }
3810
-
3811
- (yyval) = tok;
3812
- }
3813
- break;
3814
-
3815
- case 155:
3816
- /* Line 1792 of yacc.c */
3817
- #line 1771 "src/Slice/Grammar.y"
3818
- {
3819
- BoolTokPtr out = new BoolTok;
3820
- out->v = true;
3821
- (yyval) = out;
3822
- }
3823
- break;
3824
-
3825
- case 156:
3826
- /* Line 1792 of yacc.c */
3827
- #line 1777 "src/Slice/Grammar.y"
3828
- {
3829
- BoolTokPtr out = new BoolTok;
3830
- out->v = false;
3831
- (yyval) = out;
3832
- }
3833
- break;
3834
-
3835
- case 157:
3836
- /* Line 1792 of yacc.c */
3837
- #line 1788 "src/Slice/Grammar.y"
3838
- {
3839
- }
3840
- break;
3841
-
3842
- case 158:
3843
- /* Line 1792 of yacc.c */
3844
- #line 1791 "src/Slice/Grammar.y"
3845
- {
3846
- BoolTokPtr isOutParam = BoolTokPtr::dynamicCast((yyvsp[(1) - (3)]));
3847
- OptionalDefTokPtr tsp = OptionalDefTokPtr::dynamicCast((yyvsp[(3) - (3)]));
3848
- OperationPtr op = OperationPtr::dynamicCast(unit->currentContainer());
3849
- if(op)
3850
- {
3851
- ParamDeclPtr pd = op->createParamDecl(tsp->v.name, tsp->v.type, isOutParam->v, tsp->v.optional, tsp->v.tag);
3852
- unit->currentContainer()->checkIntroduced(tsp->v.name, pd);
3853
- StringListTokPtr metaData = StringListTokPtr::dynamicCast((yyvsp[(2) - (3)]));
3854
- if(!metaData->v.empty())
3855
- {
3856
- pd->setMetaData(metaData->v);
3857
- }
3858
- }
3859
- }
3860
- break;
3861
-
3862
- case 159:
3863
- /* Line 1792 of yacc.c */
3864
- #line 1807 "src/Slice/Grammar.y"
3865
- {
3866
- BoolTokPtr isOutParam = BoolTokPtr::dynamicCast((yyvsp[(3) - (5)]));
3867
- OptionalDefTokPtr tsp = OptionalDefTokPtr::dynamicCast((yyvsp[(5) - (5)]));
3868
- OperationPtr op = OperationPtr::dynamicCast(unit->currentContainer());
3869
- if(op)
3870
- {
3871
- ParamDeclPtr pd = op->createParamDecl(tsp->v.name, tsp->v.type, isOutParam->v, tsp->v.optional, tsp->v.tag);
3872
- unit->currentContainer()->checkIntroduced(tsp->v.name, pd);
3873
- StringListTokPtr metaData = StringListTokPtr::dynamicCast((yyvsp[(4) - (5)]));
3874
- if(!metaData->v.empty())
3875
- {
3876
- pd->setMetaData(metaData->v);
3877
- }
3878
- }
3879
- }
3880
- break;
3881
-
3882
- case 160:
3883
- /* Line 1792 of yacc.c */
3884
- #line 1823 "src/Slice/Grammar.y"
3885
- {
3886
- BoolTokPtr isOutParam = BoolTokPtr::dynamicCast((yyvsp[(1) - (4)]));
3887
- TypePtr type = TypePtr::dynamicCast((yyvsp[(3) - (4)]));
3888
- StringTokPtr ident = StringTokPtr::dynamicCast((yyvsp[(4) - (4)]));
3889
- OperationPtr op = OperationPtr::dynamicCast(unit->currentContainer());
3890
- if(op)
3891
- {
3892
- op->createParamDecl(ident->v, type, isOutParam->v, false, 0); // Dummy
3893
- unit->error("keyword `" + ident->v + "' cannot be used as parameter name");
3894
- }
3895
- }
3896
- break;
3897
-
3898
- case 161:
3899
- /* Line 1792 of yacc.c */
3900
- #line 1835 "src/Slice/Grammar.y"
3901
- {
3902
- BoolTokPtr isOutParam = BoolTokPtr::dynamicCast((yyvsp[(3) - (6)]));
3903
- TypePtr type = TypePtr::dynamicCast((yyvsp[(5) - (6)]));
3904
- StringTokPtr ident = StringTokPtr::dynamicCast((yyvsp[(6) - (6)]));
3905
- OperationPtr op = OperationPtr::dynamicCast(unit->currentContainer());
3906
- if(op)
3907
- {
3908
- op->createParamDecl(ident->v, type, isOutParam->v, false, 0); // Dummy
3909
- unit->error("keyword `" + ident->v + "' cannot be used as parameter name");
3910
- }
3911
- }
3912
- break;
3913
-
3914
- case 162:
3915
- /* Line 1792 of yacc.c */
3916
- #line 1847 "src/Slice/Grammar.y"
3917
- {
3918
- BoolTokPtr isOutParam = BoolTokPtr::dynamicCast((yyvsp[(1) - (3)]));
3919
- TypePtr type = TypePtr::dynamicCast((yyvsp[(3) - (3)]));
3920
- OperationPtr op = OperationPtr::dynamicCast(unit->currentContainer());
3921
- if(op)
3922
- {
3923
- op->createParamDecl(IceUtil::generateUUID(), type, isOutParam->v, false, 0); // Dummy
3924
- unit->error("missing parameter name");
3925
- }
3926
- }
3927
- break;
3928
-
3929
- case 163:
3930
- /* Line 1792 of yacc.c */
3931
- #line 1858 "src/Slice/Grammar.y"
3932
- {
3933
- BoolTokPtr isOutParam = BoolTokPtr::dynamicCast((yyvsp[(3) - (5)]));
3934
- TypePtr type = TypePtr::dynamicCast((yyvsp[(5) - (5)]));
3935
- OperationPtr op = OperationPtr::dynamicCast(unit->currentContainer());
3936
- if(op)
3937
- {
3938
- op->createParamDecl(IceUtil::generateUUID(), type, isOutParam->v, false, 0); // Dummy
3939
- unit->error("missing parameter name");
3940
- }
3941
- }
3942
- break;
3943
-
3944
- case 164:
3945
- /* Line 1792 of yacc.c */
3946
- #line 1874 "src/Slice/Grammar.y"
3947
- {
3948
- (yyval) = (yyvsp[(2) - (2)]);
3949
- }
3950
- break;
3951
-
3952
- case 165:
3953
- /* Line 1792 of yacc.c */
3954
- #line 1878 "src/Slice/Grammar.y"
3955
- {
3956
- (yyval) = new ExceptionListTok;
3957
- }
3958
- break;
3959
-
3960
- case 166:
3961
- /* Line 1792 of yacc.c */
3962
- #line 1887 "src/Slice/Grammar.y"
3963
- {
3964
- }
3965
- break;
3966
-
3967
- case 167:
3968
- /* Line 1792 of yacc.c */
3969
- #line 1890 "src/Slice/Grammar.y"
3970
- {
3971
- }
3972
- break;
3973
-
3974
- case 168:
3975
- /* Line 1792 of yacc.c */
3976
- #line 1898 "src/Slice/Grammar.y"
3977
- {
3978
- (yyval) = unit->builtin(Builtin::KindByte);
3979
- }
3980
- break;
3981
-
3982
- case 169:
3983
- /* Line 1792 of yacc.c */
3984
- #line 1902 "src/Slice/Grammar.y"
3985
- {
3986
- (yyval) = unit->builtin(Builtin::KindBool);
3987
- }
3988
- break;
3989
-
3990
- case 170:
3991
- /* Line 1792 of yacc.c */
3992
- #line 1906 "src/Slice/Grammar.y"
3993
- {
3994
- (yyval) = unit->builtin(Builtin::KindShort);
3995
- }
3996
- break;
3997
-
3998
- case 171:
3999
- /* Line 1792 of yacc.c */
4000
- #line 1910 "src/Slice/Grammar.y"
4001
- {
4002
- (yyval) = unit->builtin(Builtin::KindInt);
4003
- }
4004
- break;
4005
-
4006
- case 172:
4007
- /* Line 1792 of yacc.c */
4008
- #line 1914 "src/Slice/Grammar.y"
4009
- {
4010
- (yyval) = unit->builtin(Builtin::KindLong);
4011
- }
4012
- break;
4013
-
4014
- case 173:
4015
- /* Line 1792 of yacc.c */
4016
- #line 1918 "src/Slice/Grammar.y"
4017
- {
4018
- (yyval) = unit->builtin(Builtin::KindFloat);
4019
- }
4020
- break;
4021
-
4022
- case 174:
4023
- /* Line 1792 of yacc.c */
4024
- #line 1922 "src/Slice/Grammar.y"
4025
- {
4026
- (yyval) = unit->builtin(Builtin::KindDouble);
4027
- }
4028
- break;
4029
-
4030
- case 175:
4031
- /* Line 1792 of yacc.c */
4032
- #line 1926 "src/Slice/Grammar.y"
4033
- {
4034
- (yyval) = unit->builtin(Builtin::KindString);
4035
- }
4036
- break;
4037
-
4038
- case 176:
4039
- /* Line 1792 of yacc.c */
4040
- #line 1930 "src/Slice/Grammar.y"
4041
- {
4042
- (yyval) = unit->builtin(Builtin::KindObject);
4043
- }
4044
- break;
4045
-
4046
- case 177:
4047
- /* Line 1792 of yacc.c */
4048
- #line 1934 "src/Slice/Grammar.y"
4049
- {
4050
- (yyval) = unit->builtin(Builtin::KindObjectProxy);
4051
- }
4052
- break;
4053
-
4054
- case 178:
4055
- /* Line 1792 of yacc.c */
4056
- #line 1938 "src/Slice/Grammar.y"
4057
- {
4058
- (yyval) = unit->builtin(Builtin::KindLocalObject);
4059
- }
4060
- break;
4061
-
4062
- case 179:
4063
- /* Line 1792 of yacc.c */
4064
- #line 1942 "src/Slice/Grammar.y"
4065
- {
4066
- (yyval) = unit->builtin(Builtin::KindValue);
4067
- }
4068
- break;
4069
-
4070
- case 180:
4071
- /* Line 1792 of yacc.c */
4072
- #line 1946 "src/Slice/Grammar.y"
4073
- {
4074
- StringTokPtr scoped = StringTokPtr::dynamicCast((yyvsp[(1) - (1)]));
4075
- ContainerPtr cont = unit->currentContainer();
4076
- if(cont)
4077
- {
4078
- TypeList types = cont->lookupType(scoped->v);
4079
- if(types.empty())
4080
- {
4081
- YYERROR; // Can't continue, jump to next yyerrok
4082
- }
4083
- cont->checkIntroduced(scoped->v);
4084
- (yyval) = types.front();
4085
- }
4086
- else
4087
- {
4088
- (yyval) = 0;
4089
- }
4090
- }
4091
- break;
4092
-
4093
- case 181:
4094
- /* Line 1792 of yacc.c */
4095
- #line 1965 "src/Slice/Grammar.y"
4096
- {
4097
- StringTokPtr scoped = StringTokPtr::dynamicCast((yyvsp[(1) - (2)]));
4098
- ContainerPtr cont = unit->currentContainer();
4099
- if(cont)
4100
- {
4101
- TypeList types = cont->lookupType(scoped->v);
4102
- if(types.empty())
4103
- {
4104
- YYERROR; // Can't continue, jump to next yyerrok
4105
- }
4106
- for(TypeList::iterator p = types.begin(); p != types.end(); ++p)
4107
- {
4108
- ClassDeclPtr cl = ClassDeclPtr::dynamicCast(*p);
4109
- if(!cl)
4110
- {
4111
- string msg = "`";
4112
- msg += scoped->v;
4113
- msg += "' must be class or interface";
4114
- unit->error(msg);
4115
- YYERROR; // Can't continue, jump to next yyerrok
4116
- }
4117
- cont->checkIntroduced(scoped->v);
4118
- if(cl->isLocal())
4119
- {
4120
- unit->error("cannot create proxy for " + cl->kindOf() + " `" + cl->name() + "'"); // $$ is dummy
4121
- }
4122
- *p = new Proxy(cl);
4123
- }
4124
- (yyval) = types.front();
4125
- }
4126
- else
4127
- {
4128
- (yyval) = 0;
4129
- }
4130
- }
4131
- break;
4132
-
4133
- case 182:
4134
- /* Line 1792 of yacc.c */
4135
- #line 2006 "src/Slice/Grammar.y"
4136
- {
4137
- StringTokPtr str1 = StringTokPtr::dynamicCast((yyvsp[(1) - (2)]));
4138
- StringTokPtr str2 = StringTokPtr::dynamicCast((yyvsp[(2) - (2)]));
4139
- str1->v += str2->v;
4140
- }
4141
- break;
4142
-
4143
- case 183:
4144
- /* Line 1792 of yacc.c */
4145
- #line 2012 "src/Slice/Grammar.y"
4146
- {
4147
- }
4148
- break;
4149
-
4150
- case 184:
4151
- /* Line 1792 of yacc.c */
4152
- #line 2020 "src/Slice/Grammar.y"
4153
- {
4154
- StringTokPtr str = StringTokPtr::dynamicCast((yyvsp[(3) - (3)]));
4155
- StringListTokPtr stringList = StringListTokPtr::dynamicCast((yyvsp[(1) - (3)]));
4156
- stringList->v.push_back(str->v);
4157
- (yyval) = stringList;
4158
- }
4159
- break;
4160
-
4161
- case 185:
4162
- /* Line 1792 of yacc.c */
4163
- #line 2027 "src/Slice/Grammar.y"
4164
- {
4165
- StringTokPtr str = StringTokPtr::dynamicCast((yyvsp[(1) - (1)]));
4166
- StringListTokPtr stringList = new StringListTok;
4167
- stringList->v.push_back(str->v);
4168
- (yyval) = stringList;
4169
- }
4170
- break;
4171
-
4172
- case 186:
4173
- /* Line 1792 of yacc.c */
4174
- #line 2039 "src/Slice/Grammar.y"
4175
- {
4176
- BoolTokPtr local = new BoolTok;
4177
- local->v = true;
4178
- (yyval) = local;
4179
- }
4180
- break;
4181
-
4182
- case 187:
4183
- /* Line 1792 of yacc.c */
4184
- #line 2045 "src/Slice/Grammar.y"
4185
- {
4186
- BoolTokPtr local = new BoolTok;
4187
- local->v = false;
4188
- (yyval) = local;
4189
- }
4190
- break;
4191
-
4192
- case 188:
4193
- /* Line 1792 of yacc.c */
4194
- #line 2056 "src/Slice/Grammar.y"
4195
- {
4196
- BuiltinPtr type = unit->builtin(Builtin::KindLong);
4197
- IntegerTokPtr intVal = IntegerTokPtr::dynamicCast((yyvsp[(1) - (1)]));
4198
- ostringstream sstr;
4199
- sstr << intVal->v;
4200
- ConstDefTokPtr def = new ConstDefTok;
4201
- def->v.type = type;
4202
- def->v.value = type;
4203
- def->v.valueAsString = sstr.str();
4204
- def->v.valueAsLiteral = intVal->literal;
4205
- (yyval) = def;
4206
- }
4207
- break;
4208
-
4209
- case 189:
4210
- /* Line 1792 of yacc.c */
4211
- #line 2069 "src/Slice/Grammar.y"
4212
- {
4213
- BuiltinPtr type = unit->builtin(Builtin::KindDouble);
4214
- FloatingTokPtr floatVal = FloatingTokPtr::dynamicCast((yyvsp[(1) - (1)]));
4215
- ostringstream sstr;
4216
- sstr << floatVal->v;
4217
- ConstDefTokPtr def = new ConstDefTok;
4218
- def->v.type = type;
4219
- def->v.value = type;
4220
- def->v.valueAsString = sstr.str();
4221
- def->v.valueAsLiteral = floatVal->literal;
4222
- (yyval) = def;
4223
- }
4224
- break;
4225
-
4226
- case 190:
4227
- /* Line 1792 of yacc.c */
4228
- #line 2082 "src/Slice/Grammar.y"
4229
- {
4230
- StringTokPtr scoped = StringTokPtr::dynamicCast((yyvsp[(1) - (1)]));
4231
- ConstDefTokPtr def = new ConstDefTok;
4232
- ContainedList cl = unit->currentContainer()->lookupContained(scoped->v, false);
4233
- if(cl.empty())
4234
- {
4235
- // Could be an enumerator
4236
- def->v.type = TypePtr(0);
4237
- def->v.value = SyntaxTreeBasePtr(0);
4238
- def->v.valueAsString = scoped->v;
4239
- def->v.valueAsLiteral = scoped->v;
4240
- }
4241
- else
4242
- {
4243
- EnumeratorPtr enumerator = EnumeratorPtr::dynamicCast(cl.front());
4244
- ConstPtr constant = ConstPtr::dynamicCast(cl.front());
4245
- if(enumerator)
4246
- {
4247
- unit->currentContainer()->checkIntroduced(scoped->v, enumerator);
4248
- def->v.type = enumerator->type();
4249
- def->v.value = enumerator;
4250
- def->v.valueAsString = scoped->v;
4251
- def->v.valueAsLiteral = scoped->v;
4252
- }
4253
- else if(constant)
4254
- {
4255
- unit->currentContainer()->checkIntroduced(scoped->v, constant);
4256
- def->v.value = constant;
4257
- def->v.valueAsString = constant->value();
4258
- def->v.valueAsLiteral = constant->value();
4259
- }
4260
- else
4261
- {
4262
- string msg = "illegal initializer: `" + scoped->v + "' is a";
4263
- static const string vowels = "aeiou";
4264
- string kindOf = cl.front()->kindOf();
4265
- if(vowels.find_first_of(kindOf[0]) != string::npos)
4266
- {
4267
- msg += "n";
4268
- }
4269
- msg += " " + kindOf;
4270
- unit->error(msg); // $$ is dummy
4271
- }
4272
- }
4273
- (yyval) = def;
4274
- }
4275
- break;
4276
-
4277
- case 191:
4278
- /* Line 1792 of yacc.c */
4279
- #line 2129 "src/Slice/Grammar.y"
4280
- {
4281
- BuiltinPtr type = unit->builtin(Builtin::KindString);
4282
- StringTokPtr literal = StringTokPtr::dynamicCast((yyvsp[(1) - (1)]));
4283
- ConstDefTokPtr def = new ConstDefTok;
4284
- def->v.type = type;
4285
- def->v.value = type;
4286
- def->v.valueAsString = literal->v;
4287
- def->v.valueAsLiteral = literal->literal;
4288
- (yyval) = def;
4289
- }
4290
- break;
4291
-
4292
- case 192:
4293
- /* Line 1792 of yacc.c */
4294
- #line 2140 "src/Slice/Grammar.y"
4295
- {
4296
- BuiltinPtr type = unit->builtin(Builtin::KindBool);
4297
- StringTokPtr literal = StringTokPtr::dynamicCast((yyvsp[(1) - (1)]));
4298
- ConstDefTokPtr def = new ConstDefTok;
4299
- def->v.type = type;
4300
- def->v.value = type;
4301
- def->v.valueAsString = "false";
4302
- def->v.valueAsLiteral = "false";
4303
- (yyval) = def;
4304
- }
4305
- break;
4306
-
4307
- case 193:
4308
- /* Line 1792 of yacc.c */
4309
- #line 2151 "src/Slice/Grammar.y"
4310
- {
4311
- BuiltinPtr type = unit->builtin(Builtin::KindBool);
4312
- StringTokPtr literal = StringTokPtr::dynamicCast((yyvsp[(1) - (1)]));
4313
- ConstDefTokPtr def = new ConstDefTok;
4314
- def->v.type = type;
4315
- def->v.value = type;
4316
- def->v.valueAsString = "true";
4317
- def->v.valueAsLiteral = "true";
4318
- (yyval) = def;
4319
- }
4320
- break;
4321
-
4322
- case 194:
4323
- /* Line 1792 of yacc.c */
4324
- #line 2167 "src/Slice/Grammar.y"
4325
- {
4326
- StringListTokPtr metaData = StringListTokPtr::dynamicCast((yyvsp[(2) - (6)]));
4327
- TypePtr const_type = TypePtr::dynamicCast((yyvsp[(3) - (6)]));
4328
- StringTokPtr ident = StringTokPtr::dynamicCast((yyvsp[(4) - (6)]));
4329
- ConstDefTokPtr value = ConstDefTokPtr::dynamicCast((yyvsp[(6) - (6)]));
4330
- (yyval) = unit->currentContainer()->createConst(ident->v, const_type, metaData->v, value->v.value,
4331
- value->v.valueAsString, value->v.valueAsLiteral);
4332
- }
4333
- break;
4334
-
4335
- case 195:
4336
- /* Line 1792 of yacc.c */
4337
- #line 2176 "src/Slice/Grammar.y"
4338
- {
4339
- StringListTokPtr metaData = StringListTokPtr::dynamicCast((yyvsp[(2) - (5)]));
4340
- TypePtr const_type = TypePtr::dynamicCast((yyvsp[(3) - (5)]));
4341
- ConstDefTokPtr value = ConstDefTokPtr::dynamicCast((yyvsp[(5) - (5)]));
4342
- unit->error("missing constant name");
4343
- (yyval) = unit->currentContainer()->createConst(IceUtil::generateUUID(), const_type, metaData->v, value->v.value,
4344
- value->v.valueAsString, value->v.valueAsLiteral, Dummy); // Dummy
4345
- }
4346
- break;
4347
-
4348
- case 196:
4349
- /* Line 1792 of yacc.c */
4350
- #line 2190 "src/Slice/Grammar.y"
4351
- {
4352
- }
4353
- break;
4354
-
4355
- case 197:
4356
- /* Line 1792 of yacc.c */
4357
- #line 2193 "src/Slice/Grammar.y"
4358
- {
4359
- }
4360
- break;
4361
-
4362
- case 198:
4363
- /* Line 1792 of yacc.c */
4364
- #line 2196 "src/Slice/Grammar.y"
4365
- {
4366
- }
4367
- break;
4368
-
4369
- case 199:
4370
- /* Line 1792 of yacc.c */
4371
- #line 2199 "src/Slice/Grammar.y"
4372
- {
4373
- }
4374
- break;
4375
-
4376
- case 200:
4377
- /* Line 1792 of yacc.c */
4378
- #line 2202 "src/Slice/Grammar.y"
4379
- {
4380
- }
4381
- break;
4382
-
4383
- case 201:
4384
- /* Line 1792 of yacc.c */
4385
- #line 2205 "src/Slice/Grammar.y"
4386
- {
4387
- }
4388
- break;
4389
-
4390
- case 202:
4391
- /* Line 1792 of yacc.c */
4392
- #line 2208 "src/Slice/Grammar.y"
4393
- {
4394
- }
4395
- break;
4396
-
4397
- case 203:
4398
- /* Line 1792 of yacc.c */
4399
- #line 2211 "src/Slice/Grammar.y"
4400
- {
4401
- }
4402
- break;
4403
-
4404
- case 204:
4405
- /* Line 1792 of yacc.c */
4406
- #line 2214 "src/Slice/Grammar.y"
4407
- {
4408
- }
4409
- break;
4410
-
4411
- case 205:
4412
- /* Line 1792 of yacc.c */
4413
- #line 2217 "src/Slice/Grammar.y"
4414
- {
4415
- }
4416
- break;
4417
-
4418
- case 206:
4419
- /* Line 1792 of yacc.c */
4420
- #line 2220 "src/Slice/Grammar.y"
4421
- {
4422
- }
4423
- break;
4424
-
4425
- case 207:
4426
- /* Line 1792 of yacc.c */
4427
- #line 2223 "src/Slice/Grammar.y"
4428
- {
4429
- }
4430
- break;
4431
-
4432
- case 208:
4433
- /* Line 1792 of yacc.c */
4434
- #line 2226 "src/Slice/Grammar.y"
4435
- {
4436
- }
4437
- break;
4438
-
4439
- case 209:
4440
- /* Line 1792 of yacc.c */
4441
- #line 2229 "src/Slice/Grammar.y"
4442
- {
4443
- }
4444
- break;
4445
-
4446
- case 210:
4447
- /* Line 1792 of yacc.c */
4448
- #line 2232 "src/Slice/Grammar.y"
4449
- {
4450
- }
4451
- break;
4452
-
4453
- case 211:
4454
- /* Line 1792 of yacc.c */
4455
- #line 2235 "src/Slice/Grammar.y"
4456
- {
4457
- }
4458
- break;
4459
-
4460
- case 212:
4461
- /* Line 1792 of yacc.c */
4462
- #line 2238 "src/Slice/Grammar.y"
4463
- {
4464
- }
4465
- break;
4466
-
4467
- case 213:
4468
- /* Line 1792 of yacc.c */
4469
- #line 2241 "src/Slice/Grammar.y"
4470
- {
4471
- }
4472
- break;
4473
-
4474
- case 214:
4475
- /* Line 1792 of yacc.c */
4476
- #line 2244 "src/Slice/Grammar.y"
4477
- {
4478
- }
4479
- break;
4480
-
4481
- case 215:
4482
- /* Line 1792 of yacc.c */
4483
- #line 2247 "src/Slice/Grammar.y"
4484
- {
4485
- }
4486
- break;
4487
-
4488
- case 216:
4489
- /* Line 1792 of yacc.c */
4490
- #line 2250 "src/Slice/Grammar.y"
4491
- {
4492
- }
4493
- break;
4494
-
4495
- case 217:
4496
- /* Line 1792 of yacc.c */
4497
- #line 2253 "src/Slice/Grammar.y"
4498
- {
4499
- }
4500
- break;
4501
-
4502
- case 218:
4503
- /* Line 1792 of yacc.c */
4504
- #line 2256 "src/Slice/Grammar.y"
4505
- {
4506
- }
4507
- break;
4508
-
4509
- case 219:
4510
- /* Line 1792 of yacc.c */
4511
- #line 2259 "src/Slice/Grammar.y"
4512
- {
4513
- }
4514
- break;
4515
-
4516
- case 220:
4517
- /* Line 1792 of yacc.c */
4518
- #line 2262 "src/Slice/Grammar.y"
4519
- {
4520
- }
4521
- break;
4522
-
4523
- case 221:
4524
- /* Line 1792 of yacc.c */
4525
- #line 2265 "src/Slice/Grammar.y"
4526
- {
4527
- }
4528
- break;
4529
-
4530
- case 222:
4531
- /* Line 1792 of yacc.c */
4532
- #line 2268 "src/Slice/Grammar.y"
4533
- {
4534
- }
4535
- break;
4536
-
4537
- case 223:
4538
- /* Line 1792 of yacc.c */
4539
- #line 2271 "src/Slice/Grammar.y"
4540
- {
4541
- }
4542
- break;
4543
-
4544
- case 224:
4545
- /* Line 1792 of yacc.c */
4546
- #line 2274 "src/Slice/Grammar.y"
4547
- {
4548
- }
4549
- break;
4550
-
4551
- case 225:
4552
- /* Line 1792 of yacc.c */
4553
- #line 2277 "src/Slice/Grammar.y"
4554
- {
4555
- }
4556
- break;
4557
-
4558
-
4559
- /* Line 1792 of yacc.c */
4560
- #line 4557 "src/Slice/Grammar.cpp"
4561
- default: break;
4562
- }
4563
- /* User semantic actions sometimes alter yychar, and that requires
4564
- that yytoken be updated with the new translation. We take the
4565
- approach of translating immediately before every use of yytoken.
4566
- One alternative is translating here after every semantic action,
4567
- but that translation would be missed if the semantic action invokes
4568
- YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or
4569
- if it invokes YYBACKUP. In the case of YYABORT or YYACCEPT, an
4570
- incorrect destructor might then be invoked immediately. In the
4571
- case of YYERROR or YYBACKUP, subsequent parser actions might lead
4572
- to an incorrect destructor call or verbose syntax error message
4573
- before the lookahead is translated. */
4574
- YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc);
4575
-
4576
- YYPOPSTACK (yylen);
4577
- yylen = 0;
4578
- YY_STACK_PRINT (yyss, yyssp);
4579
-
4580
- *++yyvsp = yyval;
4581
-
4582
- /* Now `shift' the result of the reduction. Determine what state
4583
- that goes to, based on the state we popped back to and the rule
4584
- number reduced by. */
4585
-
4586
- yyn = yyr1[yyn];
4587
-
4588
- yystate = yypgoto[yyn - YYNTOKENS] + *yyssp;
4589
- if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp)
4590
- yystate = yytable[yystate];
4591
- else
4592
- yystate = yydefgoto[yyn - YYNTOKENS];
4593
-
4594
- goto yynewstate;
4595
-
4596
-
4597
- /*------------------------------------.
4598
- | yyerrlab -- here on detecting error |
4599
- `------------------------------------*/
4600
- yyerrlab:
4601
- /* Make sure we have latest lookahead translation. See comments at
4602
- user semantic actions for why this is necessary. */
4603
- yytoken = yychar == YYEMPTY ? YYEMPTY : YYTRANSLATE (yychar);
4604
-
4605
- /* If not already recovering from an error, report this error. */
4606
- if (!yyerrstatus)
4607
- {
4608
- ++yynerrs;
4609
- #if ! YYERROR_VERBOSE
4610
- yyerror (YY_("syntax error"));
4611
- #else
4612
- # define YYSYNTAX_ERROR yysyntax_error (&yymsg_alloc, &yymsg, \
4613
- yyssp, yytoken)
4614
- {
4615
- char const *yymsgp = YY_("syntax error");
4616
- int yysyntax_error_status;
4617
- yysyntax_error_status = YYSYNTAX_ERROR;
4618
- if (yysyntax_error_status == 0)
4619
- yymsgp = yymsg;
4620
- else if (yysyntax_error_status == 1)
4621
- {
4622
- if (yymsg != yymsgbuf)
4623
- YYSTACK_FREE (yymsg);
4624
- yymsg = (char *) YYSTACK_ALLOC (yymsg_alloc);
4625
- if (!yymsg)
4626
- {
4627
- yymsg = yymsgbuf;
4628
- yymsg_alloc = sizeof yymsgbuf;
4629
- yysyntax_error_status = 2;
4630
- }
4631
- else
4632
- {
4633
- yysyntax_error_status = YYSYNTAX_ERROR;
4634
- yymsgp = yymsg;
4635
- }
4636
- }
4637
- yyerror (yymsgp);
4638
- if (yysyntax_error_status == 2)
4639
- goto yyexhaustedlab;
4640
- }
4641
- # undef YYSYNTAX_ERROR
4642
- #endif
4643
- }
4644
-
4645
-
4646
-
4647
- if (yyerrstatus == 3)
4648
- {
4649
- /* If just tried and failed to reuse lookahead token after an
4650
- error, discard it. */
4651
-
4652
- if (yychar <= YYEOF)
4653
- {
4654
- /* Return failure if at end of input. */
4655
- if (yychar == YYEOF)
4656
- YYABORT;
4657
- }
4658
- else
4659
- {
4660
- yydestruct ("Error: discarding",
4661
- yytoken, &yylval);
4662
- yychar = YYEMPTY;
4663
- }
4664
- }
4665
-
4666
- /* Else will try to reuse lookahead token after shifting the error
4667
- token. */
4668
- goto yyerrlab1;
4669
-
4670
-
4671
- /*---------------------------------------------------.
4672
- | yyerrorlab -- error raised explicitly by YYERROR. |
4673
- `---------------------------------------------------*/
4674
- yyerrorlab:
4675
-
4676
- /* Pacify compilers like GCC when the user code never invokes
4677
- YYERROR and the label yyerrorlab therefore never appears in user
4678
- code. */
4679
- if (/*CONSTCOND*/ 0)
4680
- goto yyerrorlab;
4681
-
4682
- /* Do not reclaim the symbols of the rule which action triggered
4683
- this YYERROR. */
4684
- YYPOPSTACK (yylen);
4685
- yylen = 0;
4686
- YY_STACK_PRINT (yyss, yyssp);
4687
- yystate = *yyssp;
4688
- goto yyerrlab1;
4689
-
4690
-
4691
- /*-------------------------------------------------------------.
4692
- | yyerrlab1 -- common code for both syntax error and YYERROR. |
4693
- `-------------------------------------------------------------*/
4694
- yyerrlab1:
4695
- yyerrstatus = 3; /* Each real token shifted decrements this. */
4696
-
4697
- for (;;)
4698
- {
4699
- yyn = yypact[yystate];
4700
- if (!yypact_value_is_default (yyn))
4701
- {
4702
- yyn += YYTERROR;
4703
- if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR)
4704
- {
4705
- yyn = yytable[yyn];
4706
- if (0 < yyn)
4707
- break;
4708
- }
4709
- }
4710
-
4711
- /* Pop the current state because it cannot handle the error token. */
4712
- if (yyssp == yyss)
4713
- YYABORT;
4714
-
4715
-
4716
- yydestruct ("Error: popping",
4717
- yystos[yystate], yyvsp);
4718
- YYPOPSTACK (1);
4719
- yystate = *yyssp;
4720
- YY_STACK_PRINT (yyss, yyssp);
4721
- }
4722
-
4723
- YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
4724
- *++yyvsp = yylval;
4725
- YY_IGNORE_MAYBE_UNINITIALIZED_END
4726
-
4727
-
4728
- /* Shift the error token. */
4729
- YY_SYMBOL_PRINT ("Shifting", yystos[yyn], yyvsp, yylsp);
4730
-
4731
- yystate = yyn;
4732
- goto yynewstate;
4733
-
4734
-
4735
- /*-------------------------------------.
4736
- | yyacceptlab -- YYACCEPT comes here. |
4737
- `-------------------------------------*/
4738
- yyacceptlab:
4739
- yyresult = 0;
4740
- goto yyreturn;
4741
-
4742
- /*-----------------------------------.
4743
- | yyabortlab -- YYABORT comes here. |
4744
- `-----------------------------------*/
4745
- yyabortlab:
4746
- yyresult = 1;
4747
- goto yyreturn;
4748
-
4749
- #if !defined yyoverflow || YYERROR_VERBOSE
4750
- /*-------------------------------------------------.
4751
- | yyexhaustedlab -- memory exhaustion comes here. |
4752
- `-------------------------------------------------*/
4753
- yyexhaustedlab:
4754
- yyerror (YY_("memory exhausted"));
4755
- yyresult = 2;
4756
- /* Fall through. */
4757
- #endif
4758
-
4759
- yyreturn:
4760
- if (yychar != YYEMPTY)
4761
- {
4762
- /* Make sure we have latest lookahead translation. See comments at
4763
- user semantic actions for why this is necessary. */
4764
- yytoken = YYTRANSLATE (yychar);
4765
- yydestruct ("Cleanup: discarding lookahead",
4766
- yytoken, &yylval);
4767
- }
4768
- /* Do not reclaim the symbols of the rule which action triggered
4769
- this YYABORT or YYACCEPT. */
4770
- YYPOPSTACK (yylen);
4771
- YY_STACK_PRINT (yyss, yyssp);
4772
- while (yyssp != yyss)
4773
- {
4774
- yydestruct ("Cleanup: popping",
4775
- yystos[*yyssp], yyvsp);
4776
- YYPOPSTACK (1);
4777
- }
4778
- #ifndef yyoverflow
4779
- if (yyss != yyssa)
4780
- YYSTACK_FREE (yyss);
4781
- #endif
4782
- #if YYERROR_VERBOSE
4783
- if (yymsg != yymsgbuf)
4784
- YYSTACK_FREE (yymsg);
4785
- #endif
4786
- /* Make sure YYID is used. */
4787
- return YYID (yyresult);
4788
- }
4789
-
4790
-
4791
- /* Line 2055 of yacc.c */
4792
- #line 2281 "src/Slice/Grammar.y"
4793
-