SpecificationBuilder
to convert EMF patterns to
IQuerySpecification
s, or
GenericPatternMatcher
for other purposes. Note that the class
GenericPatternMatch
has also been moved.@Deprecated public class GenericPatternMatcher extends GenericPatternMatcher
on(IncQueryEngine, Pattern)
, e.g. in conjunction with
IncQueryEngine.on(Notifier)
.
Whenever available, consider using the pattern-specific generated matcher API instead.
Matches of the pattern will be represented as GenericPatternMatch
.
GenericPatternMatch
,
GenericMatchProcessor
,
GenericQuerySpecification
Modifier and Type | Method and Description |
---|---|
static GenericPatternMatcher |
on(IncQueryEngine engine,
GenericQuerySpecification querySpecification)
Deprecated.
Initializes the pattern matcher within an existing EMF-IncQuery engine.
|
static GenericPatternMatcher |
on(IncQueryEngine engine,
Pattern pattern)
Deprecated.
Initializes the pattern matcher within an existing EMF-IncQuery engine.
|
arrayToMatch, arrayToMatchMutable, getSpecification
countMatches, countMatches, forEachMatch, forEachMatch, forOneArbitraryMatch, forOneArbitraryMatch, getAllMatches, getAllMatches, getAllValues, getAllValues, getEngine, getOneArbitraryMatch, getOneArbitraryMatch, getParameterNames, getPatternName, getPositionOfParameter, hasMatch, newEmptyMatch, newMatch
public static GenericPatternMatcher on(IncQueryEngine engine, Pattern pattern) throws IncQueryException
engine
- the existing EMF-IncQuery engine in which this matcher will be
created.pattern
- the EMF-IncQuery pattern for which the matcher is to be
constructed.IncQueryException
- if an error occurs during pattern matcher creationpublic static GenericPatternMatcher on(IncQueryEngine engine, GenericQuerySpecification querySpecification) throws IncQueryException
engine
- the existing EMF-IncQuery engine in which this matcher will be
created.querySpecification
- the query specification for which the matcher is to be
constructed.IncQueryException
- if an error occurs during pattern matcher creation