public class ParserTest extends ParserMemo
| Modifier and Type | Class and Description |
|---|---|
class |
ParserTest.Cache |
ParserBase.Phrase| Modifier and Type | Field and Description |
|---|---|
boolean |
traceError |
boolean |
traceInner |
boolean |
traceRules |
cachessem, trace| Modifier | Constructor and Description |
|---|---|
protected |
ParserTest() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
accept(ParserTest.Cache c) |
protected boolean |
acceptAnd(ParserTest.Cache c) |
protected boolean |
acceptInner(ParserTest.Cache c) |
protected boolean |
acceptNot(ParserTest.Cache c) |
protected boolean |
ahead(char ch,
ParserTest.Cache c) |
protected boolean |
ahead(ParserTest.Cache c) |
protected boolean |
ahead(java.lang.String s,
ParserTest.Cache c) |
protected boolean |
aheadIn(char a,
char z,
ParserTest.Cache c) |
protected boolean |
aheadIn(java.lang.String s,
ParserTest.Cache c) |
protected boolean |
aheadNot(char ch,
ParserTest.Cache c) |
protected boolean |
aheadNot(ParserTest.Cache c) |
protected boolean |
aheadNot(java.lang.String s,
ParserTest.Cache c) |
protected boolean |
aheadNotIn(char a,
char z,
ParserTest.Cache c) |
protected boolean |
aheadNotIn(java.lang.String s,
ParserTest.Cache c) |
protected boolean |
aheadNotNot(char ch,
ParserTest.Cache c) |
protected boolean |
aheadNotNotIn(java.lang.String s,
ParserTest.Cache c) |
ParserTest.Cache[] |
caches() |
protected boolean |
next(char ch,
ParserTest.Cache c) |
protected boolean |
next(ParserTest.Cache c) |
protected boolean |
next(java.lang.String s,
ParserTest.Cache c) |
protected boolean |
nextIn(char a,
char z,
ParserTest.Cache c) |
protected boolean |
nextIn(java.lang.String s,
ParserTest.Cache c) |
protected boolean |
nextNot(char ch,
ParserTest.Cache c) |
protected boolean |
nextNotIn(java.lang.String s,
ParserTest.Cache c) |
protected boolean |
reject(ParserTest.Cache c) |
protected boolean |
rejectAnd(ParserTest.Cache c) |
protected boolean |
rejectInner(ParserTest.Cache c) |
protected boolean |
rejectNot(ParserTest.Cache c) |
protected boolean |
saved(ParserTest.Cache c) |
protected boolean |
savedInner(ParserTest.Cache c) |
void |
setMemo(int m) |
void |
setTrace(java.lang.String trace) |
init, reuse, reuseInner, reusePred, saved, savedInneraccept, 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, rhsTextpublic boolean traceRules
public boolean traceInner
public boolean traceError
public void setMemo(int m)
setMemo in class ParserMemopublic void setTrace(java.lang.String trace)
setTrace in class ParserBasepublic ParserTest.Cache[] caches()
protected boolean saved(ParserTest.Cache c)
protected boolean savedInner(ParserTest.Cache c)
protected boolean accept(ParserTest.Cache c)
protected boolean acceptInner(ParserTest.Cache c)
protected boolean acceptAnd(ParserTest.Cache c)
protected boolean acceptNot(ParserTest.Cache c)
protected boolean reject(ParserTest.Cache c)
protected boolean rejectInner(ParserTest.Cache c)
protected boolean rejectAnd(ParserTest.Cache c)
protected boolean rejectNot(ParserTest.Cache c)
protected boolean next(char ch,
ParserTest.Cache c)
protected boolean nextNot(char ch,
ParserTest.Cache c)
protected boolean ahead(char ch,
ParserTest.Cache c)
protected boolean aheadNotNot(char ch,
ParserTest.Cache c)
protected boolean aheadNot(char ch,
ParserTest.Cache c)
protected boolean next(java.lang.String s,
ParserTest.Cache c)
protected boolean ahead(java.lang.String s,
ParserTest.Cache c)
protected boolean aheadNot(java.lang.String s,
ParserTest.Cache c)
protected boolean nextIn(java.lang.String s,
ParserTest.Cache c)
protected boolean nextNotIn(java.lang.String s,
ParserTest.Cache c)
protected boolean aheadIn(java.lang.String s,
ParserTest.Cache c)
protected boolean aheadNotNotIn(java.lang.String s,
ParserTest.Cache c)
protected boolean aheadNotIn(java.lang.String s,
ParserTest.Cache c)
protected boolean nextIn(char a,
char z,
ParserTest.Cache c)
protected boolean aheadIn(char a,
char z,
ParserTest.Cache c)
protected boolean aheadNotIn(char a,
char z,
ParserTest.Cache c)
protected boolean next(ParserTest.Cache c)
protected boolean ahead(ParserTest.Cache c)
protected boolean aheadNot(ParserTest.Cache c)