org.eclipse.xtext.util.formallang
Class StringCfg

java.lang.Object
  extended by org.eclipse.xtext.util.formallang.StringProduction
      extended by 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>

Author:
Moritz Eysholdt - Initial contribution and API

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.xtext.util.formallang.StringProduction
StringProduction.ElementType, StringProduction.ProdElement, StringProduction.Token
 
Field Summary
protected  java.util.Map<java.lang.String,StringProduction.ProdElement> rules
           
 
Fields inherited from class org.eclipse.xtext.util.formallang.StringProduction
root, WS
 
Constructor Summary
StringCfg()
           
 
Method Summary
 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
Constructor Detail

StringCfg

public StringCfg()
Method Detail

rule

public StringProduction.ProdElement rule(java.lang.String rule)

getCall

public StringProduction.ProdElement getCall(StringProduction.ProdElement ele)
Specified by:
getCall in interface Cfg<StringProduction.ProdElement,java.lang.String>

toString

public java.lang.String toString()
Overrides:
toString in class StringProduction