chrriis.grammar.model
Class Repetition
java.lang.Object
chrriis.grammar.model.Expression
chrriis.grammar.model.Repetition
public class Repetition
- extends Expression
- Author:
- Christopher Deckers
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Repetition
public Repetition(Expression expression,
int minRepetitionCount,
Integer maxRepetitionCount)
getExpression
public Expression getExpression()
getMinRepetitionCount
public int getMinRepetitionCount()
getMaxRepetitionCount
public Integer getMaxRepetitionCount()
toRRElement
protected RRElement toRRElement(GrammarToRRDiagram grammarToRRDiagram)
- Specified by:
toRRElement
in class Expression
toBNF
protected void toBNF(GrammarToBNF grammarToBNF,
StringBuilder sb,
boolean isNested)
- Specified by:
toBNF
in class Expression