All Packages Class Hierarchy This Package Previous Next Index
Class jp.kyasu.awt.util.SmalltalkTokenizer
java.lang.Object
|
+----jp.kyasu.graphics.TextCharacterIterator
|
+----jp.kyasu.awt.util.LanguageTokenizer
|
+----jp.kyasu.awt.util.SmalltalkTokenizer
- public class SmalltalkTokenizer
- extends LanguageTokenizer
The SmalltalkTokenizer
class parses a text into "tokens".
The text should represent a Smalltalk program.
- Version:
- 10 Jun 1998
- Author:
- Kazuki YASUMATSU
-
Keywords
- The keywords of the Smalltalk languages.
-
SmalltalkTokenizer(Text, int, int)
- Construct a
SmalltalkTokenizer
with the specified
text and range.
-
nextToken()
- Parses the next token from the text of this tokenizer.
Keywords
public static final Set Keywords
- The keywords of the Smalltalk languages.
SmalltalkTokenizer
public SmalltalkTokenizer(Text text,
int begin,
int end)
- Construct a
SmalltalkTokenizer
with the specified
text and range.
- Parameters:
- text - the text to be parsed.
- begin - the beginning index to parse, inclusive.
- end - the ending index to parse, exclusive.
nextToken
public int nextToken()
- Parses the next token from the text of this tokenizer.
- Returns:
- the type of the token.
- Overrides:
- nextToken in class LanguageTokenizer
- See Also:
- EOT, OTHER, KEYWORD, CONSTANT, MULTILINE_CONSTANT, COMMENT, MULTILINE_COMMENT
All Packages Class Hierarchy This Package Previous Next Index