Skip to content

[Feature]: Model-level expression evaluation — umbrella (InvocationExpression::evaluate + Function::isModelLevelEvaluable) #322

Description

@antoineatstariongroup

Description

Umbrella for the two derived members in the Expression / Function family that cannot be implemented
as plain derived-property ports. Both have no OCL derivation; both are backed by the Kernel
Functions Library. Together they are the last 2 of only 4 remaining NotSupportedException stubs
across SysML2.NET/Extend/.

Sub-issues

Not in scope

  • Reflective metaclass features (KerML 1.0 §9.2.17) — the remaining two Extend stubs,
    SysML2.NET/Extend/MetadataAccessExpressionExtensions.cs:163 and
    SysML2.NET/Extend/MetadataFeatureExtensions.cs:208. They block the meta and @@ operators
    inside [Feature]: InvocationExpression::evaluate — model-level expression evaluation engine #365 but are a separate MOF-registry workstream.
  • The valuation clause omitted at SysML2.NET/Extend/ExpressionExtensions.cs:170. This is
    not unblocked by the evaluation engine (as an earlier revision of this issue claimed).
    IFeature has no valuation property because the generator skipped it: in
    Resources/KerML_only_xmi.uml:7469 it is declared as an association ownedEnd, not an
    ownedAttribute. That is an independent code-generation gap and needs its own issue.

System Configuration

  • SysML2.NET version: 0.19.0
  • Source files:
    • SysML2.NET/Extend/FunctionExtensions.cs
    • SysML2.NET/Extend/InvocationExpressionExtensions.cs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions