aima.logic.common
Class Lexer
java.lang.Object
aima.logic.common.Lexer
- Direct Known Subclasses:
- FOLLexer, PELexer
public abstract class Lexer
- extends java.lang.Object
Constructor Summary |
Lexer()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
input
protected java.io.Reader input
lookAhead
protected int lookAhead
lookAheadBuffer
protected int[] lookAheadBuffer
Lexer
public Lexer()
nextToken
protected abstract Token nextToken()
setInput
public void setInput(java.lang.String inputString)
fillLookAheadBuffer
protected void fillLookAheadBuffer()
lookAhead
protected char lookAhead(int position)
isEndOfFile
protected boolean isEndOfFile(int i)
loadNextCharacterFromInput
protected void loadNextCharacterFromInput()
consume
protected void consume()
clear
public void clear()