modesteditor.core
Class ModestPartitionScanner
java.lang.Object
org.eclipse.jface.text.rules.RuleBasedScanner
org.eclipse.jface.text.rules.BufferedRuleBasedScanner
org.eclipse.jface.text.rules.RuleBasedPartitionScanner
modesteditor.core.ModestPartitionScanner
- All Implemented Interfaces:
- org.eclipse.jface.text.rules.ICharacterScanner, org.eclipse.jface.text.rules.IPartitionTokenScanner, org.eclipse.jface.text.rules.ITokenScanner
public class ModestPartitionScanner
- extends org.eclipse.jface.text.rules.RuleBasedPartitionScanner
This scanner recognizes the MoDeST multi line comments
Fields inherited from class org.eclipse.jface.text.rules.RuleBasedPartitionScanner |
fContentType, fPartitionOffset |
Fields inherited from class org.eclipse.jface.text.rules.RuleBasedScanner |
fColumn, fDefaultReturnToken, fDelimiters, fDocument, fOffset, fRangeEnd, fRules, fTokenOffset, UNDEFINED |
Fields inherited from interface org.eclipse.jface.text.rules.ICharacterScanner |
EOF |
Methods inherited from class org.eclipse.jface.text.rules.RuleBasedPartitionScanner |
nextToken, setPartialRange, setPredicateRules, setRange, setRules |
Methods inherited from class org.eclipse.jface.text.rules.BufferedRuleBasedScanner |
read, setBufferSize, unread |
Methods inherited from class org.eclipse.jface.text.rules.RuleBasedScanner |
getColumn, getLegalLineDelimiters, getTokenLength, getTokenOffset, setDefaultReturnToken |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.jface.text.rules.ITokenScanner |
getTokenLength, getTokenOffset |
MODEST_MULTILINE_COMMENT
public static final java.lang.String MODEST_MULTILINE_COMMENT
- See Also:
- Constant Field Values
MODEST_SINGLELINE_COMMENT
public static final java.lang.String MODEST_SINGLELINE_COMMENT
- See Also:
- Constant Field Values
MODEST_DEFAULT
public static final java.lang.String MODEST_DEFAULT
- See Also:
- Constant Field Values
MODEST_PARTITION_TYPES
public static final java.lang.String[] MODEST_PARTITION_TYPES
- The partition types in a MoDeST document.
ModestPartitionScanner
public ModestPartitionScanner()
- Creates the partitioner and sets up the appropriate rules.