Class PatternMatcher
- java.lang.Object
-
- de.mirkosertic.bytecoder.core.patternmatcher.PatternMatcher
-
public class PatternMatcher extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private classPatternMatcher.CompiledPatternprivate classPatternMatcher.Pathprivate static classPatternMatcher.PathAnalysisState
-
Field Summary
Fields Modifier and Type Field Description private PatternMatcher.CompiledPatterncompiledPatternprivate Loggerloggerprivate Nodepattern
-
Constructor Summary
Constructors Constructor Description PatternMatcher(Logger logger, Node patternToCompile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private PatternMatcher.CompiledPatterncompile(Node patternRoot)voiddebugOutput()java.util.List<Match>findMatches(Graph source)private voidregisterPaths(Node pivot, PatternMatcher.CompiledPattern compiledPattern)
-
-
-
Field Detail
-
logger
private final Logger logger
-
pattern
private final Node pattern
-
compiledPattern
private final PatternMatcher.CompiledPattern compiledPattern
-
-
Method Detail
-
debugOutput
public void debugOutput()
-
registerPaths
private void registerPaths(Node pivot, PatternMatcher.CompiledPattern compiledPattern)
-
compile
private PatternMatcher.CompiledPattern compile(Node patternRoot)
-
-