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

jaskell.parsec.SkipWhitespaces 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;

/**
 * Created by march on 16/9/12.
 * SkipSpaces is a parser skip all whitespaces.
 */
public class SkipWhitespaces
    implements Parsec {
    private final Parsec parser = new Skip<>(new Whitespace<>());
    @Override
    public Character parse(State s)
            throws EOFException, ParsecException {
        return parser.parse(s);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy