org.unlaxer.parser.elementary.ExponentParser Maven / Gradle / Ivy
package org.unlaxer.parser.elementary;
import java.util.List;
import org.unlaxer.parser.Parser;
import org.unlaxer.parser.Parsers;
import org.unlaxer.parser.StaticParser;
import org.unlaxer.parser.combinator.LazyChain;
import org.unlaxer.parser.combinator.OneOrMore;
import org.unlaxer.parser.combinator.Optional;
import org.unlaxer.parser.posix.DigitParser;
public class ExponentParser extends LazyChain implements StaticParser{
private static final long serialVersionUID = 4717221978893045863L;
@Override
public List getLazyParsers(){
return new Parsers(
new EParser(),
new Optional(
new SignParser()
),
new OneOrMore(
new DigitParser()
)
);
}
} © 2015 - 2025 Weber Informatics LLC | Privacy Policy