Interface ParserLiteral

All Superinterfaces:
Parser<Result.Void>
All Known Implementing Classes:
ParserLiteral.WithSuggestions
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ParserLiteral extends Parser<Result.Void>
A FunctionalInterface with abstract method read(StringReader). This extends Parser<Result.Void>, so it only reads from the input StringReader and doesn't return any specific object when successful.