|
sdr 0.7 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.cscott.sdr.calls.grm.Grm net.cscott.sdr.calls.grm.Grm.Alt
public static class Grm.Alt
Alternation: a|b.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class net.cscott.sdr.calls.grm.Grm |
---|
Grm.Alt, Grm.Concat, Grm.Mult, Grm.Nonterminal, Grm.Terminal |
Field Summary | |
---|---|
List<Grm> |
alternates
|
Constructor Summary | |
---|---|
Grm.Alt(List<Grm> alternates)
|
Method Summary | ||
---|---|---|
|
accept(GrmVisitor<T> v)
|
|
protected Grm.Alt |
buildIntern()
|
|
protected String |
getName()
|
|
protected List<Grm> |
getOperands()
|
|
int |
precedence()
|
|
void |
repr(StringBuilder sb)
|
Methods inherited from class net.cscott.sdr.calls.grm.Grm |
---|
equals, grammar, hashCode, intern, mkGrm, parse, repr, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final List<Grm> alternates
Constructor Detail |
---|
public Grm.Alt(List<Grm> alternates)
Method Detail |
---|
public int precedence()
precedence
in class Grm
public <T> T accept(GrmVisitor<T> v)
accept
in class Grm
public void repr(StringBuilder sb)
repr
in class Grm
protected Grm.Alt buildIntern()
buildIntern
in class Grm
protected String getName()
getName
in class Grm
protected List<Grm> getOperands()
getOperands
in class Grm
|
sdr 0.7 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |