|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jface.text.rules.PatternRule
org.eclipse.jface.text.rules.MultiLineRule
public class MultiLineRule
A rule for detecting patterns which begin with a given sequence and may end with a given sequence thereby spanning multiple lines.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.jface.text.rules.PatternRule |
|---|
fBreaksOnEOF, fBreaksOnEOL, fColumn, fEndSequence, fEscapeCharacter, fEscapeContinuesLine, fStartSequence, fToken, UNDEFINED |
| Constructor Summary | |
|---|---|
MultiLineRule(java.lang.String startSequence,
java.lang.String endSequence,
IToken token)
Creates a rule for the given starting and ending sequence which, if detected, will return the specified token. |
|
MultiLineRule(java.lang.String startSequence,
java.lang.String endSequence,
IToken token,
char escapeCharacter)
Creates a rule for the given starting and ending sequence which, if detected, will return the specific token. |
|
MultiLineRule(java.lang.String startSequence,
java.lang.String endSequence,
IToken token,
char escapeCharacter,
boolean breaksOnEOF)
Creates a rule for the given starting and ending sequence which, if detected, will return the specific token. |
|
| Method Summary |
|---|
| Methods inherited from class org.eclipse.jface.text.rules.PatternRule |
|---|
doEvaluate, doEvaluate, endSequenceDetected, evaluate, evaluate, getSuccessToken, sequenceDetected, setColumnConstraint |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultiLineRule(java.lang.String startSequence,
java.lang.String endSequence,
IToken token)
startSequence - the pattern's start sequenceendSequence - the pattern's end sequencetoken - the token to be returned on success
public MultiLineRule(java.lang.String startSequence,
java.lang.String endSequence,
IToken token,
char escapeCharacter)
startSequence - the pattern's start sequenceendSequence - the pattern's end sequencetoken - the token to be returned on successescapeCharacter - the escape character
public MultiLineRule(java.lang.String startSequence,
java.lang.String endSequence,
IToken token,
char escapeCharacter,
boolean breaksOnEOF)
breakOnEOF indicates whether
EOF is equivalent to detecting the endSequence.
startSequence - the pattern's start sequenceendSequence - the pattern's end sequencetoken - the token to be returned on successescapeCharacter - the escape characterbreaksOnEOF - indicates whether the end of the file terminates this rule successfully
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.