Package | Description |
---|---|
de.susebox.jtopas | |
de.susebox.jtopas.impl | |
de.susebox.jtopas.spi |
Modifier and Type | Method and Description |
---|---|
void |
AbstractTokenizer.addTokenizer(AbstractTokenizer tokenizer)
Adding an embedded tokenizer.
|
void |
Tokenizer.changeParseFlags(int flags,
int mask)
Setting the control flags of the
TokenizerProperties . |
void |
AbstractTokenizer.changeParseFlags(int flags,
int mask)
Setting the control flags of the
Tokenizer . |
java.lang.String |
Tokenizer.currentImage()
Convenience method to retrieve only the token image of the
Token that
would be returned by Tokenizer.currentToken() . |
java.lang.String |
AbstractTokenizer.currentImage()
Convenience method to retrieve only the token image of the
Token that
would be returned by AbstractTokenizer.currentToken() . |
Token |
Tokenizer.currentToken()
Retrieve the
Token that was found by the last call to Tokenizer.nextToken() . |
Token |
AbstractTokenizer.currentToken()
Retrieve the
Token that was found by the last call to AbstractTokenizer.nextToken() . |
TokenizerProperty |
StandardTokenizerProperties.isKeyword(DataProvider dataProvider)
This method checks if the character range given through the
DataProvider comprises a keyword. |
PatternHandler.Result |
StandardTokenizerProperties.matches(DataProvider dataProvider)
This method checks if the start of a character range given through the
DataProvider matches a pattern. |
java.lang.String |
Tokenizer.nextImage()
This method is a convenience method.
|
java.lang.String |
AbstractTokenizer.nextImage()
This method is a convenience method.
|
Token |
Tokenizer.nextToken()
Retrieving the next
Token . |
Token |
AbstractTokenizer.nextToken()
Retrieving the next
Token . |
int |
Tokenizer.readMore()
Try to read more data into the text buffer of the tokenizer.
|
int |
AbstractTokenizer.readMore()
Try to read more data into the text buffer of the tokenizer.
|
TokenizerProperty |
StandardTokenizerProperties.startsWithSequenceCommentOrString(DataProvider dataProvider)
This method checks if a given range of data starts with a special sequence,
a comment or a string.
|
void |
AbstractTokenizer.switchTo(AbstractTokenizer tokenizer)
Changing fron one tokenizer to another.
|
Modifier and Type | Method and Description |
---|---|
TokenizerProperty |
SequenceStore.isKeyword(DataProvider dataProvider)
This method checks if the given data form a keyword.
|
PatternHandler.Result |
PatternMatcher.matches(DataProvider dataProvider)
This method checks if the start of a character range given through the
DataProvider matches a pattern. |
TokenizerProperty |
SequenceStore.startsWithSequenceCommentOrString(DataProvider dataProvider)
This method checks if a given range of data starts with a special sequence,
a comment or a string.
|
Modifier and Type | Method and Description |
---|---|
int |
WhitespaceHandler.countLeadingWhitespaces(DataProvider dataProvider)
This method detects the number of whitespace characters the data range given
through the
DataProvider parameter starts with. |
java.lang.String[] |
PatternHandler.Result.getGroups()
Returns the capturing groups of a match.
|
TokenizerProperty |
KeywordHandler.isKeyword(DataProvider dataProvider)
This method checks if the character range given through the
DataProvider comprises a keyword. |
PatternHandler.Result |
PatternHandler.matches(DataProvider dataProvider)
This method checks if the start of a character range given through the
DataProvider matches a pattern. |
TokenizerProperty |
SequenceHandler.startsWithSequenceCommentOrString(DataProvider dataProvider)
This method checks if a given range of data starts with a special sequence,
a comment or a string.
|