public class ParserBase extends java.lang.Object implements CurrentRule
| Modifier and Type | Class and Description |
|---|---|
class |
ParserBase.Phrase |
| Modifier and Type | Field and Description |
|---|---|
protected SemanticsBase |
sem |
protected java.lang.String |
trace |
| Modifier | Constructor and Description |
|---|---|
protected |
ParserBase() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
accept() |
protected boolean |
acceptAnd() |
protected boolean |
acceptInner() |
protected boolean |
acceptNot() |
protected boolean |
ahead() |
protected boolean |
ahead(char ch) |
protected boolean |
ahead(java.lang.String s) |
protected boolean |
aheadIn(char a,
char z) |
protected boolean |
aheadIn(java.lang.String s) |
protected boolean |
aheadNot() |
protected boolean |
aheadNot(char ch) |
protected boolean |
aheadNot(java.lang.String s) |
protected boolean |
aheadNotIn(char a,
char z) |
protected boolean |
aheadNotIn(java.lang.String s) |
protected boolean |
aheadNotNot(char ch) |
protected boolean |
aheadNotNotIn(java.lang.String s) |
protected void |
begin(java.lang.String name) |
protected void |
begin(java.lang.String name,
java.lang.String diag) |
protected boolean |
boolReject() |
protected boolean |
failure() |
void |
init(Source src) |
ParserBase.Phrase |
lhs() |
protected boolean |
next() |
protected boolean |
next(char ch) |
protected boolean |
next(java.lang.String s) |
protected boolean |
nextIn(char a,
char z) |
protected boolean |
nextIn(java.lang.String s) |
protected boolean |
nextNot(char ch) |
protected boolean |
nextNotIn(java.lang.String s) |
protected boolean |
reject() |
protected boolean |
rejectAnd() |
protected boolean |
rejectInner() |
protected boolean |
rejectNot() |
ParserBase.Phrase |
rhs(int i) |
int |
rhsSize() |
java.lang.String |
rhsText(int i,
int j) |
void |
setTrace(java.lang.String trace) |
protected SemanticsBase sem
protected java.lang.String trace
public void init(Source src)
public ParserBase.Phrase lhs()
lhs in interface CurrentRulepublic ParserBase.Phrase rhs(int i)
rhs in interface CurrentRulepublic int rhsSize()
rhsSize in interface CurrentRulepublic java.lang.String rhsText(int i,
int j)
rhsText in interface CurrentRulepublic void setTrace(java.lang.String trace)
protected boolean failure()
protected void begin(java.lang.String name)
protected void begin(java.lang.String name,
java.lang.String diag)
protected boolean accept()
protected boolean acceptInner()
protected boolean acceptAnd()
protected boolean acceptNot()
protected boolean reject()
protected boolean boolReject()
protected boolean rejectInner()
protected boolean rejectAnd()
protected boolean rejectNot()
protected boolean next(char ch)
protected boolean nextNot(char ch)
protected boolean ahead(char ch)
protected boolean aheadNotNot(char ch)
protected boolean aheadNot(char ch)
protected boolean next(java.lang.String s)
protected boolean ahead(java.lang.String s)
protected boolean aheadNot(java.lang.String s)
protected boolean nextIn(java.lang.String s)
protected boolean nextNotIn(java.lang.String s)
protected boolean aheadIn(java.lang.String s)
protected boolean aheadNotNotIn(java.lang.String s)
protected boolean aheadNotIn(java.lang.String s)
protected boolean nextIn(char a,
char z)
protected boolean aheadIn(char a,
char z)
protected boolean aheadNotIn(char a,
char z)
protected boolean next()
protected boolean ahead()
protected boolean aheadNot()