|
Eclipse Platform Release 3.0 |
||||||||||
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.SingleLineRule
org.eclipse.jface.text.rules.EndOfLineRule
A specific configuration of a single line rule whereby the pattern begins with a specific sequence but is only ended by a line delimiter.
Field Summary |
Fields inherited from class org.eclipse.jface.text.rules.PatternRule |
fBreaksOnEOF, fBreaksOnEOL, fColumn, fEndSequence, fEscapeCharacter, fEscapeContinuesLine, fStartSequence, fToken, UNDEFINED |
Constructor Summary | |
EndOfLineRule(String startSequence,
IToken token)
Creates a rule for the given starting sequence which, if detected, will return the specified token. |
|
EndOfLineRule(String startSequence,
IToken token,
char escapeCharacter)
Creates a rule for the given starting sequence which, if detected, will return the specified token. |
|
EndOfLineRule(String startSequence,
IToken token,
char escapeCharacter,
boolean escapeContinuesLine)
Creates a rule for the given starting sequence which, if detected, will return the specified token. |
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 EndOfLineRule(String startSequence, IToken token)
startSequence
- the pattern's start sequencetoken
- the token to be returned on successpublic EndOfLineRule(String startSequence, IToken token, char escapeCharacter)
startSequence
- the pattern's start sequencetoken
- the token to be returned on successescapeCharacter
- the escape characterpublic EndOfLineRule(String startSequence, IToken token, char escapeCharacter, boolean escapeContinuesLine)
startSequence
- the pattern's start sequencetoken
- the token to be returned on successescapeCharacter
- the escape characterescapeContinuesLine
- indicates whether the specified escape
character is used for line continuation, so that an end of
line immediately after the escape character does not
terminate the line, even if breakOnEOL
is true
|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.