org.eclipse.xtext.util.formallang
Interface IGrammarFactory<ELEMENT,TOKEN>
- All Known Implementing Classes:
- GrammarAlias.GrammarAliasFactory, GrammarStringFactory
public interface IGrammarFactory<ELEMENT,TOKEN>
- Author:
- Moritz Eysholdt - Initial contribution and API
createForAlternativeChildren
ELEMENT createForAlternativeChildren(boolean many,
boolean optional,
java.lang.Iterable<ELEMENT> children)
createForSequentialChildren
ELEMENT createForSequentialChildren(boolean many,
boolean optional,
java.lang.Iterable<ELEMENT> children)
createForToken
ELEMENT createForToken(boolean many,
boolean optional,
TOKEN token)
createForUnordertedChildren
ELEMENT createForUnordertedChildren(boolean many,
boolean optional,
java.lang.Iterable<ELEMENT> children)