public class BasicMatcherContext extends MatcherContext
currentIndex, ignoreErrors, inputBuffer, matcher, startIndex
Constructor and Description |
---|
BasicMatcherContext(BasicMatcherContext parent) |
BasicMatcherContext(InputBuffer inputBuffer,
MatchHandler matchHandler,
Matcher matcher) |
Modifier and Type | Method and Description |
---|---|
void |
createNode() |
void |
createNode(ParseNode node) |
ParseNode |
getNode() |
BasicMatcherContext |
getParent() |
MatcherContext |
getSubContext(Matcher matcher) |
void |
retire() |
boolean |
runMatcher() |
void |
skipNode() |
advanceIndex, charAt, getCurrentIndex, getMatcher, getMatchHandler, getStartIndex, ignoreErrors, isIgnoreErrors, length, resetIndex, setIndex, subSequence
public BasicMatcherContext(InputBuffer inputBuffer, MatchHandler matchHandler, Matcher matcher)
public BasicMatcherContext(BasicMatcherContext parent)
public MatcherContext getSubContext(Matcher matcher)
getSubContext
in class MatcherContext
public void retire()
retire
in class MatcherContext
public boolean runMatcher()
runMatcher
in class MatcherContext
public void createNode()
createNode
in class MatcherContext
public void createNode(ParseNode node)
createNode
in class MatcherContext
public void skipNode()
skipNode
in class MatcherContext
public ParseNode getNode()
getNode
in class MatcherContext
public BasicMatcherContext getParent()
Copyright © 2012 SonarSource. All Rights Reserved.