jaskell.parsec.common.Newline 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 .
* Newline 尝试匹配换\n
* -----------------
*/
public class Newline
implements Parsec {
private final Parsec parser = new Ch('\n');
@Override
public Character parse(State s)
throws EOFException, ParsecException {
return parser.parse(s);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy