sysmlpy 0.32.2__tar.gz → 0.32.3__tar.gz
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.
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/PKG-INFO +3 -1
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/README.md +2 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/pyproject.toml +1 -1
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/__init__.py +1 -1
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/definition.py +8 -1
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/LICENSE +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/__main__.py +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/antlr/README.md +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/antlr/SysMLv2Lexer.interp +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/antlr/SysMLv2Lexer.py +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/antlr/SysMLv2Lexer.tokens +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/antlr/SysMLv2Parser.interp +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/antlr/SysMLv2Parser.py +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/antlr/SysMLv2Parser.tokens +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/antlr/SysMLv2ParserListener.py +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/antlr/SysMLv2ParserVisitor.py +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/antlr/src/sysmlpy/grammar/antlr4/SysMLv2Lexer.interp +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/antlr/src/sysmlpy/grammar/antlr4/SysMLv2Lexer.py +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/antlr/src/sysmlpy/grammar/antlr4/SysMLv2Lexer.tokens +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/antlr_parser.py +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/antlr_visitor.py +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/examples/attribute_values.py +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/examples/part_attributes.py +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/examples/tuples_sequences.py +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/formatting.py +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/grammar/antlr4/README.md +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/grammar/antlr4/SysMLv2Lexer.g4 +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/grammar/antlr4/SysMLv2Lexer.interp +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/grammar/antlr4/SysMLv2Lexer.py +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/grammar/antlr4/SysMLv2Lexer.tokens +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/grammar/antlr4/SysMLv2Parser.g4 +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/grammar/antlr4/SysMLv2Parser.interp +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/grammar/antlr4/SysMLv2Parser.py +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/grammar/antlr4/SysMLv2Parser.tokens +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/grammar/antlr4/SysMLv2ParserListener.py +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/grammar/antlr4/SysMLv2ParserVisitor.py +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/grammar/antlr4/desc.xml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/grammar/antlr4/examples/camera.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/grammar/antlr4/examples/toaster-system.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/grammar/antlr4/examples/vehicle-model.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/grammar/antlr4/pom.xml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/grammar/classes.py +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/LICENSE +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/README.md +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/__init__.py +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Analysis/AnalysisTooling.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Analysis/SampledFunctions.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Analysis/StateSpaceRepresentation.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Analysis/TradeStudies.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Cause and Effect/CausationConnections.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Cause and Effect/CauseAndEffect.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Geometry/ShapeItems.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Geometry/SpatialItems.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Metadata/ImageMetadata.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Metadata/ModelingMetadata.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Metadata/ParametersOfInterestMetadata.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Metadata/RiskMetadata.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Quantities and Units/ISQ.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Quantities and Units/ISQAcoustics.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Quantities and Units/ISQAtomicNuclear.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Quantities and Units/ISQBase.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Quantities and Units/ISQCharacteristicNumbers.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Quantities and Units/ISQChemistryMolecular.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Quantities and Units/ISQCondensedMatter.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Quantities and Units/ISQElectromagnetism.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Quantities and Units/ISQInformation.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Quantities and Units/ISQLight.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Quantities and Units/ISQMechanics.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Quantities and Units/ISQSpaceTime.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Quantities and Units/ISQThermodynamics.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Quantities and Units/MeasurementRefCalculations.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Quantities and Units/MeasurementReferences.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Quantities and Units/Quantities.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Quantities and Units/QuantityCalculations.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Quantities and Units/SI.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Quantities and Units/SIPrefixes.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Quantities and Units/TensorCalculations.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Quantities and Units/Time.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Quantities and Units/USCustomaryUnits.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Quantities and Units/VectorCalculations.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Requirement Derivation/DerivationConnections.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Requirement Derivation/RequirementDerivation.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/kernel/Base.kerml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/kernel/BaseFunctions.kerml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/kernel/BooleanFunctions.kerml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/kernel/Clocks.kerml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/kernel/CollectionFunctions.kerml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/kernel/Collections.kerml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/kernel/ComplexFunctions.kerml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/kernel/ControlFunctions.kerml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/kernel/ControlPerformances.kerml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/kernel/DataFunctions.kerml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/kernel/FeatureReferencingPerformances.kerml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/kernel/IntegerFunctions.kerml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/kernel/KerML.kerml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/kernel/Links.kerml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/kernel/Metaobjects.kerml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/kernel/NaturalFunctions.kerml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/kernel/NumericalFunctions.kerml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/kernel/Objects.kerml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/kernel/Observation.kerml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/kernel/OccurrenceFunctions.kerml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/kernel/Occurrences.kerml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/kernel/Performances.kerml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/kernel/RationalFunctions.kerml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/kernel/RealFunctions.kerml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/kernel/ScalarFunctions.kerml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/kernel/ScalarValues.kerml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/kernel/SequenceFunctions.kerml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/kernel/SpatialFrames.kerml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/kernel/StatePerformances.kerml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/kernel/StringFunctions.kerml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/kernel/Transfers.kerml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/kernel/TransitionPerformances.kerml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/kernel/TrigFunctions.kerml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/kernel/Triggers.kerml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/kernel/VectorFunctions.kerml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/kernel/VectorValues.kerml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/systems/Actions.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/systems/Allocations.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/systems/AnalysisCases.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/systems/Attributes.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/systems/Calculations.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/systems/Cases.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/systems/Connections.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/systems/Constraints.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/systems/Flows.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/systems/Interfaces.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/systems/Items.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/systems/Metadata.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/systems/Parts.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/systems/Ports.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/systems/Requirements.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/systems/StandardViewDefinitions.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/systems/States.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/systems/SysML.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/systems/UseCases.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/systems/VerificationCases.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/systems/Views.sysml +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/navigate.py +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/plantuml.py +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/project.py +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/semantic.py +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/store.py +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/us_customary_units.txt +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/usage.py +0 -0
- {sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/validator.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sysmlpy
|
|
3
|
-
Version: 0.32.
|
|
3
|
+
Version: 0.32.3
|
|
4
4
|
Summary:
|
|
5
5
|
License-File: LICENSE
|
|
6
6
|
Author: Jon R. Fox (mycr0ft)
|
|
@@ -41,6 +41,8 @@ The project had diverged so much from sysml2py that a new name, sysmlpy, was sel
|
|
|
41
41
|
|
|
42
42
|
**v0.31.0:** Documentation overhaul — all docs rewritten to showcase the modern public API. New Model Parsing and Model Navigation sections. Semantic Analysis updated with `AnalysisResult`. Grammar round-trip: 77/77 (100%). 211 core tests passing.
|
|
43
43
|
|
|
44
|
+
**v0.32.3:** Fixed `Model.load()` silently dropping top-level elements declared after a semicolon-terminated package (e.g. `package P;\npart def Vehicle {...}`). Also handles `UsageElement` siblings.
|
|
45
|
+
|
|
44
46
|
**v0.32.2:** Added `docs/TODO.md` stub (was a dangling symlink, broke mkdocs build).
|
|
45
47
|
|
|
46
48
|
**v0.32.1:** Fixed critical round-trip data loss bug — `Usage.load_from_grammar()` in `usage.py` silently dropped definition-type children (`part def`, `item def`, etc.) when mixed with usage-type children in the same body, due to an incorrect `hasattr(child, 'body')` guard. Nested structures with mixed definition/usage children now survive parse → dump → parse round-trip correctly.
|
|
@@ -16,6 +16,8 @@ The project had diverged so much from sysml2py that a new name, sysmlpy, was sel
|
|
|
16
16
|
|
|
17
17
|
**v0.31.0:** Documentation overhaul — all docs rewritten to showcase the modern public API. New Model Parsing and Model Navigation sections. Semantic Analysis updated with `AnalysisResult`. Grammar round-trip: 77/77 (100%). 211 core tests passing.
|
|
18
18
|
|
|
19
|
+
**v0.32.3:** Fixed `Model.load()` silently dropping top-level elements declared after a semicolon-terminated package (e.g. `package P;\npart def Vehicle {...}`). Also handles `UsageElement` siblings.
|
|
20
|
+
|
|
19
21
|
**v0.32.2:** Added `docs/TODO.md` stub (was a dangling symlink, broke mkdocs build).
|
|
20
22
|
|
|
21
23
|
**v0.32.1:** Fixed critical round-trip data loss bug — `Usage.load_from_grammar()` in `usage.py` silently dropped definition-type children (`part def`, `item def`, etc.) when mixed with usage-type children in the same body, due to an incorrect `hasattr(child, 'body')` guard. Nested structures with mixed definition/usage children now survive parse → dump → parse round-trip correctly.
|
|
@@ -101,7 +101,8 @@ class Model(Searchable):
|
|
|
101
101
|
if member.get("name") in ("Import", "AliasMember"):
|
|
102
102
|
member_grammar.append(member)
|
|
103
103
|
continue
|
|
104
|
-
|
|
104
|
+
elem_type = member["ownedRelatedElement"]["name"]
|
|
105
|
+
if elem_type == "DefinitionElement":
|
|
105
106
|
de = member["ownedRelatedElement"]
|
|
106
107
|
if de["ownedRelatedElement"]["name"] == "Package":
|
|
107
108
|
found_package = True
|
|
@@ -110,6 +111,12 @@ class Model(Searchable):
|
|
|
110
111
|
)
|
|
111
112
|
self.children.append(p)
|
|
112
113
|
member_grammar.append(p._get_definition(child="PackageBody"))
|
|
114
|
+
elif found_package:
|
|
115
|
+
member_grammar.append(member)
|
|
116
|
+
p.grammar.body.children.append(PackageMember(member))
|
|
117
|
+
elif elem_type == "UsageElement" and found_package:
|
|
118
|
+
member_grammar.append(member)
|
|
119
|
+
p.grammar.body.children.append(PackageMember(member))
|
|
113
120
|
|
|
114
121
|
if not found_package:
|
|
115
122
|
# Wrap bare top-level definitions in a synthetic package
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/antlr/src/sysmlpy/grammar/antlr4/SysMLv2Lexer.interp
RENAMED
|
File without changes
|
{sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/antlr/src/sysmlpy/grammar/antlr4/SysMLv2Lexer.py
RENAMED
|
File without changes
|
{sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/antlr/src/sysmlpy/grammar/antlr4/SysMLv2Lexer.tokens
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Analysis/SampledFunctions.sysml
RENAMED
|
File without changes
|
{sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Analysis/StateSpaceRepresentation.sysml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Cause and Effect/CauseAndEffect.sysml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Metadata/ModelingMetadata.sysml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Quantities and Units/ISQAcoustics.sysml
RENAMED
|
File without changes
|
|
File without changes
|
{sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Quantities and Units/ISQBase.sysml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Quantities and Units/ISQLight.sysml
RENAMED
|
File without changes
|
{sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Quantities and Units/ISQMechanics.sysml
RENAMED
|
File without changes
|
{sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Quantities and Units/ISQSpaceTime.sysml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Quantities and Units/Quantities.sysml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Quantities and Units/SIPrefixes.sysml
RENAMED
|
File without changes
|
|
File without changes
|
{sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/domain/Quantities and Units/Time.sysml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sysmlpy-0.32.2 → sysmlpy-0.32.3}/src/sysmlpy/library/kernel/FeatureReferencingPerformances.kerml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|