sysmledgraph 0.7.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 (309) hide show
  1. package/README.md +71 -0
  2. package/dist/bin/cli.d.ts +6 -0
  3. package/dist/bin/cli.d.ts.map +1 -0
  4. package/dist/bin/cli.js +61 -0
  5. package/dist/bin/cli.js.map +1 -0
  6. package/dist/mcp/index.d.ts +3 -0
  7. package/dist/mcp/index.d.ts.map +1 -0
  8. package/dist/mcp/index.js +8 -0
  9. package/dist/mcp/index.js.map +1 -0
  10. package/dist/src/cli/commands.d.ts +22 -0
  11. package/dist/src/cli/commands.d.ts.map +1 -0
  12. package/dist/src/cli/commands.js +87 -0
  13. package/dist/src/cli/commands.js.map +1 -0
  14. package/dist/src/discovery/find-sysml.d.ts +16 -0
  15. package/dist/src/discovery/find-sysml.d.ts.map +1 -0
  16. package/dist/src/discovery/find-sysml.js +30 -0
  17. package/dist/src/discovery/find-sysml.js.map +1 -0
  18. package/dist/src/discovery/load-order.d.ts +11 -0
  19. package/dist/src/discovery/load-order.d.ts.map +1 -0
  20. package/dist/src/discovery/load-order.js +85 -0
  21. package/dist/src/discovery/load-order.js.map +1 -0
  22. package/dist/src/graph/connection.d.ts +6 -0
  23. package/dist/src/graph/connection.d.ts.map +1 -0
  24. package/dist/src/graph/connection.js +7 -0
  25. package/dist/src/graph/connection.js.map +1 -0
  26. package/dist/src/graph/graph-store.d.ts +37 -0
  27. package/dist/src/graph/graph-store.d.ts.map +1 -0
  28. package/dist/src/graph/graph-store.js +108 -0
  29. package/dist/src/graph/graph-store.js.map +1 -0
  30. package/dist/src/graph/schema.d.ts +13 -0
  31. package/dist/src/graph/schema.d.ts.map +1 -0
  32. package/dist/src/graph/schema.js +21 -0
  33. package/dist/src/graph/schema.js.map +1 -0
  34. package/dist/src/index.d.ts +14 -0
  35. package/dist/src/index.d.ts.map +1 -0
  36. package/dist/src/index.js +14 -0
  37. package/dist/src/index.js.map +1 -0
  38. package/dist/src/indexer/indexer.d.ts +20 -0
  39. package/dist/src/indexer/indexer.d.ts.map +1 -0
  40. package/dist/src/indexer/indexer.js +56 -0
  41. package/dist/src/indexer/indexer.js.map +1 -0
  42. package/dist/src/indexer/pipeline-phases.d.ts +8 -0
  43. package/dist/src/indexer/pipeline-phases.d.ts.map +1 -0
  44. package/dist/src/indexer/pipeline-phases.js +14 -0
  45. package/dist/src/indexer/pipeline-phases.js.map +1 -0
  46. package/dist/src/mcp/resources/context.d.ts +6 -0
  47. package/dist/src/mcp/resources/context.d.ts.map +1 -0
  48. package/dist/src/mcp/resources/context.js +45 -0
  49. package/dist/src/mcp/resources/context.js.map +1 -0
  50. package/dist/src/mcp/resources/schema.d.ts +6 -0
  51. package/dist/src/mcp/resources/schema.d.ts.map +1 -0
  52. package/dist/src/mcp/resources/schema.js +14 -0
  53. package/dist/src/mcp/resources/schema.js.map +1 -0
  54. package/dist/src/mcp/server.d.ts +8 -0
  55. package/dist/src/mcp/server.d.ts.map +1 -0
  56. package/dist/src/mcp/server.js +175 -0
  57. package/dist/src/mcp/server.js.map +1 -0
  58. package/dist/src/mcp/tools/clean-index.d.ts +12 -0
  59. package/dist/src/mcp/tools/clean-index.d.ts.map +1 -0
  60. package/dist/src/mcp/tools/clean-index.js +22 -0
  61. package/dist/src/mcp/tools/clean-index.js.map +1 -0
  62. package/dist/src/mcp/tools/context.d.ts +14 -0
  63. package/dist/src/mcp/tools/context.d.ts.map +1 -0
  64. package/dist/src/mcp/tools/context.js +51 -0
  65. package/dist/src/mcp/tools/context.js.map +1 -0
  66. package/dist/src/mcp/tools/cypher.d.ts +13 -0
  67. package/dist/src/mcp/tools/cypher.d.ts.map +1 -0
  68. package/dist/src/mcp/tools/cypher.js +25 -0
  69. package/dist/src/mcp/tools/cypher.js.map +1 -0
  70. package/dist/src/mcp/tools/generate-map.d.ts +13 -0
  71. package/dist/src/mcp/tools/generate-map.d.ts.map +1 -0
  72. package/dist/src/mcp/tools/generate-map.js +96 -0
  73. package/dist/src/mcp/tools/generate-map.js.map +1 -0
  74. package/dist/src/mcp/tools/impact.d.ts +14 -0
  75. package/dist/src/mcp/tools/impact.d.ts.map +1 -0
  76. package/dist/src/mcp/tools/impact.js +47 -0
  77. package/dist/src/mcp/tools/impact.js.map +1 -0
  78. package/dist/src/mcp/tools/index-db-graph.d.ts +14 -0
  79. package/dist/src/mcp/tools/index-db-graph.d.ts.map +1 -0
  80. package/dist/src/mcp/tools/index-db-graph.js +32 -0
  81. package/dist/src/mcp/tools/index-db-graph.js.map +1 -0
  82. package/dist/src/mcp/tools/list-indexed.d.ts +9 -0
  83. package/dist/src/mcp/tools/list-indexed.d.ts.map +1 -0
  84. package/dist/src/mcp/tools/list-indexed.js +14 -0
  85. package/dist/src/mcp/tools/list-indexed.js.map +1 -0
  86. package/dist/src/mcp/tools/query.d.ts +14 -0
  87. package/dist/src/mcp/tools/query.d.ts.map +1 -0
  88. package/dist/src/mcp/tools/query.js +47 -0
  89. package/dist/src/mcp/tools/query.js.map +1 -0
  90. package/dist/src/mcp/tools/rename.d.ts +19 -0
  91. package/dist/src/mcp/tools/rename.d.ts.map +1 -0
  92. package/dist/src/mcp/tools/rename.js +46 -0
  93. package/dist/src/mcp/tools/rename.js.map +1 -0
  94. package/dist/src/parser/lsp-client.d.ts +52 -0
  95. package/dist/src/parser/lsp-client.d.ts.map +1 -0
  96. package/dist/src/parser/lsp-client.js +230 -0
  97. package/dist/src/parser/lsp-client.js.map +1 -0
  98. package/dist/src/parser/lsp-server-path.d.ts +10 -0
  99. package/dist/src/parser/lsp-server-path.d.ts.map +1 -0
  100. package/dist/src/parser/lsp-server-path.js +29 -0
  101. package/dist/src/parser/lsp-server-path.js.map +1 -0
  102. package/dist/src/parser/symbols.d.ts +13 -0
  103. package/dist/src/parser/symbols.d.ts.map +1 -0
  104. package/dist/src/parser/symbols.js +150 -0
  105. package/dist/src/parser/symbols.js.map +1 -0
  106. package/dist/src/parser/sysml-mcp-client.d.ts +109 -0
  107. package/dist/src/parser/sysml-mcp-client.d.ts.map +1 -0
  108. package/dist/src/parser/sysml-mcp-client.js +185 -0
  109. package/dist/src/parser/sysml-mcp-client.js.map +1 -0
  110. package/dist/src/storage/clean.d.ts +15 -0
  111. package/dist/src/storage/clean.d.ts.map +1 -0
  112. package/dist/src/storage/clean.js +44 -0
  113. package/dist/src/storage/clean.js.map +1 -0
  114. package/dist/src/storage/list.d.ts +9 -0
  115. package/dist/src/storage/list.d.ts.map +1 -0
  116. package/dist/src/storage/list.js +12 -0
  117. package/dist/src/storage/list.js.map +1 -0
  118. package/dist/src/storage/location.d.ts +22 -0
  119. package/dist/src/storage/location.d.ts.map +1 -0
  120. package/dist/src/storage/location.js +36 -0
  121. package/dist/src/storage/location.js.map +1 -0
  122. package/dist/src/storage/registry.d.ts +14 -0
  123. package/dist/src/storage/registry.d.ts.map +1 -0
  124. package/dist/src/storage/registry.js +59 -0
  125. package/dist/src/storage/registry.js.map +1 -0
  126. package/dist/src/symbol-to-graph/mapping.d.ts +17 -0
  127. package/dist/src/symbol-to-graph/mapping.d.ts.map +1 -0
  128. package/dist/src/symbol-to-graph/mapping.js +102 -0
  129. package/dist/src/symbol-to-graph/mapping.js.map +1 -0
  130. package/dist/src/types.d.ts +40 -0
  131. package/dist/src/types.d.ts.map +1 -0
  132. package/dist/src/types.js +35 -0
  133. package/dist/src/types.js.map +1 -0
  134. package/dist/src/worker/client.d.ts +21 -0
  135. package/dist/src/worker/client.d.ts.map +1 -0
  136. package/dist/src/worker/client.js +126 -0
  137. package/dist/src/worker/client.js.map +1 -0
  138. package/dist/src/worker/gateway.d.ts +79 -0
  139. package/dist/src/worker/gateway.d.ts.map +1 -0
  140. package/dist/src/worker/gateway.js +93 -0
  141. package/dist/src/worker/gateway.js.map +1 -0
  142. package/dist/src/worker/graph-worker.d.ts +7 -0
  143. package/dist/src/worker/graph-worker.d.ts.map +1 -0
  144. package/dist/src/worker/graph-worker.js +91 -0
  145. package/dist/src/worker/graph-worker.js.map +1 -0
  146. package/dist/src/worker/protocol.d.ts +21 -0
  147. package/dist/src/worker/protocol.d.ts.map +1 -0
  148. package/dist/src/worker/protocol.js +9 -0
  149. package/dist/src/worker/protocol.js.map +1 -0
  150. package/docs/INSTALL.md +16 -0
  151. package/docs/MCP_CLIENT_TEMPLATE_ANALYSIS.md +196 -0
  152. package/docs/MCP_INTERACTION_GUIDE.md +201 -0
  153. package/docs/MCP_SERVER_FOR_CURSOR.md +124 -0
  154. package/docs/PLAN.md +58 -0
  155. package/docs/PLAN_INDEPENDENT_LSP.md +145 -0
  156. package/docs/SKILL_DESIGN_PATTERNS.md +305 -0
  157. package/docs/TOOLS.md +317 -0
  158. package/lsp/README.md +41 -0
  159. package/lsp/node_modules/.bin/sysml-mcp +12 -0
  160. package/lsp/node_modules/.bin/sysml-mcp.cmd +9 -0
  161. package/lsp/node_modules/.bin/sysml-mcp.ps1 +16 -0
  162. package/lsp/node_modules/.package-lock.json +22 -0
  163. package/lsp/node_modules/sysml-v2-lsp/CHANGELOG.md +188 -0
  164. package/lsp/node_modules/sysml-v2-lsp/LICENSE +21 -0
  165. package/lsp/node_modules/sysml-v2-lsp/README.md +172 -0
  166. package/lsp/node_modules/sysml-v2-lsp/dist/server/mcpServer.js +167 -0
  167. package/lsp/node_modules/sysml-v2-lsp/dist/server/server.js +142 -0
  168. package/lsp/node_modules/sysml-v2-lsp/index.cjs +23 -0
  169. package/lsp/node_modules/sysml-v2-lsp/package.json +131 -0
  170. package/lsp/node_modules/sysml-v2-lsp/sysml.library/.project +17 -0
  171. package/lsp/node_modules/sysml-v2-lsp/sysml.library/.settings/org.eclipse.jdt.core.prefs +11 -0
  172. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Analysis/.meta.json +10 -0
  173. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Analysis/.project.json +27 -0
  174. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Analysis/AnalysisTooling.sysml +34 -0
  175. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Analysis/SampledFunctions.sysml +119 -0
  176. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Analysis/StateSpaceRepresentation.sysml +143 -0
  177. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Analysis/TradeStudies.sysml +171 -0
  178. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Cause and Effect/.meta.json +8 -0
  179. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Cause and Effect/.project.json +23 -0
  180. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Cause and Effect/CausationConnections.sysml +83 -0
  181. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Cause and Effect/CauseAndEffect.sysml +81 -0
  182. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Geometry/.meta.json +8 -0
  183. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Geometry/.project.json +27 -0
  184. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Geometry/ShapeItems.sysml +899 -0
  185. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Geometry/SpatialItems.sysml +168 -0
  186. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Metadata/.meta.json +10 -0
  187. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Metadata/.project.json +19 -0
  188. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Metadata/ImageMetadata.sysml +78 -0
  189. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Metadata/ModelingMetadata.sysml +143 -0
  190. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Metadata/ParametersOfInterestMetadata.sysml +39 -0
  191. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Metadata/RiskMetadata.sysml +100 -0
  192. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/.meta.json +29 -0
  193. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/.project.json +23 -0
  194. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/ISQ.sysml +42 -0
  195. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/ISQAcoustics.sysml +439 -0
  196. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/ISQAtomicNuclear.sysml +2726 -0
  197. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/ISQBase.sysml +206 -0
  198. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/ISQCharacteristicNumbers.sysml +1991 -0
  199. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/ISQChemistryMolecular.sysml +1353 -0
  200. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/ISQCondensedMatter.sysml +1223 -0
  201. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/ISQElectromagnetism.sysml +2333 -0
  202. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/ISQInformation.sysml +958 -0
  203. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/ISQLight.sysml +1537 -0
  204. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/ISQMechanics.sysml +1564 -0
  205. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/ISQSpaceTime.sysml +1169 -0
  206. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/ISQThermodynamics.sysml +1256 -0
  207. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/MeasurementRefCalculations.sysml +30 -0
  208. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/MeasurementReferences.sysml +526 -0
  209. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/Quantities.sysml +107 -0
  210. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/QuantityCalculations.sysml +70 -0
  211. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/SI.sysml +378 -0
  212. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/SIPrefixes.sysml +48 -0
  213. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/TensorCalculations.sysml +50 -0
  214. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/Time.sysml +274 -0
  215. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/USCustomaryUnits.sysml +260 -0
  216. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Quantities and Units/VectorCalculations.sysml +62 -0
  217. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Requirement Derivation/.meta.json +8 -0
  218. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Requirement Derivation/.project.json +19 -0
  219. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Requirement Derivation/DerivationConnections.sysml +63 -0
  220. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Domain Libraries/Requirement Derivation/RequirementDerivation.sysml +39 -0
  221. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Data Type Library/.meta.json +9 -0
  222. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Data Type Library/.project.json +11 -0
  223. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Data Type Library/Collections.kerml +147 -0
  224. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Data Type Library/ScalarValues.kerml +23 -0
  225. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Data Type Library/VectorValues.kerml +64 -0
  226. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Function Library/.meta.json +23 -0
  227. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Function Library/.project.json +15 -0
  228. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Function Library/BaseFunctions.kerml +80 -0
  229. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Function Library/BooleanFunctions.kerml +22 -0
  230. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Function Library/CollectionFunctions.kerml +68 -0
  231. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Function Library/ComplexFunctions.kerml +47 -0
  232. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Function Library/ControlFunctions.kerml +117 -0
  233. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Function Library/DataFunctions.kerml +43 -0
  234. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Function Library/IntegerFunctions.kerml +43 -0
  235. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Function Library/NaturalFunctions.kerml +27 -0
  236. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Function Library/NumericalFunctions.kerml +43 -0
  237. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Function Library/OccurrenceFunctions.kerml +154 -0
  238. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Function Library/RationalFunctions.kerml +49 -0
  239. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Function Library/RealFunctions.kerml +56 -0
  240. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Function Library/ScalarFunctions.kerml +33 -0
  241. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Function Library/SequenceFunctions.kerml +111 -0
  242. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Function Library/StringFunctions.kerml +25 -0
  243. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Function Library/TrigFunctions.kerml +35 -0
  244. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Function Library/VectorFunctions.kerml +273 -0
  245. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Semantic Library/.meta.json +22 -0
  246. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Semantic Library/.project.json +15 -0
  247. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Semantic Library/Base.kerml +95 -0
  248. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Semantic Library/Clocks.kerml +156 -0
  249. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Semantic Library/ControlPerformances.kerml +135 -0
  250. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Semantic Library/FeatureReferencingPerformances.kerml +190 -0
  251. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Semantic Library/KerML.kerml +483 -0
  252. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Semantic Library/Links.kerml +67 -0
  253. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Semantic Library/Metaobjects.kerml +58 -0
  254. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Semantic Library/Objects.kerml +212 -0
  255. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Semantic Library/Observation.kerml +161 -0
  256. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Semantic Library/Occurrences.kerml +992 -0
  257. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Semantic Library/Performances.kerml +293 -0
  258. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Semantic Library/SpatialFrames.kerml +197 -0
  259. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Semantic Library/StatePerformances.kerml +145 -0
  260. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Semantic Library/Transfers.kerml +281 -0
  261. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Semantic Library/TransitionPerformances.kerml +66 -0
  262. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Kernel Libraries/Kernel Semantic Library/Triggers.kerml +188 -0
  263. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/.meta.json +27 -0
  264. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/.project.json +19 -0
  265. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/Actions.sysml +552 -0
  266. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/Allocations.sysml +29 -0
  267. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/AnalysisCases.sysml +38 -0
  268. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/Attributes.sysml +25 -0
  269. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/Calculations.sysml +37 -0
  270. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/Cases.sysml +71 -0
  271. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/Connections.sysml +60 -0
  272. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/Constraints.sysml +44 -0
  273. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/Flows.sysml +126 -0
  274. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/Interfaces.sysml +89 -0
  275. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/Items.sysml +153 -0
  276. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/Metadata.sysml +32 -0
  277. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/Parts.sysml +81 -0
  278. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/Ports.sysml +54 -0
  279. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/Requirements.sysml +194 -0
  280. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/StandardViewDefinitions.sysml +123 -0
  281. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/States.sysml +103 -0
  282. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/SysML.sysml +539 -0
  283. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/UseCases.sysml +57 -0
  284. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/VerificationCases.sysml +103 -0
  285. package/lsp/node_modules/sysml-v2-lsp/sysml.library/Systems Library/Views.sysml +164 -0
  286. package/lsp/package-lock.json +30 -0
  287. package/lsp/package.json +15 -0
  288. package/lsp/test-server.mjs +120 -0
  289. package/package.json +61 -0
  290. package/scripts/access-sysml-mcp.mjs +45 -0
  291. package/scripts/check-sysml-v2-lsp-version.mjs +39 -0
  292. package/scripts/clean.mjs +14 -0
  293. package/scripts/compare-mcp-vs-lsp-symbols.mjs +76 -0
  294. package/scripts/debug-index.mjs +23 -0
  295. package/scripts/debug-lsp-symbols.mjs +62 -0
  296. package/scripts/deploy-skills.mjs +43 -0
  297. package/scripts/example-sysml-mcp.mjs +27 -0
  298. package/scripts/export-graph.mjs +80 -0
  299. package/scripts/generate-map.mjs +110 -0
  300. package/scripts/index-and-map.mjs +43 -0
  301. package/scripts/index-and-query.mjs +39 -0
  302. package/scripts/query-one.mjs +34 -0
  303. package/scripts/setup-lsp.mjs +36 -0
  304. package/scripts/test-lsp.mjs +55 -0
  305. package/scripts/test-mcp-debug.mjs +32 -0
  306. package/scripts/test-mcp-sysml.mjs +75 -0
  307. package/scripts/test-mcp-tools.mjs +185 -0
  308. package/scripts/test-sysml-mcp-from-node_modules.mjs +56 -0
  309. package/scripts/validate-sysml-file.mjs +69 -0
