org.eclipse.jface.text.rules |
Package-level Javadoc
Provides a framework for rule based text scanning
and uses the framework to provide rule-driven default implementations of
IPresentationDamager, IPresentationRepairer and IDocumentPartitioner.
Package Specification
RuleBasedScanner is a document-based scanner controlled by IRule
objects. When evaluated an IRule always returns an IToken.
The package provides a set of rules whereby PatternRule is the
most important one. PatternRule defines a pattern-configurable
rule.
|
Java Source File Name | Type | Comment |
BufferedRuleBasedScanner.java | Class | A buffered rule based scanner. |
DefaultDamagerRepairer.java | Class | A standard implementation of a syntax driven presentation damager
and presentation repairer. |
DefaultPartitioner.java | Class | A standard implementation of a document partitioner. |
EndOfLineRule.java | Class | A specific configuration of a single line rule
whereby the pattern begins with a specific sequence but
is only ended by a line delimiter. |
FastPartitioner.java | Class | A standard implementation of a document partitioner. |
ICharacterScanner.java | Interface | Defines the interface of a character scanner used by rules. |
IPartitionTokenScanner.java | Interface | A partition token scanner returns tokens that represent partitions. |
IPredicateRule.java | Interface | Defines the interface for a rule used in the scanning of text for the purpose of
document partitioning or text styling. |
IRule.java | Interface | Defines the interface for a rule used in the
scanning of text for the purpose of document
partitioning or text styling. |
IToken.java | Interface | A token to be returned by a rule. |
ITokenScanner.java | Interface | A token scanner scans a range of a document and reports about the token it finds.
A scanner has state. |
IWhitespaceDetector.java | Interface | Defines the interface by which WhitespaceRule
determines whether a given character is to be considered
whitespace in the current context. |
IWordDetector.java | Interface | Defines the interface by which WordRule
determines whether a given character is valid as part
of a word in the current context. |
MultiLineRule.java | Class | A rule for detecting patterns which begin with a given
sequence and may end with a given sequence thereby spanning
multiple lines. |
NumberRule.java | Class | An implementation of IRule detecting a numerical value. |
PatternRule.java | Class | Standard implementation of IPredicateRule .
Is is capable of detecting a pattern which begins with a given start
sequence and ends with a given end sequence. |
RuleBasedDamagerRepairer.java | Class | |
RuleBasedPartitioner.java | Class | A standard implementation of a syntax driven document partitioner.
It uses a rule based scanner to scan the document and to determine
the document's partitioning. |
RuleBasedPartitionScanner.java | Class | Scanner that exclusively uses predicate rules. |
RuleBasedScanner.java | Class | A generic scanner which can be "programmed" with a sequence of rules.
The scanner is used to get the next token by evaluating its rule in sequence until
one is successful. |
SingleLineRule.java | Class | A specific configuration of pattern rule whereby
the pattern begins with a specific sequence and may
end with a specific sequence, but will not span more
than a single line. |
Token.java | Class | Standard implementation of IToken . |
WhitespaceRule.java | Class | An implementation of IRule capable of detecting whitespace. |
WordPatternRule.java | Class | A specific single line rule which stipulates that the start
and end sequence occur within a single word, as defined by a word detector. |
WordRule.java | Class | An implementation of IRule capable of detecting words
Word rules also allow for the association of tokens with specific words. |