Skip to content

[Feature]: Implement ExpressionExtensions #128

Description

@samatstariongroup

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am running the latest version of the SysML2.NET
  • I have searched open and closed issues to ensure it has not already been reported

Description

The ExpressionExtensions class in SysML2.NET/Extend/ExpressionExtensions.cs contains 3 extension method(s) that compute derived properties for the IExpression interface. These methods currently throw NotSupportedException and need to be implemented.

Checklist

  • IFunction ComputeFunction(this IExpression)
  • bool ComputeIsModelLevelEvaluable(this IExpression)
  • IFeature ComputeResult(this IExpression)
  • bool ComputeModelLevelEvaluableOperation(this IExpression, List<IFeature> visited)
  • List<IElement> ComputeEvaluateOperation(this IExpression, IElement target)
  • bool ComputeCheckConditionOperation(this IExpression, IElement target)

System Configuration

  • SysML2.NET version: 0.19.0
  • Source file: SysML2.NET/Extend/ExpressionExtensions.cs

Metadata

Metadata

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