cz.cuni.mff.ksi.jinfer.basicigg.expansion
Class ExpanderImpl
java.lang.Object
cz.cuni.mff.ksi.jinfer.basicigg.expansion.ExpanderImpl
- All Implemented Interfaces:
- Expander
public class ExpanderImpl
- extends Object
- implements Expander
A simple implementation of the
Expander
interface.
Method Summary |
List<Element> |
expand(List<Element> grammar)
Expands complicated regular expressions in the provided initial grammar
and returns a new grammar containing only concatenations on the right hand
sides. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExpanderImpl
public ExpanderImpl()
expand
public List<Element> expand(List<Element> grammar)
- Description copied from interface:
Expander
- Expands complicated regular expressions in the provided initial grammar
and returns a new grammar containing only concatenations on the right hand
sides.
- Specified by:
expand
in interface Expander
- Parameters:
grammar
- Grammar to be simplified.
- Returns:
- Simplified grammar.
Generated on Fri Dec 9 00:01:25 CET 2011