public class ParserMemo extends ParserBase
| Modifier and Type | Class and Description |
|---|---|
protected class |
ParserMemo.Cache |
ParserBase.Phrase| Modifier and Type | Field and Description |
|---|---|
protected ParserMemo.Cache[] |
caches |
sem, trace| Modifier | Constructor and Description |
|---|---|
protected |
ParserMemo() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(Source src) |
protected boolean |
reuse() |
protected boolean |
reuseInner() |
protected boolean |
reusePred() |
protected boolean |
saved(ParserMemo.Cache c) |
protected boolean |
savedInner(ParserMemo.Cache c) |
void |
setMemo(int m) |
accept, acceptAnd, acceptInner, acceptNot, ahead, ahead, ahead, aheadIn, aheadIn, aheadNot, aheadNot, aheadNot, aheadNotIn, aheadNotIn, aheadNotNot, aheadNotNotIn, begin, begin, boolReject, failure, lhs, next, next, next, nextIn, nextIn, nextNot, nextNotIn, reject, rejectAnd, rejectInner, rejectNot, rhs, rhsSize, rhsText, setTraceprotected ParserMemo.Cache[] caches
public void init(Source src)
init in class ParserBasepublic void setMemo(int m)
protected boolean saved(ParserMemo.Cache c)
protected boolean savedInner(ParserMemo.Cache c)
protected boolean reuse()
protected boolean reuseInner()
protected boolean reusePred()