Skip to content

Expose match functionality of a rewrite-rule #2446

@gramalingam

Description

@gramalingam

It would be useful to expose the part of a rewrite-rule application that matches a pattern against a subgraph (rooted at a node) as standalone functionality. To enable this, first:

  • Extract a base-class PatternImpl for class RewriteRule that encapsulates just the _target_pattern, _matcher, and _condition_function.
  • Extract a base-class PatternBase for class RewriteRuleClassBase that encapsulates the pattern and check methods.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions