|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gjt.sp.jedit.syntax.TokenMarker
org.gjt.sp.jedit.syntax.FortranTokenMarker
public class FortranTokenMarker
Custom TokenMarker for UNISYS's ASCII FORTRAN 77. Characteristics of this dialect are:
BITS
, BOOL
,
INDEX
, TRMLEN
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.gjt.sp.jedit.syntax.TokenMarker |
---|
TokenMarker.LineInfo |
Field Summary |
---|
Fields inherited from class org.gjt.sp.jedit.syntax.TokenMarker |
---|
firstToken, lastLine, lastToken, length, lineInfo, nextLineRequested |
Constructor Summary | |
---|---|
FortranTokenMarker()
Constructor, with a wee bit of initialization. |
Method Summary | |
---|---|
static KeywordMap |
getKeywords()
Return the keyword map. |
byte |
markTokensImpl(byte token,
javax.swing.text.Segment line,
int lineIndex)
Implementation of code to mark tokens. |
Methods inherited from class org.gjt.sp.jedit.syntax.TokenMarker |
---|
addToken, addToken, deleteLines, ensureCapacity, getLineCount, getMaxLineWidth, insertLines, isNextLineRequested, markTokens, setLineWidth, supportsMultilineTokens |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FortranTokenMarker()
Method Detail |
---|
public byte markTokensImpl(byte token, javax.swing.text.Segment line, int lineIndex)
markTokensImpl
in class TokenMarker
token
- The initial token type for this lineline
- The line to be tokenizedlineIndex
- The index of the line in the document,
starting at 0
public static KeywordMap getKeywords()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |