jaskell.parsec.common.One Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jaskell-java8 Show documentation
Show all versions of jaskell-java8 Show documentation
This is a utils library for java 8 project.
It include parsec combinators and sql generators library.
package jaskell.parsec.common;
import jaskell.parsec.ParsecException;
import java.io.EOFException;
/**
* Created by Mars Liu on 2016-01-02.
* One 成功匹配所有非 eof 的状态.s
*/
public class One implements Parsec {
@Override
public E parse(State s) throws EOFException, ParsecException {
return s.next();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy