Class StringCfg
- java.lang.Object
-
- org.eclipse.xtext.util.formallang.StringProduction
-
- org.eclipse.xtext.util.formallang.StringCfg
-
- All Implemented Interfaces:
Cfg<StringProduction.ProdElement,java.lang.String>
,Production<StringProduction.ProdElement,java.lang.String>
public class StringCfg extends StringProduction implements Cfg<StringProduction.ProdElement,java.lang.String>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.xtext.util.formallang.StringProduction
StringProduction.ElementType, StringProduction.ProdElement, StringProduction.Token
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<java.lang.String,StringProduction.ProdElement>
rules
-
Fields inherited from class org.eclipse.xtext.util.formallang.StringProduction
root, WS
-
-
Constructor Summary
Constructors Constructor Description StringCfg()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringProduction.ProdElement
getCall(StringProduction.ProdElement ele)
StringProduction.ProdElement
rule(java.lang.String rule)
java.lang.String
toString()
-
Methods inherited from class org.eclipse.xtext.util.formallang.StringProduction
createElement, getAlternativeChildren, getParent, getRoot, getSequentialChildren, getToken, getUnorderedChildren, isMany, isOptional, lex, parseAlt, parseCardinality, parsePrim, parseSeq, parseUnordered
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.xtext.util.formallang.Production
getAlternativeChildren, getParent, getRoot, getSequentialChildren, getToken, getUnorderedChildren, isMany, isOptional
-
-
-
-
Field Detail
-
rules
protected java.util.Map<java.lang.String,StringProduction.ProdElement> rules
-
-
Method Detail
-
rule
public StringProduction.ProdElement rule(java.lang.String rule)
-
getCall
public StringProduction.ProdElement getCall(StringProduction.ProdElement ele)
- Specified by:
getCall
in interfaceCfg<StringProduction.ProdElement,java.lang.String>
-
toString
public java.lang.String toString()
- Overrides:
toString
in classStringProduction
-
-