|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jface.text.rules.RuleBasedScanner
org.eclipse.jface.text.rules.BufferedRuleBasedScanner
org.eclipse.jface.text.rules.RuleBasedPartitionScanner
org.eclipse.mtl.ide.ui.editors.template.scanner.MTLPartitionScanner
public class MTLPartitionScanner
Global partition scanner that exclusively uses predicate rules.
| Field Summary | |
|---|---|
static java.lang.String[] |
LEGAL_CONTENT_TYPES
All legal content types. |
static java.lang.String |
MTL_BEHAVIORAL_FEATURE
Legal content type for a 'template|query|macro' part in the text. |
static java.lang.String |
MTL_BLOCK
Legal content type for a 'block' part in the text. |
static java.lang.String |
MTL_COMMENT
Legal content type for a 'comment' part in the text. |
static java.lang.String |
MTL_FOR
Legal content type for a 'for' part in the text. |
static java.lang.String |
MTL_IF
Legal content type for a 'if' part in the text. |
static java.lang.String |
MTL_LET
Legal content type for a 'let' part in the text. |
static java.lang.String |
MTL_PROTECTED_AREA
Legal content type for a 'protected area' part in the text. |
| 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 |
| Constructor Summary | |
|---|---|
MTLPartitionScanner()
Constructor. |
|
| Method Summary |
|---|
| 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 |
| Field Detail |
|---|
public static final java.lang.String MTL_COMMENT
public static final java.lang.String MTL_BEHAVIORAL_FEATURE
public static final java.lang.String MTL_PROTECTED_AREA
public static final java.lang.String MTL_IF
public static final java.lang.String MTL_LET
public static final java.lang.String MTL_FOR
public static final java.lang.String MTL_BLOCK
public static final java.lang.String[] LEGAL_CONTENT_TYPES
| Constructor Detail |
|---|
public MTLPartitionScanner()
|
Copyright 2008 Obeo All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||