rufus-lua-win 5.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +69 -0
- data/Rakefile +1 -0
- data/lib/rufus/lua/win.rb +18 -0
- data/lib/rufus/lua/win/version.rb +7 -0
- data/rufus-lua-win.gemspec +23 -0
- data/vendor/lua/bin/liblua.dll +0 -0
- data/vendor/lua/lib/lua/LuaXml.lua +119 -0
- data/vendor/lua/lib/lua/alien.lua +250 -0
- data/vendor/lua/lib/lua/alien/core.dll +0 -0
- data/vendor/lua/lib/lua/alien/struct.dll +0 -0
- data/vendor/lua/lib/lua/base.lua +536 -0
- data/vendor/lua/lib/lua/bin.lua +20 -0
- data/vendor/lua/lib/lua/bit.dll +0 -0
- data/vendor/lua/lib/lua/cdlua.dll +0 -0
- data/vendor/lua/lib/lua/cdluacontextplus.dll +0 -0
- data/vendor/lua/lib/lua/cdluagl.dll +0 -0
- data/vendor/lua/lib/lua/cdluaim.dll +0 -0
- data/vendor/lua/lib/lua/cdluapdf.dll +0 -0
- data/vendor/lua/lib/lua/copas.lua +543 -0
- data/vendor/lua/lib/lua/coxpcall.lua +57 -0
- data/vendor/lua/lib/lua/date.lua +745 -0
- data/vendor/lua/lib/lua/debug_ext.lua +84 -0
- data/vendor/lua/lib/lua/debug_init.lua +2 -0
- data/vendor/lua/lib/lua/des56.dll +0 -0
- data/vendor/lua/lib/lua/dist/config.lua +109 -0
- data/vendor/lua/lib/lua/dist/constraints.lua +271 -0
- data/vendor/lua/lib/lua/dist/depends.lua +601 -0
- data/vendor/lua/lib/lua/dist/git.lua +307 -0
- data/vendor/lua/lib/lua/dist/init.lua +278 -0
- data/vendor/lua/lib/lua/dist/manifest.lua +225 -0
- data/vendor/lua/lib/lua/dist/package.lua +583 -0
- data/vendor/lua/lib/lua/dist/sys.lua +367 -0
- data/vendor/lua/lib/lua/dist/utils.lua +130 -0
- data/vendor/lua/lib/lua/ex.dll +0 -0
- data/vendor/lua/lib/lua/fstable.lua +116 -0
- data/vendor/lua/lib/lua/getopt.lua +273 -0
- data/vendor/lua/lib/lua/git.lua +5 -0
- data/vendor/lua/lib/lua/git/core.dll +0 -0
- data/vendor/lua/lib/lua/git/objects.lua +121 -0
- data/vendor/lua/lib/lua/git/pack.lua +316 -0
- data/vendor/lua/lib/lua/git/protocol.lua +188 -0
- data/vendor/lua/lib/lua/git/repo.lua +283 -0
- data/vendor/lua/lib/lua/git/util.lua +233 -0
- data/vendor/lua/lib/lua/gzio.dll +0 -0
- data/vendor/lua/lib/lua/gzip.lua +81 -0
- data/vendor/lua/lib/lua/iconv.dll +0 -0
- data/vendor/lua/lib/lua/imlua.dll +0 -0
- data/vendor/lua/lib/lua/imlua_fftw.dll +0 -0
- data/vendor/lua/lib/lua/imlua_jp2.dll +0 -0
- data/vendor/lua/lib/lua/imlua_process.dll +0 -0
- data/vendor/lua/lib/lua/imlua_process_omp.dll +0 -0
- data/vendor/lua/lib/lua/io_ext.lua +115 -0
- data/vendor/lua/lib/lua/iuplua.dll +0 -0
- data/vendor/lua/lib/lua/iuplua_mglplot.dll +0 -0
- data/vendor/lua/lib/lua/iuplua_pplot.dll +0 -0
- data/vendor/lua/lib/lua/iupluacd.dll +0 -0
- data/vendor/lua/lib/lua/iupluacontrols.dll +0 -0
- data/vendor/lua/lib/lua/iupluagl.dll +0 -0
- data/vendor/lua/lib/lua/iupluaim.dll +0 -0
- data/vendor/lua/lib/lua/iupluaimglib.dll +0 -0
- data/vendor/lua/lib/lua/iupluatuio.dll +0 -0
- data/vendor/lua/lib/lua/lanes-keeper.lua +302 -0
- data/vendor/lua/lib/lua/lanes.lua +591 -0
- data/vendor/lua/lib/lua/lanes/core.dll +0 -0
- data/vendor/lua/lib/lua/lcs.lua +55 -0
- data/vendor/lua/lib/lua/lemock.lua +659 -0
- data/vendor/lua/lib/lua/lfs.dll +0 -0
- data/vendor/lua/lib/lua/list.lua +375 -0
- data/vendor/lua/lib/lua/logging.lua +189 -0
- data/vendor/lua/lib/lua/logging/console.lua +22 -0
- data/vendor/lua/lib/lua/logging/email.lua +44 -0
- data/vendor/lua/lib/lua/logging/file.lua +55 -0
- data/vendor/lua/lib/lua/logging/rolling_file.lua +81 -0
- data/vendor/lua/lib/lua/logging/socket.lua +35 -0
- data/vendor/lua/lib/lua/logging/sql.lua +64 -0
- data/vendor/lua/lib/lua/loop/base.lua +68 -0
- data/vendor/lua/lib/lua/loop/cached.lua +312 -0
- data/vendor/lua/lib/lua/loop/collection/MapWithArrayOfKeys.lua +64 -0
- data/vendor/lua/lib/lua/loop/collection/ObjectCache.lua +39 -0
- data/vendor/lua/lib/lua/loop/collection/OrderedSet.lua +164 -0
- data/vendor/lua/lib/lua/loop/collection/PriorityQueue.lua +86 -0
- data/vendor/lua/lib/lua/loop/collection/UnorderedArray.lua +32 -0
- data/vendor/lua/lib/lua/loop/collection/UnorderedArraySet.lua +56 -0
- data/vendor/lua/lib/lua/loop/compiler/Arguments.lua +108 -0
- data/vendor/lua/lib/lua/loop/compiler/Conditional.lua +50 -0
- data/vendor/lua/lib/lua/loop/compiler/Expression.lua +215 -0
- data/vendor/lua/lib/lua/loop/component/base.lua +221 -0
- data/vendor/lua/lib/lua/loop/component/contained.lua +71 -0
- data/vendor/lua/lib/lua/loop/component/dynamic.lua +223 -0
- data/vendor/lua/lib/lua/loop/component/intercepted.lua +354 -0
- data/vendor/lua/lib/lua/loop/component/wrapped.lua +195 -0
- data/vendor/lua/lib/lua/loop/debug/Inspector.lua +521 -0
- data/vendor/lua/lib/lua/loop/debug/Matcher.lua +192 -0
- data/vendor/lua/lib/lua/loop/debug/Verbose.lua +266 -0
- data/vendor/lua/lib/lua/loop/debug/Viewer.lua +200 -0
- data/vendor/lua/lib/lua/loop/multiple.lua +105 -0
- data/vendor/lua/lib/lua/loop/object/Exception.lua +57 -0
- data/vendor/lua/lib/lua/loop/object/Publisher.lua +43 -0
- data/vendor/lua/lib/lua/loop/object/Wrapper.lua +39 -0
- data/vendor/lua/lib/lua/loop/scoped.lua +585 -0
- data/vendor/lua/lib/lua/loop/serial/FileStream.lua +48 -0
- data/vendor/lua/lib/lua/loop/serial/Serializer.lua +291 -0
- data/vendor/lua/lib/lua/loop/serial/SocketStream.lua +51 -0
- data/vendor/lua/lib/lua/loop/serial/StringStream.lua +47 -0
- data/vendor/lua/lib/lua/loop/simple.lua +75 -0
- data/vendor/lua/lib/lua/loop/table.lua +71 -0
- data/vendor/lua/lib/lua/loop/thread/CoSocket.lua +416 -0
- data/vendor/lua/lib/lua/loop/thread/IOScheduler.lua +170 -0
- data/vendor/lua/lib/lua/loop/thread/Scheduler.lua +327 -0
- data/vendor/lua/lib/lua/loop/thread/SocketScheduler.lua +88 -0
- data/vendor/lua/lib/lua/loop/thread/Timer.lua +54 -0
- data/vendor/lua/lib/lua/lpeg.dll +0 -0
- data/vendor/lua/lib/lua/ltn12.lua +292 -0
- data/vendor/lua/lib/lua/luaXML_lib.dll +0 -0
- data/vendor/lua/lib/lua/luacurl.dll +0 -0
- data/vendor/lua/lib/lua/luadoc/config.lua +34 -0
- data/vendor/lua/lib/lua/luadoc/doclet/debug.lua +46 -0
- data/vendor/lua/lib/lua/luadoc/doclet/formatter.lua +84 -0
- data/vendor/lua/lib/lua/luadoc/doclet/html.lua +289 -0
- data/vendor/lua/lib/lua/luadoc/doclet/html/file.lp +113 -0
- data/vendor/lua/lib/lua/luadoc/doclet/html/function.lp +64 -0
- data/vendor/lua/lib/lua/luadoc/doclet/html/index.lp +70 -0
- data/vendor/lua/lib/lua/luadoc/doclet/html/luadoc.css +286 -0
- data/vendor/lua/lib/lua/luadoc/doclet/html/menu.lp +55 -0
- data/vendor/lua/lib/lua/luadoc/doclet/html/module.lp +109 -0
- data/vendor/lua/lib/lua/luadoc/doclet/html/table.lp +15 -0
- data/vendor/lua/lib/lua/luadoc/doclet/raw.lua +12 -0
- data/vendor/lua/lib/lua/luadoc/init.lua +58 -0
- data/vendor/lua/lib/lua/luadoc/lp.lua +130 -0
- data/vendor/lua/lib/lua/luadoc/taglet/standard.lua +495 -0
- data/vendor/lua/lib/lua/luadoc/taglet/standard/tags.lua +171 -0
- data/vendor/lua/lib/lua/luadoc/util.lua +233 -0
- data/vendor/lua/lib/lua/luagl.dll +0 -0
- data/vendor/lua/lib/lua/luaglu.dll +0 -0
- data/vendor/lua/lib/lua/luaidl.lua +113 -0
- data/vendor/lua/lib/lua/luaidl/lex.lua +793 -0
- data/vendor/lua/lib/lua/luaidl/pre.lua +149 -0
- data/vendor/lua/lib/lua/luaidl/sin.lua +3631 -0
- data/vendor/lua/lib/lua/luarocks/add.lua +108 -0
- data/vendor/lua/lib/lua/luarocks/admin_remove.lua +87 -0
- data/vendor/lua/lib/lua/luarocks/build.lua +330 -0
- data/vendor/lua/lib/lua/luarocks/build/builtin.lua +253 -0
- data/vendor/lua/lib/lua/luarocks/build/cmake.lua +54 -0
- data/vendor/lua/lib/lua/luarocks/build/command.lua +32 -0
- data/vendor/lua/lib/lua/luarocks/build/make.lua +92 -0
- data/vendor/lua/lib/lua/luarocks/cache.lua +85 -0
- data/vendor/lua/lib/lua/luarocks/cfg.lua +449 -0
- data/vendor/lua/lib/lua/luarocks/command_line.lua +163 -0
- data/vendor/lua/lib/lua/luarocks/deps.lua +654 -0
- data/vendor/lua/lib/lua/luarocks/dir.lua +69 -0
- data/vendor/lua/lib/lua/luarocks/download.lua +90 -0
- data/vendor/lua/lib/lua/luarocks/fetch.lua +321 -0
- data/vendor/lua/lib/lua/luarocks/fetch/cvs.lua +44 -0
- data/vendor/lua/lib/lua/luarocks/fetch/git.lua +81 -0
- data/vendor/lua/lib/lua/luarocks/fetch/git_file.lua +17 -0
- data/vendor/lua/lib/lua/luarocks/fetch/hg.lua +54 -0
- data/vendor/lua/lib/lua/luarocks/fetch/sscm.lua +42 -0
- data/vendor/lua/lib/lua/luarocks/fetch/svn.lua +53 -0
- data/vendor/lua/lib/lua/luarocks/fs.lua +40 -0
- data/vendor/lua/lib/lua/luarocks/fs/lua.lua +676 -0
- data/vendor/lua/lib/lua/luarocks/fs/unix.lua +88 -0
- data/vendor/lua/lib/lua/luarocks/fs/unix/tools.lua +325 -0
- data/vendor/lua/lib/lua/luarocks/fs/win32.lua +107 -0
- data/vendor/lua/lib/lua/luarocks/fs/win32/tools.lua +334 -0
- data/vendor/lua/lib/lua/luarocks/help.lua +101 -0
- data/vendor/lua/lib/lua/luarocks/index.lua +172 -0
- data/vendor/lua/lib/lua/luarocks/install.lua +151 -0
- data/vendor/lua/lib/lua/luarocks/list.lua +35 -0
- data/vendor/lua/lib/lua/luarocks/loader.lua +228 -0
- data/vendor/lua/lib/lua/luarocks/make.lua +71 -0
- data/vendor/lua/lib/lua/luarocks/make_manifest.lua +34 -0
- data/vendor/lua/lib/lua/luarocks/manif.lua +360 -0
- data/vendor/lua/lib/lua/luarocks/manif_core.lua +75 -0
- data/vendor/lua/lib/lua/luarocks/new_version.lua +141 -0
- data/vendor/lua/lib/lua/luarocks/pack.lua +205 -0
- data/vendor/lua/lib/lua/luarocks/path.lua +315 -0
- data/vendor/lua/lib/lua/luarocks/persist.lua +173 -0
- data/vendor/lua/lib/lua/luarocks/refresh_cache.lua +30 -0
- data/vendor/lua/lib/lua/luarocks/remove.lua +135 -0
- data/vendor/lua/lib/lua/luarocks/rep.lua +313 -0
- data/vendor/lua/lib/lua/luarocks/require.lua +6 -0
- data/vendor/lua/lib/lua/luarocks/search.lua +399 -0
- data/vendor/lua/lib/lua/luarocks/show.lua +138 -0
- data/vendor/lua/lib/lua/luarocks/site_config.lua +23 -0
- data/vendor/lua/lib/lua/luarocks/tools/patch.lua +712 -0
- data/vendor/lua/lib/lua/luarocks/tools/tar.lua +144 -0
- data/vendor/lua/lib/lua/luarocks/tools/zip.lua +245 -0
- data/vendor/lua/lib/lua/luarocks/type_check.lua +267 -0
- data/vendor/lua/lib/lua/luarocks/unpack.lua +151 -0
- data/vendor/lua/lib/lua/luarocks/util.lua +420 -0
- data/vendor/lua/lib/lua/luarocks/validate.lua +164 -0
- data/vendor/lua/lib/lua/luars232.dll +0 -0
- data/vendor/lua/lib/lua/luasql/mysql.dll +0 -0
- data/vendor/lua/lib/lua/luasql/postgres.dll +0 -0
- data/vendor/lua/lib/lua/luasql/sqlite3.dll +0 -0
- data/vendor/lua/lib/lua/luaunit.lua +601 -0
- data/vendor/lua/lib/lua/lxp.dll +0 -0
- data/vendor/lua/lib/lua/lxp/lom.lua +60 -0
- data/vendor/lua/lib/lua/math_ext.lua +27 -0
- data/vendor/lua/lib/lua/mbox.lua +53 -0
- data/vendor/lua/lib/lua/md5.lua +19 -0
- data/vendor/lua/lib/lua/md5/core.dll +0 -0
- data/vendor/lua/lib/lua/metalua.lua +0 -0
- data/vendor/lua/lib/lua/metalua/ast_to_string.mlua +553 -0
- data/vendor/lua/lib/lua/metalua/base.lua +104 -0
- data/vendor/lua/lib/lua/metalua/bytecode.lua +0 -0
- data/vendor/lua/lib/lua/metalua/clopts.mlua +204 -0
- data/vendor/lua/lib/lua/metalua/compiler.lua +3 -0
- data/vendor/lua/lib/lua/metalua/dollar.mlua +24 -0
- data/vendor/lua/lib/lua/metalua/extension/H-runtime.mlua +216 -0
- data/vendor/lua/lib/lua/metalua/extension/H.mlua +22 -0
- data/vendor/lua/lib/lua/metalua/extension/anaphoric.mlua +54 -0
- data/vendor/lua/lib/lua/metalua/extension/clist.mlua +149 -0
- data/vendor/lua/lib/lua/metalua/extension/continue.mlua +53 -0
- data/vendor/lua/lib/lua/metalua/extension/localin.mlua +2 -0
- data/vendor/lua/lib/lua/metalua/extension/log.mlua +39 -0
- data/vendor/lua/lib/lua/metalua/extension/match.mlua +374 -0
- data/vendor/lua/lib/lua/metalua/extension/ternary.mlua +10 -0
- data/vendor/lua/lib/lua/metalua/extension/trycatch.mlua +189 -0
- data/vendor/lua/lib/lua/metalua/extension/types-runtime.mlua +159 -0
- data/vendor/lua/lib/lua/metalua/extension/types.mlua +352 -0
- data/vendor/lua/lib/lua/metalua/extension/withdo.mlua +30 -0
- data/vendor/lua/lib/lua/metalua/extension/xglobal-runtime.lua +41 -0
- data/vendor/lua/lib/lua/metalua/extension/xglobal.mlua +20 -0
- data/vendor/lua/lib/lua/metalua/extension/xloop.mlua +100 -0
- data/vendor/lua/lib/lua/metalua/extension/xmatch.mlua +216 -0
- data/vendor/lua/lib/lua/metalua/metaloop.mlua +76 -0
- data/vendor/lua/lib/lua/metalua/mlc.lua +0 -0
- data/vendor/lua/lib/lua/metalua/mlc_xcall.lua +119 -0
- data/vendor/lua/lib/lua/metalua/mlp.lua +0 -0
- data/vendor/lua/lib/lua/metalua/package2.lua +101 -0
- data/vendor/lua/lib/lua/metalua/runtime.lua +3 -0
- data/vendor/lua/lib/lua/metalua/string2.lua +44 -0
- data/vendor/lua/lib/lua/metalua/table2.lua +372 -0
- data/vendor/lua/lib/lua/metalua/walk.mlua +304 -0
- data/vendor/lua/lib/lua/metalua/walk/bindings.mlua +41 -0
- data/vendor/lua/lib/lua/metalua/walk/id.mlua +186 -0
- data/vendor/lua/lib/lua/metalua/walk/scope.lua +54 -0
- data/vendor/lua/lib/lua/mime.lua +87 -0
- data/vendor/lua/lib/lua/mime/core.dll +0 -0
- data/vendor/lua/lib/lua/mobdebug.lua +1484 -0
- data/vendor/lua/lib/lua/modules.lua +16 -0
- data/vendor/lua/lib/lua/object.lua +56 -0
- data/vendor/lua/lib/lua/oil/Exception.lua +26 -0
- data/vendor/lua/lib/lua/oil/arch.lua +27 -0
- data/vendor/lua/lib/lua/oil/arch/basic/client.lua +29 -0
- data/vendor/lua/lib/lua/oil/arch/basic/common.lua +13 -0
- data/vendor/lua/lib/lua/oil/arch/basic/server.lua +27 -0
- data/vendor/lua/lib/lua/oil/arch/cooperative/common.lua +10 -0
- data/vendor/lua/lib/lua/oil/arch/cooperative/server.lua +16 -0
- data/vendor/lua/lib/lua/oil/arch/corba/client.lua +39 -0
- data/vendor/lua/lib/lua/oil/arch/corba/common.lua +58 -0
- data/vendor/lua/lib/lua/oil/arch/corba/intercepted/client.lua +9 -0
- data/vendor/lua/lib/lua/oil/arch/corba/intercepted/server.lua +9 -0
- data/vendor/lua/lib/lua/oil/arch/corba/server.lua +35 -0
- data/vendor/lua/lib/lua/oil/arch/ludo/byref.lua +18 -0
- data/vendor/lua/lib/lua/oil/arch/ludo/client.lua +19 -0
- data/vendor/lua/lib/lua/oil/arch/ludo/common.lua +18 -0
- data/vendor/lua/lib/lua/oil/arch/ludo/server.lua +19 -0
- data/vendor/lua/lib/lua/oil/arch/typed/client.lua +27 -0
- data/vendor/lua/lib/lua/oil/arch/typed/common.lua +9 -0
- data/vendor/lua/lib/lua/oil/arch/typed/server.lua +18 -0
- data/vendor/lua/lib/lua/oil/assert.lua +87 -0
- data/vendor/lua/lib/lua/oil/builder.lua +45 -0
- data/vendor/lua/lib/lua/oil/builder/basic/client.lua +31 -0
- data/vendor/lua/lib/lua/oil/builder/basic/common.lua +11 -0
- data/vendor/lua/lib/lua/oil/builder/basic/server.lua +13 -0
- data/vendor/lua/lib/lua/oil/builder/cooperative/common.lua +11 -0
- data/vendor/lua/lib/lua/oil/builder/cooperative/server.lua +11 -0
- data/vendor/lua/lib/lua/oil/builder/corba/client.lua +13 -0
- data/vendor/lua/lib/lua/oil/builder/corba/common.lua +24 -0
- data/vendor/lua/lib/lua/oil/builder/corba/gencode.lua +13 -0
- data/vendor/lua/lib/lua/oil/builder/corba/intercepted/client.lua +11 -0
- data/vendor/lua/lib/lua/oil/builder/corba/intercepted/server.lua +11 -0
- data/vendor/lua/lib/lua/oil/builder/corba/server.lua +13 -0
- data/vendor/lua/lib/lua/oil/builder/lua/client.lua +11 -0
- data/vendor/lua/lib/lua/oil/builder/lua/server.lua +12 -0
- data/vendor/lua/lib/lua/oil/builder/ludo/byref.lua +13 -0
- data/vendor/lua/lib/lua/oil/builder/ludo/client.lua +13 -0
- data/vendor/lua/lib/lua/oil/builder/ludo/common.lua +14 -0
- data/vendor/lua/lib/lua/oil/builder/ludo/server.lua +13 -0
- data/vendor/lua/lib/lua/oil/builder/typed/client.lua +16 -0
- data/vendor/lua/lib/lua/oil/builder/typed/server.lua +12 -0
- data/vendor/lua/lib/lua/oil/compat.lua +846 -0
- data/vendor/lua/lib/lua/oil/component.lua +1 -0
- data/vendor/lua/lib/lua/oil/corba/giop.lua +301 -0
- data/vendor/lua/lib/lua/oil/corba/giop/Codec.lua +1568 -0
- data/vendor/lua/lib/lua/oil/corba/giop/CodecGen.lua +589 -0
- data/vendor/lua/lib/lua/oil/corba/giop/Exception.lua +25 -0
- data/vendor/lua/lib/lua/oil/corba/giop/Indexer.lua +63 -0
- data/vendor/lua/lib/lua/oil/corba/giop/Listener.lua +343 -0
- data/vendor/lua/lib/lua/oil/corba/giop/Messenger.lua +228 -0
- data/vendor/lua/lib/lua/oil/corba/giop/Referrer.lua +180 -0
- data/vendor/lua/lib/lua/oil/corba/giop/Requester.lua +462 -0
- data/vendor/lua/lib/lua/oil/corba/idl.lua +597 -0
- data/vendor/lua/lib/lua/oil/corba/idl/Compiler.lua +133 -0
- data/vendor/lua/lib/lua/oil/corba/idl/Importer.lua +235 -0
- data/vendor/lua/lib/lua/oil/corba/idl/Indexer.lua +95 -0
- data/vendor/lua/lib/lua/oil/corba/idl/Registry.lua +1821 -0
- data/vendor/lua/lib/lua/oil/corba/idl/ir.lua +847 -0
- data/vendor/lua/lib/lua/oil/corba/idl/sysex.lua +21 -0
- data/vendor/lua/lib/lua/oil/corba/iiop/Profiler.lua +200 -0
- data/vendor/lua/lib/lua/oil/corba/intercepted/Listener.lua +158 -0
- data/vendor/lua/lib/lua/oil/corba/intercepted/Requester.lua +181 -0
- data/vendor/lua/lib/lua/oil/corba/services/event.lua +126 -0
- data/vendor/lua/lib/lua/oil/corba/services/event/ConsumerAdmin.lua +50 -0
- data/vendor/lua/lib/lua/oil/corba/services/event/EventFactory.lua +15 -0
- data/vendor/lua/lib/lua/oil/corba/services/event/EventQueue.lua +37 -0
- data/vendor/lua/lib/lua/oil/corba/services/event/ProxyPushConsumer.lua +75 -0
- data/vendor/lua/lib/lua/oil/corba/services/event/ProxyPushSupplier.lua +62 -0
- data/vendor/lua/lib/lua/oil/corba/services/event/SingleDeferredDispatcher.lua +60 -0
- data/vendor/lua/lib/lua/oil/corba/services/event/SingleSynchronousDispatcher.lua +39 -0
- data/vendor/lua/lib/lua/oil/corba/services/event/SupplierAdmin.lua +50 -0
- data/vendor/lua/lib/lua/oil/corba/services/naming.lua +436 -0
- data/vendor/lua/lib/lua/oil/kernel/base/Acceptor.lua +268 -0
- data/vendor/lua/lib/lua/oil/kernel/base/Channels.lua +121 -0
- data/vendor/lua/lib/lua/oil/kernel/base/Connector.lua +147 -0
- data/vendor/lua/lib/lua/oil/kernel/base/Dispatcher.lua +99 -0
- data/vendor/lua/lib/lua/oil/kernel/base/Proxies.lua +86 -0
- data/vendor/lua/lib/lua/oil/kernel/base/Proxies/asynchronous.lua +56 -0
- data/vendor/lua/lib/lua/oil/kernel/base/Proxies/protected.lua +17 -0
- data/vendor/lua/lib/lua/oil/kernel/base/Proxies/synchronous.lua +17 -0
- data/vendor/lua/lib/lua/oil/kernel/base/Proxies/utils.lua +29 -0
- data/vendor/lua/lib/lua/oil/kernel/base/Receiver.lua +110 -0
- data/vendor/lua/lib/lua/oil/kernel/base/Servants.lua +207 -0
- data/vendor/lua/lib/lua/oil/kernel/base/Sockets.lua +44 -0
- data/vendor/lua/lib/lua/oil/kernel/cooperative/Receiver.lua +139 -0
- data/vendor/lua/lib/lua/oil/kernel/intercepted/Listener.lua +47 -0
- data/vendor/lua/lib/lua/oil/kernel/intercepted/Requester.lua +58 -0
- data/vendor/lua/lib/lua/oil/kernel/lua/Dispatcher.lua +76 -0
- data/vendor/lua/lib/lua/oil/kernel/lua/Proxies.lua +69 -0
- data/vendor/lua/lib/lua/oil/kernel/typed/Dispatcher.lua +91 -0
- data/vendor/lua/lib/lua/oil/kernel/typed/Proxies.lua +153 -0
- data/vendor/lua/lib/lua/oil/kernel/typed/Servants.lua +137 -0
- data/vendor/lua/lib/lua/oil/ludo/Codec.lua +66 -0
- data/vendor/lua/lib/lua/oil/ludo/CodecByRef.lua +103 -0
- data/vendor/lua/lib/lua/oil/ludo/Listener.lua +151 -0
- data/vendor/lua/lib/lua/oil/ludo/Referrer.lua +72 -0
- data/vendor/lua/lib/lua/oil/ludo/Requester.lua +107 -0
- data/vendor/lua/lib/lua/oil/oo.lua +1 -0
- data/vendor/lua/lib/lua/oil/port.lua +1 -0
- data/vendor/lua/lib/lua/oil/properties.lua +57 -0
- data/vendor/lua/lib/lua/oil/verbose.lua +133 -0
- data/vendor/lua/lib/lua/package_ext.lua +15 -0
- data/vendor/lua/lib/lua/parser.lua +268 -0
- data/vendor/lua/lib/lua/pl/Date.lua +555 -0
- data/vendor/lua/lib/lua/pl/List.lua +613 -0
- data/vendor/lua/lib/lua/pl/Map.lua +113 -0
- data/vendor/lua/lib/lua/pl/MultiMap.lua +62 -0
- data/vendor/lua/lib/lua/pl/OrderedMap.lua +151 -0
- data/vendor/lua/lib/lua/pl/Set.lua +153 -0
- data/vendor/lua/lib/lua/pl/app.lua +165 -0
- data/vendor/lua/lib/lua/pl/array2d.lua +501 -0
- data/vendor/lua/lib/lua/pl/class.lua +180 -0
- data/vendor/lua/lib/lua/pl/comprehension.lua +286 -0
- data/vendor/lua/lib/lua/pl/config.lua +176 -0
- data/vendor/lua/lib/lua/pl/data.lua +606 -0
- data/vendor/lua/lib/lua/pl/dir.lua +475 -0
- data/vendor/lua/lib/lua/pl/file.lua +70 -0
- data/vendor/lua/lib/lua/pl/func.lua +376 -0
- data/vendor/lua/lib/lua/pl/init.lua +68 -0
- data/vendor/lua/lib/lua/pl/input.lua +173 -0
- data/vendor/lua/lib/lua/pl/lapp.lua +407 -0
- data/vendor/lua/lib/lua/pl/lexer.lua +456 -0
- data/vendor/lua/lib/lua/pl/luabalanced.lua +264 -0
- data/vendor/lua/lib/lua/pl/operator.lua +201 -0
- data/vendor/lua/lib/lua/pl/path.lua +398 -0
- data/vendor/lua/lib/lua/pl/permute.lua +63 -0
- data/vendor/lua/lib/lua/pl/platf/luajava.lua +101 -0
- data/vendor/lua/lib/lua/pl/pretty.lua +285 -0
- data/vendor/lua/lib/lua/pl/seq.lua +551 -0
- data/vendor/lua/lib/lua/pl/sip.lua +344 -0
- data/vendor/lua/lib/lua/pl/strict.lua +70 -0
- data/vendor/lua/lib/lua/pl/stringio.lua +158 -0
- data/vendor/lua/lib/lua/pl/stringx.lua +440 -0
- data/vendor/lua/lib/lua/pl/tablex.lua +817 -0
- data/vendor/lua/lib/lua/pl/template.lua +103 -0
- data/vendor/lua/lib/lua/pl/test.lua +135 -0
- data/vendor/lua/lib/lua/pl/text.lua +243 -0
- data/vendor/lua/lib/lua/pl/utils.lua +550 -0
- data/vendor/lua/lib/lua/pl/xml.lua +689 -0
- data/vendor/lua/lib/lua/profiler.dll +0 -0
- data/vendor/lua/lib/lua/re.lua +248 -0
- data/vendor/lua/lib/lua/rex_onig.dll +0 -0
- data/vendor/lua/lib/lua/rex_pcre.dll +0 -0
- data/vendor/lua/lib/lua/rex_posix.dll +0 -0
- data/vendor/lua/lib/lua/rings.dll +0 -0
- data/vendor/lua/lib/lua/serialize.lua +193 -0
- data/vendor/lua/lib/lua/set.lua +149 -0
- data/vendor/lua/lib/lua/socket.lua +133 -0
- data/vendor/lua/lib/lua/socket/core.dll +0 -0
- data/vendor/lua/lib/lua/socket/ftp.lua +281 -0
- data/vendor/lua/lib/lua/socket/http.lua +350 -0
- data/vendor/lua/lib/lua/socket/smtp.lua +251 -0
- data/vendor/lua/lib/lua/socket/tp.lua +123 -0
- data/vendor/lua/lib/lua/socket/url.lua +297 -0
- data/vendor/lua/lib/lua/ssl.dll +0 -0
- data/vendor/lua/lib/lua/ssl.lua +93 -0
- data/vendor/lua/lib/lua/ssl/https.lua +138 -0
- data/vendor/lua/lib/lua/stable.lua +28 -0
- data/vendor/lua/lib/lua/std.lua +16 -0
- data/vendor/lua/lib/lua/strbuf.lua +32 -0
- data/vendor/lua/lib/lua/strict.lua +45 -0
- data/vendor/lua/lib/lua/string_ext.lua +274 -0
- data/vendor/lua/lib/lua/table_ext.lua +117 -0
- data/vendor/lua/lib/lua/tar.lua +262 -0
- data/vendor/lua/lib/lua/task.dll +0 -0
- data/vendor/lua/lib/lua/tree.lua +81 -0
- data/vendor/lua/lib/lua/unicode.dll +0 -0
- data/vendor/lua/lib/lua/verbose_require.lua +11 -0
- data/vendor/lua/lib/lua/vstruct.lua +86 -0
- data/vendor/lua/lib/lua/vstruct/ast.lua +192 -0
- data/vendor/lua/lib/lua/vstruct/ast/Bitpack.lua +33 -0
- data/vendor/lua/lib/lua/vstruct/ast/Generator.lua +174 -0
- data/vendor/lua/lib/lua/vstruct/ast/IO.lua +45 -0
- data/vendor/lua/lib/lua/vstruct/ast/List.lua +56 -0
- data/vendor/lua/lib/lua/vstruct/ast/Name.lua +20 -0
- data/vendor/lua/lib/lua/vstruct/ast/Repeat.lua +23 -0
- data/vendor/lua/lib/lua/vstruct/ast/Root.lua +19 -0
- data/vendor/lua/lib/lua/vstruct/ast/Table.lua +65 -0
- data/vendor/lua/lib/lua/vstruct/cursor.lua +81 -0
- data/vendor/lua/lib/lua/vstruct/io.lua +45 -0
- data/vendor/lua/lib/lua/vstruct/io/a.lua +24 -0
- data/vendor/lua/lib/lua/vstruct/io/b.lua +28 -0
- data/vendor/lua/lib/lua/vstruct/io/bigendian.lua +21 -0
- data/vendor/lua/lib/lua/vstruct/io/c.lua +25 -0
- data/vendor/lua/lib/lua/vstruct/io/defaults.lua +24 -0
- data/vendor/lua/lib/lua/vstruct/io/endianness.lua +41 -0
- data/vendor/lua/lib/lua/vstruct/io/f.lua +129 -0
- data/vendor/lua/lib/lua/vstruct/io/hostendian.lua +21 -0
- data/vendor/lua/lib/lua/vstruct/io/i.lua +42 -0
- data/vendor/lua/lib/lua/vstruct/io/littleendian.lua +21 -0
- data/vendor/lua/lib/lua/vstruct/io/m.lua +62 -0
- data/vendor/lua/lib/lua/vstruct/io/p.lua +23 -0
- data/vendor/lua/lib/lua/vstruct/io/s.lua +27 -0
- data/vendor/lua/lib/lua/vstruct/io/seekb.lua +18 -0
- data/vendor/lua/lib/lua/vstruct/io/seekf.lua +18 -0
- data/vendor/lua/lib/lua/vstruct/io/seekto.lua +18 -0
- data/vendor/lua/lib/lua/vstruct/io/u.lua +54 -0
- data/vendor/lua/lib/lua/vstruct/io/x.lua +34 -0
- data/vendor/lua/lib/lua/vstruct/io/z.lua +63 -0
- data/vendor/lua/lib/lua/vstruct/lexer.lua +100 -0
- data/vendor/lua/lib/lua/vstruct/pack.lua +142 -0
- data/vendor/lua/lib/lua/vstruct/test.lua +47 -0
- data/vendor/lua/lib/lua/vstruct/test/basic.lua +73 -0
- data/vendor/lua/lib/lua/vstruct/test/common.lua +100 -0
- data/vendor/lua/lib/lua/vstruct/test/fp-bigendian.lua +56 -0
- data/vendor/lua/lib/lua/vstruct/test/fp-littleendian.lua +56 -0
- data/vendor/lua/lib/lua/vstruct/test/struct-test-gen.lua +1230 -0
- data/vendor/lua/lib/lua/vstruct/unpack.lua +126 -0
- data/vendor/lua/lib/lua/wx.dll +0 -0
- data/vendor/lua/lib/lua/xml.lua +75 -0
- data/vendor/lua/lib/lua/zip.dll +0 -0
- data/vendor/lua/lib/lua/zlib.dll +0 -0
- metadata +529 -0
@@ -0,0 +1,847 @@
|
|
1
|
+
local setfenv = setfenv
|
2
|
+
|
3
|
+
local idl = require "oil.corba.idl" --[[VERBOSE]] local verbose = require "oil.verbose"
|
4
|
+
|
5
|
+
module "oil.corba.idl.ir"
|
6
|
+
|
7
|
+
--------------------------------------------------------------------------------
|
8
|
+
--------------------------------------------------------------------------------
|
9
|
+
|
10
|
+
local short = idl.short
|
11
|
+
local ushort = idl.ushort
|
12
|
+
local long = idl.long
|
13
|
+
local ulong = idl.ulong
|
14
|
+
local boolean = idl.boolean
|
15
|
+
local string = idl.string
|
16
|
+
local TypeCode = idl.TypeCode
|
17
|
+
local any = idl.any
|
18
|
+
local enum = idl.enum
|
19
|
+
local typedef = idl.typedef
|
20
|
+
local struct = idl.struct
|
21
|
+
local sequence = idl.sequence
|
22
|
+
local module = idl.module
|
23
|
+
local interface = idl.interface
|
24
|
+
local attribute = idl.attribute
|
25
|
+
local operation = idl.operation
|
26
|
+
|
27
|
+
--------------------------------------------------------------------------------
|
28
|
+
--------------------------------------------------------------------------------
|
29
|
+
|
30
|
+
name = "CORBA"
|
31
|
+
repID = "IDL:omg.org/CORBA:1.0"
|
32
|
+
module(_M)
|
33
|
+
|
34
|
+
setfenv(1, definitions)
|
35
|
+
|
36
|
+
--------------------------------------------------------------------------------
|
37
|
+
--------------------------------------------------------------------------------
|
38
|
+
|
39
|
+
Identifier = typedef{string}
|
40
|
+
ScopedName = typedef{string}
|
41
|
+
RepositoryId = typedef{string}
|
42
|
+
|
43
|
+
DefinitionKind = enum{
|
44
|
+
"dk_none",
|
45
|
+
"dk_all",
|
46
|
+
"dk_Attribute", "dk_Constant", "dk_Exception", "dk_Interface",
|
47
|
+
"dk_Module", "dk_Operation", "dk_Typedef",
|
48
|
+
"dk_Alias", "dk_Struct", "dk_Union", "dk_Enum",
|
49
|
+
"dk_Primitive", "dk_String", "dk_Sequence", "dk_Array",
|
50
|
+
"dk_Repository",
|
51
|
+
"dk_Wstring", "dk_Fixed",
|
52
|
+
"dk_Value", "dk_ValueBox", "dk_ValueMember",
|
53
|
+
"dk_Native",
|
54
|
+
"dk_AbstractInterface",
|
55
|
+
"dk_LocalInterface",
|
56
|
+
"dk_Component", "dk_Home",
|
57
|
+
"dk_Factory", "dk_Finder",
|
58
|
+
"dk_Emits", "dk_Publishes", "dk_Consumes",
|
59
|
+
"dk_Provides", "dk_Uses",
|
60
|
+
"dk_Event"
|
61
|
+
}
|
62
|
+
|
63
|
+
IRObject = interface{
|
64
|
+
definitions = {
|
65
|
+
-- read interface
|
66
|
+
def_kind = attribute{ DefinitionKind, readonly = true },
|
67
|
+
-- write interface
|
68
|
+
destroy = operation{},
|
69
|
+
},
|
70
|
+
}
|
71
|
+
|
72
|
+
VersionSpec = typedef{string}
|
73
|
+
|
74
|
+
Contained = interface{}
|
75
|
+
Repository = interface{}
|
76
|
+
Container = interface{}
|
77
|
+
|
78
|
+
Contained.base_interfaces = { IRObject }
|
79
|
+
|
80
|
+
-- read/write interface
|
81
|
+
|
82
|
+
Contained.definitions.id = attribute{ RepositoryId }
|
83
|
+
Contained.definitions.name = attribute{ Identifier }
|
84
|
+
Contained.definitions.version = attribute{ VersionSpec }
|
85
|
+
|
86
|
+
-- read interface
|
87
|
+
|
88
|
+
Contained.definitions.defined_in = attribute{ Container , readonly=true }
|
89
|
+
Contained.definitions.absolute_name = attribute{ ScopedName, readonly=true }
|
90
|
+
Contained.definitions.containing_repository = attribute{ Repository, readonly=true }
|
91
|
+
|
92
|
+
Contained.definitions.Description = struct{
|
93
|
+
{ type = DefinitionKind, name = "kind" },
|
94
|
+
{ type = any , name = "value" },
|
95
|
+
}
|
96
|
+
|
97
|
+
Contained.definitions.describe = operation{ result = Contained.definitions.Description }
|
98
|
+
|
99
|
+
-- write interface
|
100
|
+
|
101
|
+
Contained.definitions.move = operation{
|
102
|
+
parameters = {
|
103
|
+
{ type = Container , name = "new_container" },
|
104
|
+
{ type = Identifier , name = "new_name" },
|
105
|
+
{ type = VersionSpec, name = "new_version" },
|
106
|
+
},
|
107
|
+
}
|
108
|
+
|
109
|
+
ModuleDef = interface{}
|
110
|
+
ConstantDef = interface{}
|
111
|
+
IDLType = interface{}
|
112
|
+
StructDef = interface{}
|
113
|
+
UnionDef = interface{}
|
114
|
+
EnumDef = interface{}
|
115
|
+
AliasDef = interface{}
|
116
|
+
InterfaceDef = interface{}
|
117
|
+
ExceptionDef = interface{}
|
118
|
+
NativeDef = interface{}
|
119
|
+
ValueDef = interface{}
|
120
|
+
ValueBoxDef = interface{}
|
121
|
+
AbstractInterfaceDef = interface{}
|
122
|
+
LocalInterfaceDef = interface{}
|
123
|
+
ExtInterfaceDef = interface{}
|
124
|
+
ExtValueDef = interface{}
|
125
|
+
ExtAbstractInterfaceDef = interface{}
|
126
|
+
ExtLocalInterfaceDef = interface{}
|
127
|
+
|
128
|
+
InterfaceDefSeq = typedef{ sequence{InterfaceDef } }
|
129
|
+
ValueDefSeq = typedef{ sequence{ValueDef } }
|
130
|
+
AbstractInterfaceDefSeq = typedef{ sequence{AbstractInterfaceDef } }
|
131
|
+
LocalInterfaceDefSeq = typedef{ sequence{LocalInterfaceDef } }
|
132
|
+
ExtInterfaceDefSeq = typedef{ sequence{ExtInterfaceDef } }
|
133
|
+
ExtValueDefSeq = typedef{ sequence{ExtValueDef } }
|
134
|
+
ExtAbstractInterfaceDefSeq = typedef{ sequence{ExtAbstractInterfaceDef} }
|
135
|
+
ExtLocalInterfaceDefSeq = typedef{ sequence{ExtLocalInterfaceDef } }
|
136
|
+
|
137
|
+
StructMember = struct{
|
138
|
+
{ type = Identifier, name = "name" },
|
139
|
+
{ type = TypeCode , name = "type" },
|
140
|
+
{ type = IDLType , name = "type_def" },
|
141
|
+
}
|
142
|
+
StructMemberSeq = typedef{ sequence{StructMember} }
|
143
|
+
|
144
|
+
ContainedSeq = typedef{ sequence{Contained} }
|
145
|
+
|
146
|
+
Initializer = struct{
|
147
|
+
{ type = StructMemberSeq, name = "members" },
|
148
|
+
{ type = Identifier , name = "name" },
|
149
|
+
}
|
150
|
+
InitializerSeq = typedef{ sequence{Initializer} }
|
151
|
+
|
152
|
+
ExceptionDescription = struct{
|
153
|
+
{ type = Identifier , name = "name" },
|
154
|
+
{ type = RepositoryId, name = "id" },
|
155
|
+
{ type = RepositoryId, name = "defined_in" },
|
156
|
+
{ type = VersionSpec , name = "version" },
|
157
|
+
{ type = TypeCode , name = "type" },
|
158
|
+
}
|
159
|
+
ExcDescriptionSeq = typedef{ sequence{ExceptionDescription} }
|
160
|
+
|
161
|
+
ExtInitializer = struct{
|
162
|
+
{ type = StructMemberSeq , name = "members" },
|
163
|
+
{ type = ExcDescriptionSeq, name = "exceptions" },
|
164
|
+
{ type = Identifier , name = "name" },
|
165
|
+
}
|
166
|
+
ExtInitializerSeq = typedef{ sequence{ExtInitializer} }
|
167
|
+
|
168
|
+
UnionMember = struct{
|
169
|
+
{ type = Identifier, name = "name" },
|
170
|
+
{ type = any , name = "label" },
|
171
|
+
{ type = TypeCode , name = "type" },
|
172
|
+
{ type = IDLType , name = "type_def" },
|
173
|
+
}
|
174
|
+
UnionMemberSeq = typedef{ sequence{UnionMember} }
|
175
|
+
|
176
|
+
EnumMemberSeq = typedef{ sequence{Identifier} }
|
177
|
+
|
178
|
+
Container.base_interfaces = { IRObject }
|
179
|
+
|
180
|
+
-- read interface
|
181
|
+
|
182
|
+
Container.definitions.lookup = operation{
|
183
|
+
result = Contained,
|
184
|
+
parameters = {{ type = ScopedName, name = "search_name" }},
|
185
|
+
}
|
186
|
+
|
187
|
+
Container.definitions.contents = operation{
|
188
|
+
result = ContainedSeq,
|
189
|
+
parameters = {
|
190
|
+
{ type = DefinitionKind, name = "limit_type" },
|
191
|
+
{ type = boolean , name = "exclude_inherited" },
|
192
|
+
},
|
193
|
+
}
|
194
|
+
|
195
|
+
Container.definitions.lookup_name = operation{
|
196
|
+
result = ContainedSeq,
|
197
|
+
parameters = {
|
198
|
+
{ type = Identifier , name = "search_name" },
|
199
|
+
{ type = long , name = "levels_to_search" },
|
200
|
+
{ type = DefinitionKind, name = "limit_type" },
|
201
|
+
{ type = boolean , name = "exclude_inherited" },
|
202
|
+
},
|
203
|
+
}
|
204
|
+
|
205
|
+
Container.definitions.Description = struct{
|
206
|
+
{ type = Contained , name = "contained_object" },
|
207
|
+
{ type = DefinitionKind, name = "kind" },
|
208
|
+
{ type = any , name = "value" },
|
209
|
+
}
|
210
|
+
|
211
|
+
Container.definitions.DescriptionSeq = typedef{ sequence{Container.definitions.Description} }
|
212
|
+
Container.definitions.describe_contents = operation{
|
213
|
+
result = Container.definitions.DescriptionSeq,
|
214
|
+
parameters = {
|
215
|
+
{ type = DefinitionKind, name = "limit_type" },
|
216
|
+
{ type = boolean , name = "exclude_inherited" },
|
217
|
+
{ type = long , name = "max_returned_objs" },
|
218
|
+
},
|
219
|
+
}
|
220
|
+
|
221
|
+
-- write interface
|
222
|
+
|
223
|
+
Container.definitions.create_module = operation {
|
224
|
+
result = ModuleDef,
|
225
|
+
parameters = {
|
226
|
+
{ type = RepositoryId, name = "id" },
|
227
|
+
{ type = Identifier, name = "name" },
|
228
|
+
{ type = VersionSpec, name = "version" },
|
229
|
+
},
|
230
|
+
}
|
231
|
+
Container.definitions.create_constant = operation {
|
232
|
+
result = ConstantDef,
|
233
|
+
parameters = {
|
234
|
+
{ type = RepositoryId, name = "id" },
|
235
|
+
{ type = Identifier, name = "name" },
|
236
|
+
{ type = VersionSpec, name = "version" },
|
237
|
+
{ type = IDLType, name = "type" },
|
238
|
+
{ type = any, name = "value" },
|
239
|
+
},
|
240
|
+
}
|
241
|
+
Container.definitions.create_struct = operation {
|
242
|
+
result = StructDef,
|
243
|
+
parameters = {
|
244
|
+
{ type = RepositoryId, name = "id" },
|
245
|
+
{ type = Identifier, name = "name" },
|
246
|
+
{ type = VersionSpec, name = "version" },
|
247
|
+
{ type = StructMemberSeq, name = "members" },
|
248
|
+
},
|
249
|
+
}
|
250
|
+
Container.definitions.create_union = operation {
|
251
|
+
result = UnionDef,
|
252
|
+
parameters = {
|
253
|
+
{ type = RepositoryId, name = "id" },
|
254
|
+
{ type = Identifier, name = "name" },
|
255
|
+
{ type = VersionSpec, name = "version" },
|
256
|
+
{ type = IDLType, name = "discriminator_type" },
|
257
|
+
{ type = UnionMemberSeq, name = "members" },
|
258
|
+
},
|
259
|
+
}
|
260
|
+
Container.definitions.create_enum = operation {
|
261
|
+
result = EnumDef,
|
262
|
+
parameters = {
|
263
|
+
{ type = RepositoryId, name = "id" },
|
264
|
+
{ type = Identifier, name = "name" },
|
265
|
+
{ type = VersionSpec, name = "version" },
|
266
|
+
{ type = EnumMemberSeq, name = "members" },
|
267
|
+
},
|
268
|
+
}
|
269
|
+
Container.definitions.create_alias = operation {
|
270
|
+
result = AliasDef,
|
271
|
+
parameters = {
|
272
|
+
{ type = RepositoryId, name = "id" },
|
273
|
+
{ type = Identifier, name = "name" },
|
274
|
+
{ type = VersionSpec, name = "version" },
|
275
|
+
{ type = IDLType, name = "original_type" },
|
276
|
+
},
|
277
|
+
}
|
278
|
+
Container.definitions.create_interface = operation {
|
279
|
+
result = InterfaceDef,
|
280
|
+
parameters = {
|
281
|
+
{ type = RepositoryId, name = "id" },
|
282
|
+
{ type = Identifier, name = "name" },
|
283
|
+
{ type = VersionSpec, name = "version" },
|
284
|
+
{ type = InterfaceDefSeq, name = "base_interfaces" },
|
285
|
+
},
|
286
|
+
}
|
287
|
+
Container.definitions.create_value = operation{
|
288
|
+
result = ValueDef,
|
289
|
+
parameters = {
|
290
|
+
{ type = RepositoryId, name = "id" },
|
291
|
+
{ type = Identifier, name = "name" },
|
292
|
+
{ type = VersionSpec, name = "version" },
|
293
|
+
{ type = boolean, name = "is_custom" },
|
294
|
+
{ type = boolean, name = "is_abstract" },
|
295
|
+
{ type = ValueDef, name = "base_value" },
|
296
|
+
{ type = boolean, name = "is_truncatable" },
|
297
|
+
{ type = ValueDefSeq, name = "abstract_base_values" },
|
298
|
+
{ type = InterfaceDefSeq, name = "supported_interfaces" },
|
299
|
+
{ type = InitializerSeq, name = "initializers" },
|
300
|
+
},
|
301
|
+
}
|
302
|
+
Container.definitions.create_value_box = operation{
|
303
|
+
result = ValueBoxDef,
|
304
|
+
parameters = {
|
305
|
+
{ type = RepositoryId, name = "id" },
|
306
|
+
{ type = Identifier, name = "name" },
|
307
|
+
{ type = VersionSpec, name = "version" },
|
308
|
+
{ type = IDLType, name = "original_type_def" },
|
309
|
+
},
|
310
|
+
}
|
311
|
+
Container.definitions.create_exception = operation{
|
312
|
+
result = ExceptionDef,
|
313
|
+
parameters = {
|
314
|
+
{ type = RepositoryId, name = "id" },
|
315
|
+
{ type = Identifier, name = "name" },
|
316
|
+
{ type = VersionSpec, name = "version" },
|
317
|
+
{ type = StructMemberSeq, name = "members" },
|
318
|
+
},
|
319
|
+
}
|
320
|
+
Container.definitions.create_native = operation{
|
321
|
+
result = NativeDef,
|
322
|
+
parameters = {
|
323
|
+
{ type = RepositoryId, name = "id" },
|
324
|
+
{ type = Identifier, name = "name" },
|
325
|
+
{ type = VersionSpec, name = "version" },
|
326
|
+
},
|
327
|
+
}
|
328
|
+
Container.definitions.create_abstract_interface = operation {
|
329
|
+
result = AbstractInterfaceDef,
|
330
|
+
parameters = {
|
331
|
+
{ type = RepositoryId, name = "id" },
|
332
|
+
{ type = Identifier, name = "name" },
|
333
|
+
{ type = VersionSpec, name = "version" },
|
334
|
+
{ type = AbstractInterfaceDefSeq, name = "base_interfaces" },
|
335
|
+
},
|
336
|
+
}
|
337
|
+
Container.definitions.create_local_interface = operation {
|
338
|
+
result = LocalInterfaceDef,
|
339
|
+
parameters = {
|
340
|
+
{ type = RepositoryId, name = "id" },
|
341
|
+
{ type = Identifier, name = "name" },
|
342
|
+
{ type = VersionSpec, name = "version" },
|
343
|
+
{ type = InterfaceDefSeq, name = "base_interfaces" },
|
344
|
+
},
|
345
|
+
}
|
346
|
+
Container.definitions.create_ext_value = operation {
|
347
|
+
result = ExtValueDef,
|
348
|
+
parameters = {
|
349
|
+
{ type = RepositoryId, name = "id" },
|
350
|
+
{ type = Identifier, name = "name" },
|
351
|
+
{ type = VersionSpec, name = "version" },
|
352
|
+
{ type = boolean, name = "is_custom" },
|
353
|
+
{ type = boolean, name = "is_abstract" },
|
354
|
+
{ type = ValueDef, name = "base_value" },
|
355
|
+
{ type = boolean, name = "is_truncatable" },
|
356
|
+
{ type = ValueDefSeq, name = "abstract_base_values" },
|
357
|
+
{ type = InterfaceDefSeq, name = "supported_interfaces" },
|
358
|
+
{ type = ExtInitializerSeq, name = "initializers" },
|
359
|
+
},
|
360
|
+
}
|
361
|
+
|
362
|
+
IDLType.base_interfaces = { IRObject }
|
363
|
+
IDLType.definitions.type = attribute{ TypeCode, readonly = true }
|
364
|
+
|
365
|
+
PrimitiveDef = interface{}
|
366
|
+
StringDef = interface{}
|
367
|
+
SequenceDef = interface{}
|
368
|
+
ArrayDef = interface{}
|
369
|
+
WstringDef = interface{}
|
370
|
+
FixedDef = interface{}
|
371
|
+
|
372
|
+
PrimitiveKind = enum{
|
373
|
+
"pk_null", "pk_void", "pk_short", "pk_long", "pk_ushort", "pk_ulong",
|
374
|
+
"pk_float", "pk_double", "pk_boolean", "pk_char", "pk_octet",
|
375
|
+
"pk_any", "pk_TypeCode", "pk_Principal", "pk_string", "pk_objref",
|
376
|
+
"pk_longlong", "pk_ulonglong", "pk_longdouble",
|
377
|
+
"pk_wchar", "pk_wstring", "pk_value_base"
|
378
|
+
}
|
379
|
+
|
380
|
+
Repository.base_interfaces = { Container }
|
381
|
+
|
382
|
+
-- read interface
|
383
|
+
|
384
|
+
Repository.definitions.lookup_id = operation{
|
385
|
+
result = Contained,
|
386
|
+
parameters = {{ type = RepositoryId , name = "search_id" }},
|
387
|
+
}
|
388
|
+
Repository.definitions.get_canonical_typecode = operation{
|
389
|
+
result = TypeCode,
|
390
|
+
parameters = {{ type = TypeCode, name = "tc" }},
|
391
|
+
}
|
392
|
+
Repository.definitions.get_primitive = operation{
|
393
|
+
result = PrimitiveDef,
|
394
|
+
parameters = {{ type = PrimitiveKind, name = "kind" }},
|
395
|
+
}
|
396
|
+
|
397
|
+
-- write interface
|
398
|
+
|
399
|
+
Repository.definitions.create_string = operation{
|
400
|
+
result = StringDef,
|
401
|
+
parameters = {{ type = ulong, name = "bound" }},
|
402
|
+
}
|
403
|
+
Repository.definitions.create_wstring = operation{
|
404
|
+
result = WstringDef,
|
405
|
+
parameters = {{ type = ulong, name = "bound" }},
|
406
|
+
}
|
407
|
+
Repository.definitions.create_sequence = operation{
|
408
|
+
result = SequenceDef,
|
409
|
+
parameters = {
|
410
|
+
{ type = ulong, name = "bound" },
|
411
|
+
{ type = IDLType, name = "element_type" },
|
412
|
+
},
|
413
|
+
}
|
414
|
+
Repository.definitions.create_array = operation{
|
415
|
+
result = ArrayDef,
|
416
|
+
parameters = {
|
417
|
+
{ type = ulong, name = "length" },
|
418
|
+
{ type = IDLType, name = "element_type" },
|
419
|
+
},
|
420
|
+
}
|
421
|
+
Repository.definitions.create_fixed = operation{
|
422
|
+
result = FixedDef,
|
423
|
+
parameters = {
|
424
|
+
{ type = ushort, name = "digits" },
|
425
|
+
{ type = short, name = "scale" },
|
426
|
+
},
|
427
|
+
}
|
428
|
+
|
429
|
+
ModuleDef.base_interfaces = { Container, Contained }
|
430
|
+
|
431
|
+
ModuleDescription = struct{
|
432
|
+
{ type = Identifier , name = "name" },
|
433
|
+
{ type = RepositoryId, name = "id" },
|
434
|
+
{ type = RepositoryId, name = "defined_in" },
|
435
|
+
{ type = VersionSpec , name = "version" },
|
436
|
+
}
|
437
|
+
|
438
|
+
ConstantDef.base_interfaces = { Contained }
|
439
|
+
|
440
|
+
ConstantDef.definitions.type = attribute{ TypeCode, readonly = true }
|
441
|
+
ConstantDef.definitions.type_def = attribute{ IDLType }
|
442
|
+
ConstantDef.definitions.value = attribute{ any }
|
443
|
+
|
444
|
+
ConstantDescription = struct{
|
445
|
+
{ type = Identifier , name = "name" },
|
446
|
+
{ type = RepositoryId, name = "id" },
|
447
|
+
{ type = RepositoryId, name = "defined_in" },
|
448
|
+
{ type = VersionSpec , name = "version" },
|
449
|
+
{ type = TypeCode , name = "type" },
|
450
|
+
{ type = any , name = "value" },
|
451
|
+
}
|
452
|
+
|
453
|
+
TypedefDef = interface{ Contained, IDLType }
|
454
|
+
|
455
|
+
TypeDescription = struct{
|
456
|
+
{ type = Identifier , name = "name" },
|
457
|
+
{ type = RepositoryId, name = "id" },
|
458
|
+
{ type = RepositoryId, name = "defined_in" },
|
459
|
+
{ type = VersionSpec , name = "version" },
|
460
|
+
{ type = TypeCode , name = "type" },
|
461
|
+
}
|
462
|
+
|
463
|
+
StructDef.base_interfaces = { TypedefDef, Container }
|
464
|
+
StructDef.definitions.members = attribute{ StructMemberSeq }
|
465
|
+
|
466
|
+
UnionDef.base_interfaces = { TypedefDef, Container }
|
467
|
+
UnionDef.definitions.discriminator_type = attribute{ TypeCode, readonly = true }
|
468
|
+
UnionDef.definitions.discriminator_type_def = attribute{ IDLType }
|
469
|
+
UnionDef.definitions.members = attribute{ UnionMemberSeq }
|
470
|
+
|
471
|
+
EnumDef.base_interfaces = { TypedefDef }
|
472
|
+
EnumDef.definitions.members = attribute{ EnumMemberSeq }
|
473
|
+
|
474
|
+
AliasDef.base_interfaces = { TypedefDef }
|
475
|
+
AliasDef.definitions.original_type_def = attribute{ IDLType }
|
476
|
+
|
477
|
+
NativeDef.base_interfaces = { TypedefDef }
|
478
|
+
|
479
|
+
PrimitiveDef.base_interfaces = { IDLType }
|
480
|
+
PrimitiveDef.definitions.kind = attribute{ PrimitiveKind, readonly = true }
|
481
|
+
|
482
|
+
StringDef.base_interfaces = { IDLType }
|
483
|
+
StringDef.definitions.bound = attribute{ ulong }
|
484
|
+
|
485
|
+
WstringDef.base_interfaces = { IDLType }
|
486
|
+
WstringDef.definitions.bound = attribute{ ulong }
|
487
|
+
|
488
|
+
FixedDef.base_interfaces = { IDLType }
|
489
|
+
FixedDef.definitions.digits = attribute{ ushort }
|
490
|
+
FixedDef.definitions.scale = attribute{ short }
|
491
|
+
|
492
|
+
SequenceDef.base_interfaces = { IDLType }
|
493
|
+
SequenceDef.definitions.bound = attribute{ ulong }
|
494
|
+
SequenceDef.definitions.element_type = attribute{ TypeCode, readonly = true }
|
495
|
+
SequenceDef.definitions.element_type_def = attribute{ IDLType }
|
496
|
+
|
497
|
+
ArrayDef.base_interfaces = { IDLType }
|
498
|
+
ArrayDef.definitions.length = attribute{ ulong }
|
499
|
+
ArrayDef.definitions.element_type = attribute{ TypeCode, readonly = true }
|
500
|
+
ArrayDef.definitions.element_type_def = attribute{ IDLType }
|
501
|
+
|
502
|
+
ExceptionDef.base_interfaces = { Contained, Container }
|
503
|
+
ExceptionDef.definitions.type = attribute{ TypeCode, readonly = true }
|
504
|
+
ExceptionDef.definitions.members = attribute{ StructMemberSeq }
|
505
|
+
|
506
|
+
AttributeMode = enum{ "ATTR_NORMAL", "ATTR_READONLY" }
|
507
|
+
|
508
|
+
AttributeDef = interface{ Contained,
|
509
|
+
definitions = {
|
510
|
+
type = attribute{ TypeCode, readonly = true },
|
511
|
+
type_def = attribute{ IDLType },
|
512
|
+
mode = attribute{ AttributeMode },
|
513
|
+
},
|
514
|
+
}
|
515
|
+
|
516
|
+
AttributeDescription = struct{
|
517
|
+
{ type = Identifier , name = "name" },
|
518
|
+
{ type = RepositoryId , name = "id" },
|
519
|
+
{ type = RepositoryId , name = "defined_in" },
|
520
|
+
{ type = VersionSpec , name = "version" },
|
521
|
+
{ type = TypeCode , name = "type" },
|
522
|
+
{ type = AttributeMode, name = "mode" },
|
523
|
+
}
|
524
|
+
|
525
|
+
ExtAttributeDescription = struct{
|
526
|
+
{ type = Identifier , name = "name" },
|
527
|
+
{ type = RepositoryId , name = "id" },
|
528
|
+
{ type = RepositoryId , name = "defined_in" },
|
529
|
+
{ type = VersionSpec , name = "version" },
|
530
|
+
{ type = TypeCode , name = "type" },
|
531
|
+
{ type = AttributeMode , name = "mode" },
|
532
|
+
{ type = ExcDescriptionSeq, name = "get_exceptions" },
|
533
|
+
{ type = ExcDescriptionSeq, name = "put_exceptions" },
|
534
|
+
}
|
535
|
+
|
536
|
+
ExtAttributeDef = interface{ AttributeDef }
|
537
|
+
|
538
|
+
-- read/write interface
|
539
|
+
|
540
|
+
ExtAttributeDef.definitions.get_exceptions = attribute{ ExcDescriptionSeq }
|
541
|
+
ExtAttributeDef.definitions.set_exceptions = attribute{ ExcDescriptionSeq }
|
542
|
+
|
543
|
+
-- read interface
|
544
|
+
|
545
|
+
ExtAttributeDef.definitions.describe_attribute = operation{
|
546
|
+
result = ExtAttributeDescription,
|
547
|
+
}
|
548
|
+
|
549
|
+
OperationMode = enum{ "OP_NORMAL", "OP_ONEWAY" }
|
550
|
+
ParameterMode = enum{ "PARAM_IN", "PARAM_OUT", "PARAM_INOUT" }
|
551
|
+
|
552
|
+
ParameterDescription = struct{
|
553
|
+
{ type = Identifier , name = "name" },
|
554
|
+
{ type = TypeCode , name = "type" },
|
555
|
+
{ type = IDLType , name = "type_def" },
|
556
|
+
{ type = ParameterMode, name = "mode" },
|
557
|
+
}
|
558
|
+
ParDescriptionSeq = typedef{ sequence{ParameterDescription} }
|
559
|
+
|
560
|
+
ContextIdentifier = typedef{ Identifier }
|
561
|
+
ContextIdSeq = typedef{ sequence{ContextIdentifier} }
|
562
|
+
ExceptionDefSeq = typedef{ sequence{ExceptionDef} }
|
563
|
+
|
564
|
+
OperationDef = interface{ Contained,
|
565
|
+
definitions = {
|
566
|
+
result = attribute{ TypeCode, readonly = true },
|
567
|
+
result_def = attribute{ IDLType },
|
568
|
+
params = attribute{ ParDescriptionSeq },
|
569
|
+
mode = attribute{ OperationMode },
|
570
|
+
contexts = attribute{ ContextIdSeq },
|
571
|
+
exceptions = attribute{ ExceptionDefSeq },
|
572
|
+
},
|
573
|
+
}
|
574
|
+
|
575
|
+
OperationDescription = struct{
|
576
|
+
{ type = Identifier , name = "name" },
|
577
|
+
{ type = RepositoryId , name = "id" },
|
578
|
+
{ type = RepositoryId , name = "defined_in" },
|
579
|
+
{ type = VersionSpec , name = "version" },
|
580
|
+
{ type = TypeCode , name = "result" },
|
581
|
+
{ type = OperationMode , name = "mode" },
|
582
|
+
{ type = ContextIdSeq , name = "contexts" },
|
583
|
+
{ type = ParDescriptionSeq, name = "parameters" },
|
584
|
+
{ type = ExcDescriptionSeq, name = "exceptions" },
|
585
|
+
}
|
586
|
+
|
587
|
+
RepositoryIdSeq = typedef{ sequence{RepositoryId} }
|
588
|
+
OpDescriptionSeq = typedef{ sequence{OperationDescription} }
|
589
|
+
AttrDescriptionSeq = typedef{ sequence{AttributeDescription} }
|
590
|
+
ExtAttrDescriptionSeq = typedef{ sequence{ExtAttributeDescription} }
|
591
|
+
|
592
|
+
InterfaceDef.base_interfaces = { Container, Contained, IDLType }
|
593
|
+
|
594
|
+
-- read/write interface
|
595
|
+
|
596
|
+
InterfaceDef.definitions.base_interfaces = attribute{ InterfaceDefSeq }
|
597
|
+
|
598
|
+
-- read interface
|
599
|
+
|
600
|
+
InterfaceDef.definitions.is_a = operation{
|
601
|
+
result = boolean,
|
602
|
+
parameters = {{ type = RepositoryId, name = "interface_id" }},
|
603
|
+
}
|
604
|
+
InterfaceDef.definitions.FullInterfaceDescription = struct{
|
605
|
+
{ type = Identifier , name = "name" },
|
606
|
+
{ type = RepositoryId , name = "id" },
|
607
|
+
{ type = RepositoryId , name = "defined_in" },
|
608
|
+
{ type = VersionSpec , name = "version" },
|
609
|
+
{ type = OpDescriptionSeq , name = "operations" },
|
610
|
+
{ type = AttrDescriptionSeq, name = "attributes" },
|
611
|
+
{ type = RepositoryIdSeq , name = "base_interfaces" },
|
612
|
+
{ type = TypeCode , name = "type" },
|
613
|
+
}
|
614
|
+
InterfaceDef.definitions.describe_interface = operation{
|
615
|
+
result = InterfaceDef.definitions.FullInterfaceDescription
|
616
|
+
}
|
617
|
+
|
618
|
+
-- write interface
|
619
|
+
|
620
|
+
InterfaceDef.definitions.create_attribute = operation{
|
621
|
+
result = AttributeDef,
|
622
|
+
parameters = {
|
623
|
+
{ type = RepositoryId , name = "id" },
|
624
|
+
{ type = Identifier , name = "name" },
|
625
|
+
{ type = VersionSpec , name = "version" },
|
626
|
+
{ type = IDLType , name = "type" },
|
627
|
+
{ type = AttributeMode, name = "mode" },
|
628
|
+
},
|
629
|
+
}
|
630
|
+
|
631
|
+
InterfaceDef.definitions.create_operation = operation{
|
632
|
+
result = OperationDef,
|
633
|
+
parameters = {
|
634
|
+
{ type = RepositoryId , name = "id" },
|
635
|
+
{ type = Identifier , name = "name" },
|
636
|
+
{ type = VersionSpec , name = "version" },
|
637
|
+
{ type = IDLType , name = "result" },
|
638
|
+
{ type = OperationMode , name = "mode" },
|
639
|
+
{ type = ParDescriptionSeq, name = "params" },
|
640
|
+
{ type = ExceptionDefSeq , name = "exceptions" },
|
641
|
+
{ type = ContextIdSeq , name = "contexts" },
|
642
|
+
},
|
643
|
+
}
|
644
|
+
|
645
|
+
-- TODO:[maia] find where this definition is used!
|
646
|
+
InterfaceDescription = struct{
|
647
|
+
{ type = Identifier , name = "name" },
|
648
|
+
{ type = RepositoryId , name = "id" },
|
649
|
+
{ type = RepositoryId , name = "defined_in" },
|
650
|
+
{ type = VersionSpec , name = "version" },
|
651
|
+
{ type = RepositoryIdSeq, name = "base_interfaces" },
|
652
|
+
}
|
653
|
+
|
654
|
+
InterfaceAttrExtension = interface{}
|
655
|
+
|
656
|
+
InterfaceAttrExtension.definitions.ExtFullInterfaceDescription = struct{
|
657
|
+
{ type = Identifier , name = "name" },
|
658
|
+
{ type = RepositoryId , name = "id" },
|
659
|
+
{ type = RepositoryId , name = "defined_in" },
|
660
|
+
{ type = VersionSpec , name = "version" },
|
661
|
+
{ type = OpDescriptionSeq , name = "operations" },
|
662
|
+
{ type = ExtAttrDescriptionSeq, name = "attributes" },
|
663
|
+
{ type = RepositoryIdSeq , name = "base_interfaces" },
|
664
|
+
{ type = TypeCode , name = "type" },
|
665
|
+
}
|
666
|
+
|
667
|
+
-- read interface
|
668
|
+
InterfaceAttrExtension.definitions.describe_ext_interface = operation{
|
669
|
+
result = InterfaceAttrExtension.definitions.ExtFullInterfaceDescription,
|
670
|
+
}
|
671
|
+
|
672
|
+
-- write interface
|
673
|
+
InterfaceAttrExtension.definitions.create_ext_attribute = operation{
|
674
|
+
result = ExtAttributeDef,
|
675
|
+
parameters = {
|
676
|
+
{ type = RepositoryId , name = "id" },
|
677
|
+
{ type = Identifier , name = "name" },
|
678
|
+
{ type = VersionSpec , name = "version" },
|
679
|
+
{ type = IDLType , name = "type" },
|
680
|
+
{ type = AttributeMode , name = "mode" },
|
681
|
+
{ type = ExceptionDefSeq, name = "get_exceptions" },
|
682
|
+
{ type = ExceptionDefSeq, name = "set_exceptions" },
|
683
|
+
},
|
684
|
+
}
|
685
|
+
|
686
|
+
ExtInterfaceDef.base_interfaces = { InterfaceDef, InterfaceAttrExtension }
|
687
|
+
|
688
|
+
Visibility = typedef{ short }
|
689
|
+
|
690
|
+
ValueMember = struct{
|
691
|
+
{ type = Identifier , name = "name" },
|
692
|
+
{ type = RepositoryId, name = "id" },
|
693
|
+
{ type = RepositoryId, name = "defined_in" },
|
694
|
+
{ type = VersionSpec , name = "version" },
|
695
|
+
{ type = TypeCode , name = "type" },
|
696
|
+
{ type = IDLType , name = "type_def" },
|
697
|
+
{ type = Visibility , name = "access" },
|
698
|
+
}
|
699
|
+
ValueMemberSeq = typedef{ sequence{ValueMember} }
|
700
|
+
|
701
|
+
ValueMemberDef = interface{ Contained,
|
702
|
+
definitions = {
|
703
|
+
type = attribute{ TypeCode, readonly = true },
|
704
|
+
type_def = attribute{ IDLType },
|
705
|
+
access = attribute{ Visibility },
|
706
|
+
},
|
707
|
+
}
|
708
|
+
|
709
|
+
ValueDef.base_interfaces = { Container, Contained, IDLType }
|
710
|
+
|
711
|
+
-- read/write interface
|
712
|
+
|
713
|
+
ValueDef.definitions.supported_interfaces = attribute{ InterfaceDefSeq }
|
714
|
+
ValueDef.definitions.initializers = attribute{ InitializerSeq }
|
715
|
+
ValueDef.definitions.base_value = attribute{ ValueDef }
|
716
|
+
ValueDef.definitions.abstract_base_values = attribute{ ValueDefSeq }
|
717
|
+
ValueDef.definitions.is_abstract = attribute{ boolean }
|
718
|
+
ValueDef.definitions.is_custom = attribute{ boolean }
|
719
|
+
ValueDef.definitions.is_truncatable = attribute{ boolean }
|
720
|
+
|
721
|
+
-- read interface
|
722
|
+
|
723
|
+
ValueDef.definitions.is_a = operation{
|
724
|
+
result = boolean,
|
725
|
+
parameters = {{ type = RepositoryId, name = "id" }},
|
726
|
+
}
|
727
|
+
ValueDef.definitions.FullValueDescription = struct{
|
728
|
+
{ type = Identifier , name = "name" },
|
729
|
+
{ type = RepositoryId , name = "id" },
|
730
|
+
{ type = boolean , name = "is_abstract" },
|
731
|
+
{ type = boolean , name = "is_custom" },
|
732
|
+
{ type = RepositoryId , name = "defined_in" },
|
733
|
+
{ type = VersionSpec , name = "version" },
|
734
|
+
{ type = OpDescriptionSeq , name = "operations" },
|
735
|
+
{ type = AttrDescriptionSeq, name = "attributes" },
|
736
|
+
{ type = ValueMemberSeq , name = "members" },
|
737
|
+
{ type = InitializerSeq , name = "initializers" },
|
738
|
+
{ type = RepositoryIdSeq , name = "supported_interfaces" },
|
739
|
+
{ type = RepositoryIdSeq , name = "abstract_base_values" },
|
740
|
+
{ type = boolean , name = "is_truncatable" },
|
741
|
+
{ type = RepositoryId , name = "base_value" },
|
742
|
+
{ type = TypeCode , name = "type" },
|
743
|
+
}
|
744
|
+
ValueDef.definitions.describe_value = operation{
|
745
|
+
result = ValueDef.definitions.FullValueDescription,
|
746
|
+
}
|
747
|
+
|
748
|
+
-- write interface
|
749
|
+
|
750
|
+
ValueDef.definitions.create_value_member = operation{
|
751
|
+
result = ValueMemberDef,
|
752
|
+
parameters = {
|
753
|
+
{ type = RepositoryId, name = "id" },
|
754
|
+
{ type = Identifier , name = "name" },
|
755
|
+
{ type = VersionSpec , name = "version" },
|
756
|
+
{ type = IDLType , name = "type" },
|
757
|
+
{ type = Visibility , name = "access" },
|
758
|
+
},
|
759
|
+
}
|
760
|
+
ValueDef.definitions.create_attribute = operation{
|
761
|
+
result = AttributeDef,
|
762
|
+
parameters = {
|
763
|
+
{ type = RepositoryId , name = "id" },
|
764
|
+
{ type = Identifier , name = "name" },
|
765
|
+
{ type = VersionSpec , name = "version" },
|
766
|
+
{ type = IDLType , name = "type" },
|
767
|
+
{ type = AttributeMode, name = "mode" },
|
768
|
+
},
|
769
|
+
}
|
770
|
+
ValueDef.definitions.create_operation = operation{
|
771
|
+
result = OperationDef,
|
772
|
+
parameters = {
|
773
|
+
{ type = RepositoryId , name = "id" },
|
774
|
+
{ type = Identifier , name = "name" },
|
775
|
+
{ type = VersionSpec , name = "version" },
|
776
|
+
{ type = IDLType , name = "result" },
|
777
|
+
{ type = OperationMode , name = "mode" },
|
778
|
+
{ type = ParDescriptionSeq, name = "params" },
|
779
|
+
{ type = ExceptionDefSeq , name = "exceptions" },
|
780
|
+
{ type = ContextIdSeq , name = "contexts" },
|
781
|
+
},
|
782
|
+
}
|
783
|
+
|
784
|
+
ValueDescription = struct{
|
785
|
+
{ type = Identifier , name = "name" },
|
786
|
+
{ type = RepositoryId , name = "id" },
|
787
|
+
{ type = boolean , name = "is_abstract" },
|
788
|
+
{ type = boolean , name = "is_custom" },
|
789
|
+
{ type = RepositoryId , name = "defined_in" },
|
790
|
+
{ type = VersionSpec , name = "version" },
|
791
|
+
{ type = RepositoryIdSeq, name = "supported_interfaces" },
|
792
|
+
{ type = RepositoryIdSeq, name = "abstract_base_values" },
|
793
|
+
{ type = boolean , name = "is_truncatable" },
|
794
|
+
{ type = RepositoryId , name = "base_value" },
|
795
|
+
}
|
796
|
+
|
797
|
+
ExtValueDef.base_interfaces = { ValueDef }
|
798
|
+
|
799
|
+
-- read/write interface
|
800
|
+
|
801
|
+
ExtValueDef.definitions.ext_initializers = attribute{ ExtInitializerSeq }
|
802
|
+
|
803
|
+
-- read interface
|
804
|
+
|
805
|
+
ExtValueDef.definitions.ExtFullValueDescription = struct{
|
806
|
+
{ type = Identifier , name = "name" },
|
807
|
+
{ type = RepositoryId , name = "id" },
|
808
|
+
{ type = boolean , name = "is_abstract" },
|
809
|
+
{ type = boolean , name = "is_custom" },
|
810
|
+
{ type = RepositoryId , name = "defined_in" },
|
811
|
+
{ type = VersionSpec , name = "version" },
|
812
|
+
{ type = OpDescriptionSeq , name = "operations" },
|
813
|
+
{ type = ExtAttrDescriptionSeq, name = "attributes" },
|
814
|
+
{ type = ValueMemberSeq , name = "members" },
|
815
|
+
{ type = ExtInitializerSeq , name = "initializers" },
|
816
|
+
{ type = RepositoryIdSeq , name = "supported_interfaces" },
|
817
|
+
{ type = RepositoryIdSeq , name = "abstract_base_values" },
|
818
|
+
{ type = boolean , name = "is_truncatable" },
|
819
|
+
{ type = RepositoryId , name = "base_value" },
|
820
|
+
{ type = TypeCode , name = "type" },
|
821
|
+
}
|
822
|
+
ExtValueDef.definitions.describe_ext_value = operation{
|
823
|
+
result = ExtValueDef.definitions.ExtFullValueDescription,
|
824
|
+
}
|
825
|
+
|
826
|
+
-- write interface
|
827
|
+
|
828
|
+
ExtValueDef.definitions.create_ext_attribute = operation{
|
829
|
+
result = ExtAttributeDef,
|
830
|
+
parameters = {
|
831
|
+
{ type = RepositoryId , name = "id" },
|
832
|
+
{ type = Identifier , name = "name" },
|
833
|
+
{ type = VersionSpec , name = "version" },
|
834
|
+
{ type = IDLType , name = "type" },
|
835
|
+
{ type = AttributeMode , name = "mode" },
|
836
|
+
{ type = ExceptionDefSeq, name = "get_exceptions" },
|
837
|
+
{ type = ExceptionDefSeq, name = "set_exceptions" },
|
838
|
+
},
|
839
|
+
}
|
840
|
+
|
841
|
+
ValueBoxDef.base_interfaces = { TypedefDef }
|
842
|
+
ValueBoxDef.definitions.original_type_def = attribute{ IDLType }
|
843
|
+
|
844
|
+
AbstractInterfaceDef.base_interfaces = { InterfaceDef }
|
845
|
+
ExtAbstractInterfaceDef.base_interfaces = { AbstractInterfaceDef, InterfaceAttrExtension }
|
846
|
+
LocalInterfaceDef.base_interfaces = { InterfaceDef }
|
847
|
+
ExtLocalInterfaceDef.base_interfaces = { LocalInterfaceDef, InterfaceAttrExtension }
|