trigger-invocation-expression-after-argument
Available in: SysML
This checks that after expression is a duration value.
Specification
If a
TriggerInvocationExpressionhaskind = after, then it must have anargumentExpressionwith aresultthat conforms to the typeQuantities::ScalarQuantityValueand afeaturethat directly or indirectly redefinesQuantities::TensorQuantityValue::mRefand directly or indirectly specializesISQBase::DurationUnit.
Example
action {
accept after 30 [SI::m]; // error
}
Instead, use a time unit:
action {
accept after 30 [SI::s]; // ok
}