Skip to content

Commit a7b819b

Browse files
committed
Updated Kernel Library package documentation consistent with KerML spec.
- Corresponding to spec updates made for ST4MD-212.
1 parent 3d19956 commit a7b819b

22 files changed

Lines changed: 92 additions & 4 deletions

sysml.library/Kernel Library/BaseFunctions.kerml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* This package defines a basic set of functions defined on all kinds of values.
3+
* Most correspond to similarly named operators in the KerML expression syntax.
4+
*/
15
package BaseFunctions {
26
private import Base::Anything;
37
private import Objects::Object;

sysml.library/Kernel Library/BooleanFunctions.kerml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* This package defines functions on Boolean values, including those corresponding to
3+
* (non-conditional) logical operators in the KerML expression notation.
4+
*/
15
package BooleanFunctions {
26
import ScalarValues::*;
37

sysml.library/Kernel Library/CollectionFunctions.kerml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* This package defines functions on Collections (as defined in the Collections package).
3+
* For functions on general sequences of values, see the SequenceFunctions package.
4+
*/
15
package CollectionFunctions {
26
private import Base::Anything;
37
private import ScalarValues::*;

sysml.library/Kernel Library/Collections.kerml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* This package defines a standard set of Collection data types. Unlike sequences of values
3+
* defined directly using multiplicity, these data types allow for the possibility of collections
4+
* as elements of collections.
5+
*/
16
package Collections {
27
private import Base::*;
38
private import ScalarValues::*;

sysml.library/Kernel Library/ComplexFunctions.kerml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* This package defines functions on Complex values, including concrete specializations of the
3+
* general arithmetic and comparison operations.
4+
*/
15
package ComplexFunctions {
26
import ScalarValues::*;
37

sysml.library/Kernel Library/ControlFunctions.kerml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* This package defines functions that correspond to operators in the KerML expression notation
3+
* for which one or more operands are expressions whose evaluation is determined by another operand.
4+
*/
15
package ControlFunctions {
26
private import Base::Anything;
37
private import ScalarValues::ScalarValue;

sysml.library/Kernel Library/ControlPerformances.kerml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* This package defines Behaviors to be used to type Steps that control the sequencing of performance
3+
* of other Steps.
4+
*/
15
package ControlPerformances {
26
private import ScalarValues::Boolean;
37
private import SequenceFunctions::size;
@@ -28,7 +32,7 @@ package ControlPerformances {
2832
* target the MergePerforance behavior. All such Successions must subset the incomingHBLink
2933
* feature of the target MergePerformance. For each instance of MergePerformance, the
3034
* incomingHBLink is an instance of exactly one of the Successions, ordering the
31-
* MergePerformance as happening after an instance of the source of that Succcession.
35+
* MergePerformance as happening after an instance of the source of that Succession.
3236
*/
3337
behavior MergePerformance specializes Performance {
3438
/**
@@ -58,7 +62,7 @@ package ControlPerformances {
5862
}
5963

6064
/**
61-
* An IfElsePerformance is an IfPerformance where the elseCaluse occurs after and only
65+
* An IfElsePerformance is an IfPerformance where the elseClause occurs after and only
6266
* after the ifTest evaluation result is not true.
6367
*/
6468
behavior IfElsePerformance specializes IfPerformance {

sysml.library/Kernel Library/DataFunctions.kerml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* This package defines the abstract base functions corresponding to all the unary and binary operators
3+
* in the KerML expression notation that might be defined on various kinds of DataValues.
4+
*/
15
package DataFunctions {
26
private import Base::DataValue;
37
private import ScalarValues::Boolean;

sysml.library/Kernel Library/FeatureAccessPerformances.kerml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* This package defines Behaviors used to read and write values of a referenced Feature of an Occurrence
3+
* as of the time the Performance of the Behavior ends.
4+
*/
15
package FeatureAccessPerformances {
26
private import Base::Anything;
37
private import Base::things;

sysml.library/Kernel Library/IntegerFunctions.kerml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* This package defines functions on Integer values, including concrete specializations of the
3+
* general arithmetic and comparison operations.
4+
*/
15
package IntegerFunctions {
26
import ScalarValues::*;
37

0 commit comments

Comments
 (0)