public interface IPatternMatch
Generic interface for a single match of a pattern. Each instance is a (partial) substitution of pattern parameters,
essentially a parameter to value mapping.
Can also represent a partial match; unsubstituted parameters are assigned to null. Pattern matchers must never return
a partial match, but they accept partial matches as method parameters.
java.lang.UnsupportedOperationException - if match is not mutable.
Returns whether the match object can be further modified after its creation. Setters work only if the match is mutable.
Matches computed by the pattern matchers are not mutable, so that the match set cannot be modified externally.
Partial matches used as matcher input, however, can be mutable; such match objects can be created using IncQueryMatcher.newEmptyMatch().
whether the match can be modified
Converts the match to an array representation, with each pattern parameter at their respective position.
In case of a partial match, unsubstituted parameters will be represented as null elements in the array.
a newly constructed array containing each parameter substitution of the match in order.