Class PatternMatcher.Path
- java.lang.Object
-
- de.mirkosertic.bytecoder.core.patternmatcher.PatternMatcher.Path
-
- Enclosing class:
- PatternMatcher
private class PatternMatcher.Path extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringpath
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private PatternMatcher.PathaddIncoming(int incomingIndex, NodeType nodeType, int expectedIndex)private PatternMatcher.PathaddOutgoing(NodeType nodeType, int expectedIndex)private PatternMatcher.PathcontrolComingFrom(int nodeIndex, NodeType nodeType)private PatternMatcher.PathcontrolGoingTo(Projection projection, int nodeIndex, NodeType nodeType)booleanequals(java.lang.Object o)inthashCode()private NodeparseControlflowFrom(java.lang.String token, ControlTokenConsumer currentNode, EvaluationContext evaluationContext)private NodeparseControlflowTo(java.lang.String token, ControlTokenConsumer currentNode, EvaluationContext evaluationContext)private NodeparseIncomingData(java.lang.String token, Node currentNode, EvaluationContext evaluationContext)private NodeparseOutgoingData(java.lang.String token, Node currentNode, EvaluationContext evaluationContext)private NodeparseRoot(EvaluationContext context)private Noderesolve(EvaluationContext evaluationContext)
-
-
-
Method Detail
-
addIncoming
private PatternMatcher.Path addIncoming(int incomingIndex, NodeType nodeType, int expectedIndex)
-
addOutgoing
private PatternMatcher.Path addOutgoing(NodeType nodeType, int expectedIndex)
-
controlComingFrom
private PatternMatcher.Path controlComingFrom(int nodeIndex, NodeType nodeType)
-
controlGoingTo
private PatternMatcher.Path controlGoingTo(Projection projection, int nodeIndex, NodeType nodeType)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
parseRoot
private Node parseRoot(EvaluationContext context)
-
parseIncomingData
private Node parseIncomingData(java.lang.String token, Node currentNode, EvaluationContext evaluationContext)
-
parseOutgoingData
private Node parseOutgoingData(java.lang.String token, Node currentNode, EvaluationContext evaluationContext)
-
parseControlflowTo
private Node parseControlflowTo(java.lang.String token, ControlTokenConsumer currentNode, EvaluationContext evaluationContext)
-
parseControlflowFrom
private Node parseControlflowFrom(java.lang.String token, ControlTokenConsumer currentNode, EvaluationContext evaluationContext)
-
resolve
private Node resolve(EvaluationContext evaluationContext)
-
-