org.vesalainen.grammar.Empty Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lpg Show documentation
Show all versions of lpg Show documentation
Java Lookahead Parser Generator. Generator produces LALR(k) parsers. Grammar
rules are entered using annotations. Rule annotation can be attached to reducer
method, which keeps rule and it's action together.
The newest version!
package org.vesalainen.grammar;
public class Empty extends GTerminal
{
public Empty()
{
super(1, "Empty");
}
@Override
public boolean isEmpty()
{
return true;
}
}