public abstract class CharParser
extends Object
Modifier and Type | Field and Description |
---|---|
protected CharToken |
currentToken |
protected CharScanner |
scanner |
protected Spelling |
spelling |
Modifier | Constructor and Description |
---|---|
protected |
CharParser(CharScanner charScanner) |
protected |
CharParser(String source) |
Modifier and Type | Method and Description |
---|---|
protected void |
accept(char ch) |
protected void |
accept(CharClass charClass) |
protected void |
acceptIt() |
protected void |
acceptThem(int count) |
protected String |
peekString(int length) |
protected int |
popPosition()
Returns and removes the last input text position which was put onto the
stack using
pushPosition() . |
protected String |
popSpelling() |
protected void |
pushPosition()
Saves the current position within the input text onto a stack.
|
protected void |
pushSpelling() |
protected CharScanner scanner
protected CharToken currentToken
protected Spelling spelling
protected CharParser(CharScanner charScanner)
protected CharParser(String source)
protected void accept(char ch) throws java.text.ParseException
java.text.ParseException
protected void accept(CharClass charClass) throws java.text.ParseException
java.text.ParseException
protected void acceptIt()
protected void acceptThem(int count)
protected String peekString(int length)
protected void pushSpelling()
protected String popSpelling()
protected void pushPosition()
protected int popPosition()
pushPosition()
.