public class StringCfg extends StringProduction implements Cfg<StringProduction.ProdElement,java.lang.String>
StringProduction.ElementType, StringProduction.ProdElement, StringProduction.Token
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,StringProduction.ProdElement> |
rules |
root, WS
Constructor and Description |
---|
StringCfg() |
Modifier and Type | Method and Description |
---|---|
StringProduction.ProdElement |
getCall(StringProduction.ProdElement ele) |
StringProduction.ProdElement |
rule(java.lang.String rule) |
java.lang.String |
toString() |
createElement, getAlternativeChildren, getParent, getRoot, getSequentialChildren, getToken, getUnorderedChildren, isMany, isOptional, lex, parseAlt, parseCardinality, parsePrim, parseSeq, parseUnordered
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAlternativeChildren, getParent, getRoot, getSequentialChildren, getToken, getUnorderedChildren, isMany, isOptional
protected java.util.Map<java.lang.String,StringProduction.ProdElement> rules
public StringProduction.ProdElement rule(java.lang.String rule)
public StringProduction.ProdElement getCall(StringProduction.ProdElement ele)
getCall
in interface Cfg<StringProduction.ProdElement,java.lang.String>
public java.lang.String toString()
toString
in class StringProduction