jaskell.parsec.Skip1 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;
import java.io.EOFException;
/**
* Created by Mars Liu on 2016-01-07.
* 跳过指定算子 1 到多次.
*/
public class Skip1
implements Parsec {
private final Parsec psc;
@Override
public T parse(State s) throws EOFException, ParsecException {
psc.parse(s);
new Skip<>(psc).parse(s);
return null;
}
public Skip1(Parsec psc) {
this.psc = psc;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy