matchOccurrence abstract method

Set<int> matchOccurrence(
  1. String occurrenceName,
  2. int stateIndex
)

Try matching an occurrence name at match state stateIndex.

Returns a set of successor states. Multiple successors arise when the query is ambiguous at this point (e.g. a glob-star ** can consume zero or more levels).

An empty set means "no match — prune this subtree".

Implementation

Set<int> matchOccurrence(String occurrenceName, int stateIndex);