org.vesalainen.grammar.Accept 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 Accept extends Nonterminal
{
public Accept()
{
super(3, "Accept");
}
public boolean isStart()
{
return true;
}
}