public class LexerForWords extends LexerDefault
| Constructor and Description |
|---|
LexerForWords() |
| Modifier and Type | Method and Description |
|---|---|
protected Lexer |
consume(char c,
CharIterator str) |
protected String |
extractWord(char c,
CharIterator str) |
protected boolean |
isWhitespace(char c) |
protected Lexer |
onWhitespace(char c,
CharIterator str) |
protected Lexer |
onWord(String word,
CharIterator str) |
protected Lexer |
onWordStart(char c,
CharIterator str) |
clear, consume, lexprotected Lexer consume(char c, CharIterator str)
consume in class LexerDefaultprotected boolean isWhitespace(char c)
protected Lexer onWordStart(char c, CharIterator str)
protected String extractWord(char c, CharIterator str)
protected Lexer onWord(String word, CharIterator str)
protected Lexer onWhitespace(char c, CharIterator str)
Copyright © December 07, 2012–2015 The Internet Party. All rights reserved.