Package | Description |
---|---|
org.eclipse.jface.text.rules |
Provides a framework for rule based text scanning
and uses the framework to provide rule-driven default implementations of
IPresentationDamager, IPresentationRepairer and IDocumentPartitioner.
|
Modifier and Type | Class and Description |
---|---|
class |
BufferedRuleBasedScanner
A buffered rule based scanner.
|
class |
RuleBasedPartitionScanner
Scanner that exclusively uses predicate rules.
|
class |
RuleBasedScanner
A generic scanner which can be "programmed" with a sequence of rules.
|
Modifier and Type | Method and Description |
---|---|
protected IToken |
PatternRule.doEvaluate(ICharacterScanner scanner)
Evaluates this rules without considering any column constraints.
|
protected IToken |
PatternRule.doEvaluate(ICharacterScanner scanner,
boolean resume)
Evaluates this rules without considering any column constraints.
|
protected boolean |
WordPatternRule.endSequenceDetected(ICharacterScanner scanner)
Returns whether the end sequence was detected.
|
protected boolean |
PatternRule.endSequenceDetected(ICharacterScanner scanner)
Returns whether the end sequence was detected.
|
IToken |
WordRule.evaluate(ICharacterScanner scanner) |
IToken |
IRule.evaluate(ICharacterScanner scanner)
Evaluates the rule by examining the characters available from the provided character scanner.
|
IToken |
WhitespaceRule.evaluate(ICharacterScanner scanner)
Evaluates the rule by examining the characters available from the provided character scanner.
|
IToken |
PatternRule.evaluate(ICharacterScanner scanner) |
IToken |
NumberRule.evaluate(ICharacterScanner scanner) |
IToken |
IPredicateRule.evaluate(ICharacterScanner scanner,
boolean resume)
Evaluates the rule by examining the characters available from
the provided character scanner.
|
IToken |
PatternRule.evaluate(ICharacterScanner scanner,
boolean resume) |
protected boolean |
PatternRule.sequenceDetected(ICharacterScanner scanner,
char[] sequence,
boolean eofAllowed)
Returns whether the next characters to be read by the character scanner
are an exact match with the given sequence.
|
protected void |
WordRule.unreadBuffer(ICharacterScanner scanner)
Returns the characters in the buffer to the scanner.
|
protected void |
WordPatternRule.unreadBuffer(ICharacterScanner scanner)
Returns the characters in the buffer to the scanner.
|
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.