@@ -0,0 +1,552 @@
1
+ standard library package Actions {
2
+ doc
3
+ /*
4
+ * This package defines the base types for actions and related behavioral elements in the
5
+ * SysML language.
6
+ */
7
+
8
+ private import Base::Anything;
9
+ private import ScalarValues::Positive;
10
+ private import ScalarValues::Natural;
11
+ private import SequenceFunctions::size;
12
+ private import SequenceFunctions::isEmpty;
13
+ private import Occurrences::Occurrence;
14
+ private import Occurrences::HappensWhile;
15
+ private import Performances::Performance;
16
+ private import Performances::performances;
17
+ private import Transfers::SendPerformance;
18
+ private import Transfers::sendPerformances;
19
+ private import Transfers::AcceptPerformance;
20
+ private import Transfers::acceptPerformances;
21
+ private import FeatureReferencingPerformances::FeatureWritePerformance;
22
+ private import ControlPerformances::MergePerformance;
23
+ private import ControlPerformances::DecisionPerformance;
24
+ private import ControlPerformances::IfThenPerformance;
25
+ private import ControlPerformances::IfThenElsePerformance;
26
+ private import ControlPerformances::LoopPerformance;
27
+ private import TransitionPerformances::TransitionPerformance;
28
+ private import TransitionPerformances::NonStateTransitionPerformance;
29
+ private import Transfers::MessageTransfer;
30
+ private import Flows::MessageAction;
31
+ private import OccurrenceFunctions::destroy;
32
+
33
+ abstract action def Action :> Performance {
34
+ doc
35
+ /*
36
+ * Action is the most general class of Performances of ActionDefinitions in a system or
37
+ * part of a system. Action is the base class of all ActionDefinitions.
38
+ */
39
+
40
+ ref action self: Action :>> Performance::self;
41
+ ref action incomingTransfers :>> Performance::incomingTransfers;
42
+
43
+ action start: Action :>> startShot {
44
+ doc
45
+ /*
46
+ * The starting snapshot of an Action.
47
+ */
48
+ }
49
+
50
+ action done: Action :>> endShot {
51
+ doc
52
+ /*
53
+ * The ending snapshot of an Action.
54
+ */
55
+ }
56
+
57
+ action subactions: Action[0..*] :> actions, subperformances {
58
+ doc
59
+ /*
60
+ * The subperformances of this Action that are Actions.
61
+ */
62
+
63
+ ref occurrence :>> Action::this, actions::this, subperformances::this = (that as Action).this {
64
+ doc
65
+ /*
66
+ * The "this" reference of a subaction is always the same as that of
67
+ * its owning Action.
68
+ */
69
+ }
70
+ }
71
+
72
+ action sendSubactions: SendAction[0..*] :> subactions, sendActions {
73
+ doc
74
+ /*
75
+ * The subactions of this Action that are SendActions.
76
+ */
77
+ }
78
+
79
+ action acceptSubactions: AcceptAction[0..*] :> subactions, acceptActions {
80
+ doc
81
+ /*
82
+ * The subactions of this Action that are AcceptActions.
83
+ */
84
+ }
85
+
86
+ abstract action terminateSubactions : TerminateAction[0..*] :> subactions, terminateActions {
87
+ doc
88
+ /*
89
+ * The subactions of this Action that are TerminateActions.
90
+ */
91
+ }
92
+
93
+ abstract action controls : ControlAction[0..*] :> subactions {
94
+ doc
95
+ /*
96
+ * The subactions of this Action that are ControlActions.
97
+ */
98
+ }
99
+
100
+ abstract action merges : MergeAction[0..*] :> controls {
101
+ doc
102
+ /*
103
+ * The controls of this Action that are MergeActions.
104
+ */
105
+ }
106
+
107
+ abstract action decisions : DecisionAction :> controls {
108
+ doc
109
+ /*
110
+ * The controls of this Action that are DecisionActions.
111
+ */
112
+ }
113
+
114
+ abstract action joins : JoinAction :> controls {
115
+ doc
116
+ /*
117
+ * The controls of this Action that are JoinActions.
118
+ */
119
+ }
120
+
121
+ abstract action forks : ForkAction :> controls {
122
+ doc
123
+ /*
124
+ * The controls of this Action that are ForkActions.
125
+ */
126
+ }
127
+
128
+ abstract action transitions : TransitionAction[0..*] :> subactions, transitionActions {
129
+ doc
130
+ /*
131
+ * The subactions of this Action that are TransitionActions.
132
+ */
133
+ }
134
+
135
+ abstract action decisionTransitions : DecisionTransitionAction[0..*] :> transitions {
136
+ doc
137
+ /*
138
+ * The subactions of this Action that are DecisionTransitionActions.
139
+ */
140
+ }
141
+
142
+ abstract action assignments : AssignmentAction[0..*] :> subactions, assignmentActions {
143
+ doc
144
+ /*
145
+ * The subactions of this Action that are AssignmentActions.
146
+ */
147
+
148
+ in target;
149
+ }
150
+
151
+ abstract action ifSubactions : IfThenAction[0..*] :> subactions, ifThenActions {
152
+ doc
153
+ /*
154
+ * The subactions of this Action that are IfThenActions (including IfThenElseActions).
155
+ */
156
+ }
157
+
158
+ abstract action loops : LoopAction[0..*] :> subactions, loopActions {
159
+ doc
160
+ /*
161
+ * The subactions of this Action that are LoopActions.
162
+ */
163
+ }
164
+
165
+ abstract action whileLoops : WhileLoopAction[0..*] :> loops, whileLoopActions {
166
+ doc
167
+ /*
168
+ * The loops of this Action that are WhileLoopActions.
169
+ */
170
+ }
171
+
172
+ abstract action forLoops : ForLoopAction[0..*] :> loops, forLoopActions {
173
+ doc
174
+ /*
175
+ * The loops of this Action that are ForLoopActions.
176
+ */
177
+ }
178
+ }
179
+
180
+ abstract action actions: Action[0..*] nonunique :> performances {
181
+ doc
182
+ /*
183
+ * actions is the base feature for all ActionUsages.
184
+ */
185
+ }
186
+
187
+ action def SendAction :> Action, SendPerformance {
188
+ doc
189
+ /*
190
+ * A SendAction is an Action used to type SendActionUsages. It initiates an outgoingTransferFromSelf
191
+ * from a designated sender Occurrence with a given payload, optionally to a designated receiver.
192
+ */
193
+
194
+ in :>> payload [0..*];
195
+ ref sentMessage :>> sentTransfer: MessageTransfer, MessageAction {
196
+ in :>> MessageTransfer::payload, MessageAction::payload;
197
+ }
198
+ }
199
+
200
+ abstract action sendActions: SendAction[0..*] nonunique :> actions, sendPerformances {
201
+ doc
202
+ /*
203
+ * sendActions is the base feature for all SendActionUsages.
204
+ */
205
+ }
206
+
207
+ action def AcceptMessageAction :> Action, AcceptPerformance {
208
+ doc
209
+ /*
210
+ * An AcceptMessageAction is an Action that identifies an incomingTransferToSelf
211
+ * of a designated receiver Occurrence, providing its payload as output.
212
+ */
213
+ inout :>> payload;
214
+ ref acceptedMessage :>> acceptedTransfer: MessageTransfer, MessageAction {
215
+ in :>> MessageTransfer::payload, MessageAction::payload;
216
+ }
217
+ }
218
+
219
+ action def AcceptAction :> AcceptMessageAction {
220
+ doc
221
+ /*
222
+ * An AcceptAction is an AcceptMessageAction used to type AcceptActionUsages that are
223
+ * not accepters for TransitionActions. It waits for a payload or message of the specified
224
+ * kind to be accepted by a nested state transition.
225
+ */
226
+ ref :>> acceptedMessage = aState.aTransition.accepter.acceptedMessage;
227
+ state aState {
228
+ transition aTransition first start accept apayload: Anything via receiver then done;
229
+ }
230
+ bind payload = aState.aTransition.apayload;
231
+ }
232
+
233
+ abstract action acceptActions: AcceptAction[0..*] nonunique :> actions, acceptPerformances {
234
+ doc
235
+ /*
236
+ * acceptActions is the base feature for standalone AcceptActionUsages.
237
+ */
238
+ }
239
+
240
+ abstract action def TerminateAction :> Action {
241
+ doc
242
+ /*
243
+ * A TerminateAction is an Action that terminates a given Occurrence, meaning
244
+ * that the Occurrence ends during the performance of this Action. TerminateAction
245
+ * is the base type for all TerminateActionUsages.
246
+ */
247
+
248
+ in occurrence terminatedOccurrence[1] {
249
+ doc
250
+ /*
251
+ * The Occurrence to be terminated.
252
+ */
253
+ }
254
+
255
+ action terminateOccurrence : destroy[1] {
256
+ in occ = terminatedOccurrence;
257
+ }
258
+ }
259
+
260
+ abstract action terminateActions : TerminateAction[0..*] nonunique :> actions {
261
+ doc
262
+ /*
263
+ * terminateActions is the base feature for all TerminateActionUsages.
264
+ */
265
+
266
+ in occurrence terminatedOccurrence default that as Occurrence {
267
+ doc
268
+ /*
269
+ * The default terminatedOccurrence for a terminateAction is its
270
+ * featuring occurrence (which will generally be a containing Action).
271
+ */
272
+ }
273
+ }
274
+
275
+ abstract action def ControlAction :> Action {
276
+ doc
277
+ /*
278
+ * A ControlAction is the Action of a control node, which has no inherent behavior.
279
+ */
280
+
281
+ bind start = done {
282
+ doc
283
+ /*
284
+ * A ControlAction is instantaneous.
285
+ */
286
+ }
287
+ }
288
+
289
+ action def MergeAction :> ControlAction, MergePerformance {
290
+ doc
291
+ /*
292
+ * A MergeAction is the ControlAction for a merge node.
293
+ *
294
+ * Note: Incoming succession connectors to a MergeAction must have source multiplicity
295
+ * 0..1 and subset the incomingHBLink feature inherited from MergePerformance.
296
+ */
297
+ }
298
+
299
+ action def DecisionAction :> ControlAction, DecisionPerformance {
300
+ doc
301
+ /*
302
+ * A DecisionAction is the ControlAction for a decision node.
303
+ *
304
+ * Note: Outgoing succession connectors from a DecisionAction must have target multiplicity
305
+ * 0..1 and subset the outgoingHBLink feature inherited from DecisionPerformance.
306
+ * If an outgoing succession has a guard, it should have a transitionStep typed by
307
+ * DecisionTransition.
308
+ */
309
+ }
310
+
311
+ action def JoinAction :> ControlAction {
312
+ doc
313
+ /*
314
+ * A JoinAction is the ControlAction for a JoinNode.
315
+ *
316
+ * Note: Join behavior results from requiring that the source multiplicity of all
317
+ * incoming succession connectors be 1..1.
318
+ */
319
+ }
320
+
321
+ action def ForkAction :> ControlAction {
322
+ doc
323
+ /*
324
+ * A ForkAction is the ControlAction for a ForkNode.
325
+ *
326
+ * Note: Fork behavior results from requiring that the target multiplicity of all
327
+ * outgoing succession connectors be 1..1.
328
+ */
329
+ }
330
+
331
+ abstract action def TransitionAction :> Action, TransitionPerformance {
332
+ doc
333
+ /*
334
+ * A TransitionAction is a TransitionPerformance with an Action as transitionLinkSource.
335
+ * It is the base type of all TransitionUsages.
336
+ */
337
+
338
+ in transitionLinkSource : Action :>> TransitionPerformance::transitionLinkSource;
339
+ ref acceptedMessage : MessageTransfer, MessageAction :>> trigger {
340
+ in :>> MessageTransfer::payload, MessageAction::payload;
341
+ }
342
+
343
+ ref receiver :>> triggerTarget;
344
+
345
+ action accepter : AcceptMessageAction :>> 'accept';
346
+
347
+ bind receiver = accepter.receiver;
348
+ bind acceptedMessage = accepter.acceptedMessage;
349
+
350
+ action effect: Action :>> TransitionPerformance::effect;
351
+ }
352
+
353
+ action def DecisionTransitionAction :> TransitionAction, NonStateTransitionPerformance {
354
+ doc
355
+ /*
356
+ * A DecisionTransitionAction is a TransitionAction and NonStateTransitionPerformance that has a
357
+ * guard, but no trigger or effects. It is the base type of TransitionUsages used as
358
+ * conditional successions in action models.
359
+ */
360
+
361
+ ref action :>> accepter[0..0];
362
+ ref action :>> effect[0..0];
363
+ }
364
+
365
+ abstract action transitionActions: TransitionAction[0..*] nonunique :> actions {
366
+ doc
367
+ /*
368
+ * transitionActions is the base feature for all TransitionUsages.
369
+ */
370
+ }
371
+
372
+ action def AssignmentAction :> FeatureWritePerformance, Action {
373
+ doc
374
+ /*
375
+ * An AssignmentAction is an Action, used to type an AssignmentActionUsage. It is also a
376
+ * FeatureWritePerformance that updates the accessedFeature of its target Occurrence with
377
+ * the given replacementValues.
378
+ */
379
+
380
+ in target : Occurrence[1];
381
+ inout replacementValues : Anything[0..*] nonunique;
382
+ }
383
+
384
+ abstract action assignmentActions : AssignmentAction[0..*] nonunique :> actions {
385
+ doc
386
+ /*
387
+ * assignmentActions is the base feature for all AssignmentActionsUsages.
388
+ */
389
+
390
+ in target : Occurrence[1] default that as Occurrence {
391
+ doc
392
+ /*
393
+ * The default target for assignmentActions is its featuring instance (if that is
394
+ * an Occurrence).
395
+ */
396
+ }
397
+ }
398
+
399
+ action def IfThenAction :> Action, IfThenPerformance {
400
+ doc
401
+ /*
402
+ * An IfThenAction is a Kernel IfThenPerformance that is also an Action.
403
+ * It is the base type for all IfActionUsages.
404
+ */
405
+
406
+ in ifTest[1];
407
+ in action thenClause[0..1];
408
+ }
409
+
410
+ action def IfThenElseAction :> IfThenAction, IfThenElsePerformance {
411
+ doc
412
+ /*
413
+ * An IfThenElseAction is a Kernel IfThenElsePeformance that is also an IfThenAction.
414
+ * It is the base type for all IfActionUsages that have an elseAction.
415
+ */
416
+
417
+ in ifTest[1];
418
+ in action thenClause[0..1];
419
+ in action elseClause[0..1];
420
+ }
421
+
422
+ abstract action ifThenActions : IfThenAction[0..*] nonunique :> actions {
423
+ doc
424
+ /*
425
+ * ifThenActions is the base feature for all IfActionUsages.
426
+ */
427
+ }
428
+
429
+ abstract action ifThenElseActions : IfThenElseAction[0..*] nonunique :> actions {
430
+ doc
431
+ /*
432
+ * ifThenElseActions is the base feature for all IfActionUsages that have an elseAction.
433
+ */
434
+ }
435
+
436
+ abstract action def LoopAction :> Action {
437
+ doc
438
+ /*
439
+ * A LoopAction is the base type for all LoopActionUsages.
440
+ */
441
+
442
+ in ref iterator;
443
+
444
+ in action body[0..*] {
445
+ doc
446
+ /*
447
+ * The action that is performed repeatedly in the loop.
448
+ */
449
+ }
450
+ }
451
+
452
+ action def WhileLoopAction :> LoopAction, LoopPerformance {
453
+ doc
454
+ /*
455
+ * A WhileLoopAction is a Kernel LoopPerformance that is also a LoopAction.
456
+ * It is the base type for all WhileLoopActionUsages.
457
+ */
458
+
459
+ in whileTest default {true} {
460
+ doc
461
+ /*
462
+ * A Boolean expression that must be true for the loop to continue.
463
+ * It is evaluated before the body is performed and is always evaluated at
464
+ * least once.
465
+ */
466
+ }
467
+
468
+ in action body {
469
+ doc
470
+ /*
471
+ * The action that is performed while the whileTest is true and the
472
+ * untilTest is false.
473
+ */
474
+ }
475
+
476
+ in untilTest default {false} {
477
+ doc
478
+ /*
479
+ * A Boolean expression that must be false for the loop to continue.
480
+ * It is evaluated after the body is performed.
481
+ */
482
+ }
483
+ }
484
+
485
+ action def ForLoopAction :> LoopAction {
486
+ doc
487
+ /*
488
+ * A ForLoopAction is a LoopAction that iterates over an ordered sequence of values.
489
+ * It is the base type for all ForLoopActionUsages.
490
+ */
491
+
492
+ protected ref var[0..1] :> seq {
493
+ doc
494
+ /*
495
+ * The loop variable that is assigned successive elements of seq on each
496
+ * iteration of the loop.
497
+ */
498
+ }
499
+
500
+ in ref seq {
501
+ doc
502
+ /*
503
+ * The sequence of values over which the loop iterates.
504
+ */
505
+ }
506
+
507
+ in action body {
508
+ doc
509
+ /*
510
+ * The action that is performed on each iteration of the loop.
511
+ */
512
+ }
513
+
514
+ private attribute index : Positive {
515
+ doc
516
+ /*
517
+ * The index of the element of seq assigned to var on the current iteration
518
+ * of the loop.
519
+ */
520
+ }
521
+
522
+ private action initialization
523
+ assign index := 1;
524
+ then private action whileLoop
525
+ while index <= size(seq) {
526
+ assign var := seq#(index);
527
+ then perform body;
528
+ then assign index := index + 1;
529
+ }
530
+ }
531
+
532
+ abstract action loopActions : LoopAction[0..*] nonunique :> actions {
533
+ doc
534
+ /*
535
+ * loopActions is the base feature for all LoopActionUsages.
536
+ */
537
+ }
538
+
539
+ abstract action whileLoopActions : WhileLoopAction[0..*] nonunique :> loopActions {
540
+ doc
541
+ /*
542
+ * whileLoopActions is the base feature for all WhileLoopActionUsages.
543
+ */
544
+ }
545
+
546
+ abstract action forLoopActions : ForLoopAction[0..*] nonunique :> loopActions {
547
+ doc
548
+ /*
549
+ * forLoopActions is the base feature for all ForLoopActionUsages.
550
+ */
551
+ }
552
+ }
@@ -0,0 +1,29 @@
1
+ standard library package Allocations {
2
+ doc
3
+ /*
4
+ * This package defines the base types for allocations and related structural elements
5
+ * in the SysML language.
6
+ */
7
+
8
+ private import Base::Anything;
9
+ private import Connections::*;
10
+
11
+ allocation def Allocation :> BinaryConnection {
12
+ doc
13
+ /*
14
+ * Allocation is the most general class of allocation, represented as a connection
15
+ * between the source of the allocation and the target. Allocation is the base type
16
+ * of all AllocationDefinitions.
17
+ */
18
+
19
+ end source: Anything :>> BinaryConnection::source;
20
+ end target: Anything :>> BinaryConnection::target;
21
+ }
22
+
23
+ abstract allocation allocations: Allocation[0..*] nonunique :> binaryConnections {
24
+ doc
25
+ /*
26
+ * allocations is the base feature of all AllocationUsages.
27
+ */
28
+ }
29
+ }
@@ -0,0 +1,38 @@
1
+ standard library package AnalysisCases {
2
+ doc
3
+ /*
4
+ * This package defines the base types for analysis cases and related behavioral elements
5
+ * in the SysML language.
6
+ */
7
+
8
+ private import Performances::Evaluation;
9
+ private import Performances::evaluations;
10
+ private import Calculations::Calculation;
11
+ private import Cases::Case;
12
+ private import Cases::cases;
13
+
14
+ abstract analysis def AnalysisCase :> Case {
15
+ doc
16
+ /*
17
+ * AnalysisCase is the most general class of performances of AnalysisCaseDefinitions.
18
+ * AnalysisCase is the base class of all AnalysisCaseDefinitions.
19
+ */
20
+
21
+ ref analysis self : AnalysisCase :>> Case::self;
22
+ subject subj :>> Case::subj;
23
+
24
+ abstract analysis subAnalysisCases : AnalysisCase[0..*] :> analysisCases, subcases {
25
+ doc
26
+ /*
27
+ * Other AnalysisCases carried out as part of the performance of this AnalysisCase.
28
+ */
29
+ }
30
+ }
31
+
32
+ abstract analysis analysisCases : AnalysisCase[0..*] nonunique :> cases {
33
+ doc
34
+ /*
35
+ * analysisCases is the base feature of all AnalysisCaseUsages.
36
+ */
37
+ }
38
+ }
@@ -0,0 +1,25 @@
1
+ standard library package Attributes {
2
+ doc
3
+ /*
4
+ * This package defines the base types for attributes and related structural elements
5
+ * in the SysML language.
6
+ */
7
+
8
+ private import Base::DataValue;
9
+ private import Base::dataValues;
10
+
11
+ alias AttributeValue for DataValue {
12
+ doc
13
+ /*
14
+ * AttributeValue is the most general type of data values that represent qualities or characteristics
15
+ * of a system or part of a system. AttributeValue is the base type of all AttributeDefinitions.
16
+ */
17
+ }
18
+
19
+ alias attributeValues for dataValues {
20
+ doc
21
+ /*
22
+ * attributeValues is the base feature for all AttributeUsages.
23
+ */
24
+ }
25
+ }
@@ -0,0 +1,37 @@
1
+ standard library package Calculations {
2
+ doc
3
+ /*
4
+ * This package defines the base types for calculations and related behavioral elements in the
5
+ * SysML language.
6
+ */
7
+
8
+ private import Performances::Evaluation;
9
+ private import Performances::evaluations;
10
+ private import Actions::Action;
11
+ private import Actions::actions;
12
+
13
+ abstract calc def Calculation :> Action, Evaluation {
14
+ doc
15
+ /*
16
+ * Calculation is the most general class of evaluations of CalculationDefinitions in a
17
+ * system or part of a system. Calculation is the base class of all CalculationDefinitions.
18
+ */
19
+
20
+ ref calc self: Calculation :>> Action::self, Evaluation::self;
21
+
22
+ abstract calc subcalculations: Calculation :> calculations, subactions {
23
+ doc
24
+ /*
25
+ * The subactions of this Calculation that are Calculations.
26
+ */
27
+ }
28
+
29
+ }
30
+
31
+ abstract calc calculations: Calculation[0..*] nonunique :> actions, evaluations {
32
+ doc
33
+ /*
34
+ * calculations is the base Feature for all CalculationUsages.
35
+ */
36
+ }
37
+ }