All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jaskell.parsec.Newline Maven / Gradle / Ivy

Go to download

This is a utils library for java 8 project. It include parsec combinators and sql generators library.

There is a newer version: 2.9.2
Show newest version
package jaskell.parsec;

import java.io.EOFException;
import java.util.concurrent.TransferQueue;

/**
 * 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