Modifier and Type | Field and Description |
---|---|
protected EnumMultiMap<FlowElement> |
captureMap |
protected ElementGraph |
elementGraph |
protected Collection<FlowElement> |
foundElements |
protected Collection<Scope> |
foundScopes |
protected ExpressionGraph |
matchGraph |
protected Map<ElementExpression,FlowElement> |
vertexMapping |
Constructor and Description |
---|
Match(ExpressionGraph matchGraph,
ElementGraph elementGraph,
Map<ElementExpression,FlowElement> vertexMapping,
Collection<FlowElement> foundElements,
Collection<Scope> foundScopes) |
Match(ExpressionGraph matchGraph,
ElementGraph elementGraph,
Map<ElementExpression,FlowElement> vertexMapping,
Collection<FlowElement> foundElements,
Collection<Scope> foundScopes,
EnumMultiMap<FlowElement> captureMap) |
Modifier and Type | Method and Description |
---|---|
boolean |
foundMatch() |
Set<FlowElement> |
getCapturedElements(ElementCapture... captures) |
EnumMultiMap<FlowElement> |
getCaptureMap() |
ElementGraph |
getElementGraph() |
Collection<FlowElement> |
getFoundElements() |
Set<FlowElement> |
getIncludedElements() |
ElementSubGraph |
getMatchedGraph() |
ExpressionGraph |
getMatchGraph() |
Map<ElementExpression,FlowElement> |
getVertexMapping() |
String |
toString() |
protected final ExpressionGraph matchGraph
protected final ElementGraph elementGraph
protected final Map<ElementExpression,FlowElement> vertexMapping
protected final Collection<FlowElement> foundElements
protected final Collection<Scope> foundScopes
protected EnumMultiMap<FlowElement> captureMap
public Match(ExpressionGraph matchGraph, ElementGraph elementGraph, Map<ElementExpression,FlowElement> vertexMapping, Collection<FlowElement> foundElements, Collection<Scope> foundScopes)
public Match(ExpressionGraph matchGraph, ElementGraph elementGraph, Map<ElementExpression,FlowElement> vertexMapping, Collection<FlowElement> foundElements, Collection<Scope> foundScopes, EnumMultiMap<FlowElement> captureMap)
public ElementGraph getElementGraph()
public ExpressionGraph getMatchGraph()
public boolean foundMatch()
public Map<ElementExpression,FlowElement> getVertexMapping()
public Collection<FlowElement> getFoundElements()
public ElementSubGraph getMatchedGraph()
public Set<FlowElement> getIncludedElements()
public Set<FlowElement> getCapturedElements(ElementCapture... captures)
public EnumMultiMap<FlowElement> getCaptureMap()
Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.