Systems-Modeling / SysML-v2-Pilot-Implementation

Proof-of-concept pilot implementation of the SysML v2 textual notation and visualization
GNU Lesser General Public License v3.0
128 stars 24 forks source link

ST6RI-593 Additional user-defined keyword syntax #397

Closed seidewitz closed 2 years ago

seidewitz commented 2 years ago

The SysML textual notation has been updated to allow user-defined keywords in the following additional places:

  1. assume#keywordconstraintconstraint-usage
  2. require#keywordconstraintconstraint-usage
  3. frame#keywordconcernconcern-usage
  4. verify#keywordrequirementrequirement-usage
  5. actor#keywordusage
  6. stakeholder#keywordusage
  7. subject#keywordusage
  8. objective#keywordrequirement-usage

Note. In items 1–4, the constraint, concern, or requirement keyword is optional when a user-defined keyword is included. However, if neither keyword is included, then the declaration is a reference, rather than the declaration of a named usage. For example,

requireaGoal;

is equivalent to

require constraint referencesaGoal;

while

require #goalaGoal;

is equivalent to

require #goal constraintaGoal;

where aGoal is a name of the required constraint usage, not a reference to another constraint usage.