[YANGTOOLS-1504] Refactor FeatureSet to yang-model-api Created: 11/Apr/23  Updated: 11/Apr/23  Resolved: 11/Apr/23

Status: Resolved
Project: yangtools
Component/s: model-api, parser
Affects Version/s: None
Fix Version/s: 11.0.0

Type: Task Priority: Medium
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: pt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
split from YANGTOOLS-1463 YangTextSchemaContextResolver needs t... Resolved

 Description   

yang.model.repo.api.FeatureSet implements a Set<QName> to control YANG parser's view of features.

The Set aspect of this class is an unfortunate side-effect of the parser APIs, where really we want to have a way to flexibly implement what is essentially a Predicate<QName>.

Refactor FeatureSet and move it to yang-model-api, so that it can be properly integrated with IfFeatureExpr.


Generated at Wed Feb 07 20:56:20 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.