|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object aima.logic.common.Parser
public abstract class Parser
Field Summary | |
---|---|
protected Lexer |
lexer
|
protected int |
lookAhead
|
protected Token[] |
lookAheadBuffer
|
Constructor Summary | |
---|---|
Parser()
|
Method Summary | |
---|---|
protected void |
consume()
|
protected void |
fillLookAheadBuffer()
|
protected boolean |
isEndOfInput(Token t)
|
protected void |
loadNextTokenFromInput()
|
protected Token |
lookAhead(int i)
|
protected void |
match(java.lang.String terminalSymbol)
|
abstract ParseTreeNode |
parse(java.lang.String input)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Lexer lexer
protected Token[] lookAheadBuffer
protected int lookAhead
Constructor Detail |
---|
public Parser()
Method Detail |
---|
protected void fillLookAheadBuffer()
protected Token lookAhead(int i)
protected void consume()
protected void loadNextTokenFromInput()
protected boolean isEndOfInput(Token t)
protected void match(java.lang.String terminalSymbol)
public abstract ParseTreeNode parse(java.lang.String input)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |