Click or drag to resize

IMatchesExactMatchInterface Interface

An object representing a (possibly empty) set of matches in a graph before the rewrite has been applied, capable of handing out enumerators of exact match interface type.

Namespace: de.unika.ipd.grGen.libGr
Assembly: libGr (in libGr.dll) Version: GrGen.NET 7.1
Syntax
C#
public interface IMatchesExact<MatchInterface> : IMatches, 
	IEnumerable<IMatch>, IEnumerable

Type Parameters

MatchInterface

The IMatchesExactMatchInterface type exposes the following members.

Properties
 NameDescription
Public propertyCount The number of matches found by Producer
(Inherited from IMatches)
Public propertyFirst Returns the first match (null if no match exists).
(Inherited from IMatches)
Public propertyFirstExact Returns the first match of exact type (null if no match exists).
Public propertyProducer The action object used to generate this IMatches object
(Inherited from IMatches)
Top
Methods
 NameDescription
Public methodClone Clone the matches
(Inherited from IMatches)
Public methodClone(IDictionaryIMatch, IMatch) Clones the matches.
(Inherited from IMatches)
Public methodFilter_keepFirst For filtering with the auto-supplied filter keepFirst
(Inherited from IMatches)
Public methodFilter_keepFirstFraction For filtering with the auto-supplied filter keepFirstFraction
(Inherited from IMatches)
Public methodFilter_keepLast For filtering with the auto-supplied filter keepLast
(Inherited from IMatches)
Public methodFilter_keepLastFraction For filtering with the auto-supplied filter keepLastFraction
(Inherited from IMatches)
Public methodFilter_removeFirst For filtering with the auto-supplied filter removeFirst
(Inherited from IMatches)
Public methodFilter_removeFirstFraction For filtering with the auto-supplied filter removeFirstFraction
(Inherited from IMatches)
Public methodFilter_removeLast For filtering with the auto-supplied filter removeLast
(Inherited from IMatches)
Public methodFilter_removeLastFraction For filtering with the auto-supplied filter removeLastFraction
(Inherited from IMatches)
Public methodFilterExact_keepFirst For filtering with the auto-supplied filter keepFirst
Public methodFilterExact_keepFirstFraction For filtering with the auto-supplied filter keepFirstFraction
Public methodFilterExact_keepLast For filtering with the auto-supplied filter keepLast
Public methodFilterExact_keepLastFraction For filtering with the auto-supplied filter keepLastFraction
Public methodFilterExact_removeFirst For filtering with the auto-supplied filter removeFirst
Public methodFilterExact_removeFirstFraction For filtering with the auto-supplied filter removeFirstFraction
Public methodFilterExact_removeLast For filtering with the auto-supplied filter removeLast
Public methodFilterExact_removeLastFraction For filtering with the auto-supplied filter removeLastFraction
Public methodFromList Reincludes the array handed out with ToList, REPLACING the current matches with the ones from the list. The list might have been reordered, matches might have been removed, or even added. Elements which were null-ed count as deleted; this gives an O(1) mechanism to remove from the array.
(Inherited from IMatches)
Public methodFromListExact Reincludes the array handed out with ToListExact, REPLACING the current matches with the ones from the list. The list might have been reordered, matches might have been removed, or even added. Elements which were null-ed count as deleted; this gives an O(1) mechanism to remove from the array.
Public methodGetEnumeratorExact Returns enumerator over matches of exact type
Public methodGetMatch Returns the match with the given index. Invalid indices cause an exception. This may be slow. If you want to iterate over the elements the Matches IEnumerable should be used.
(Inherited from IMatches)
Public methodGetMatchExact Returns the match of exact type with the given index. Invalid indices cause an exception. This may be slow. If you want to iterate over the elements the MatchesExact IEnumerable should be used.
Public methodRemoveMatch Removes the match at the given index and returns it.
(Inherited from IMatches)
Public methodRemoveMatchExact Removes the match of exact type at the given index and returns it.
Public methodRemoveUnavailable
(Inherited from IMatches)
Public methodToList Returns the content of the current matches list in form of an array which can be efficiently indexed and reordered. The array is destroyed when this method is called again, the content is destroyed when the rule is matched again (there is only one array existing).
(Inherited from IMatches)
Public methodToListCopy Returns the content of the current matches list in form of an array. The content is destroyed when the rule is matched again (the list itself is a newly created copy).
(Inherited from IMatches)
Public methodToListExact Returns the content of the current matches list in form of an array which can be efficiently indexed and reordered. The array is destroyed when this method is called again, the content is destroyed when the rule is matched again (there is only one array existing).
Top
See Also