|
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.Mult
public static class Grm.Mult
Multiplicity marker: a*, a+, or a?.
Nested Class Summary | |
---|---|
static class |
Grm.Mult.Type
Type of multiplicity marker: Grm.Mult.Type.STAR , Grm.Mult.Type.PLUS ,
or Grm.Mult.Type.QUESTION . |
Nested classes/interfaces inherited from class net.cscott.sdr.calls.grm.Grm |
---|
Grm.Alt, Grm.Concat, Grm.Mult, Grm.Nonterminal, Grm.Terminal |
Field Summary | |
---|---|
Grm |
operand
|
Grm.Mult.Type |
type
|
Constructor Summary | |
---|---|
Grm.Mult(Grm operand,
Grm.Mult.Type type)
|
Method Summary | ||
---|---|---|
|
accept(GrmVisitor<T> v)
|
|
protected Grm.Mult |
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 Grm operand
public final Grm.Mult.Type type
Constructor Detail |
---|
public Grm.Mult(Grm operand, Grm.Mult.Type type)
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.Mult 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 |