|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.mat.ui.snapshot.panes.oql.textPartitioning.MultilineNonConsumingRule
public class MultilineNonConsumingRule
Partitioning rule that finds a string included between two sequences The beginning and trailing sequences are not case sensitive The trailing sequence is not included and the character scanner is rewinded once the trailer is found.
Nested Class Summary | |
---|---|
static class |
MultilineNonConsumingRule.BadToken
Dummy token used to specify in return that a token has not been found. |
Constructor Summary | |
---|---|
MultilineNonConsumingRule(java.lang.String startSequence,
java.lang.String[] endSequences,
IToken token)
Base constructor to specify start sequence, end sequence and token. |
Method Summary | |
---|---|
IToken |
evaluate(ICharacterScanner arg0)
Evaluates if the provided character scanner starts with the startSequence and terminates with endSequence, then it rewinds. |
IToken |
evaluate(ICharacterScanner arg0,
boolean resume)
Searches the token in the sequence. |
IToken |
getSuccessToken()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultilineNonConsumingRule(java.lang.String startSequence, java.lang.String[] endSequences, IToken token)
startSequence
- endSequences
- token
- Method Detail |
---|
public IToken evaluate(ICharacterScanner arg0, boolean resume)
public IToken getSuccessToken()
public IToken evaluate(ICharacterScanner arg0)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |