Package com.io7m.smfj.processing.api
Class SMFFilterCommandParsing
- java.lang.Object
-
- com.io7m.smfj.processing.api.SMFFilterCommandParsing
-
public final class SMFFilterCommandParsing extends java.lang.ObjectUseful combinators for parsing.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SMFParseErrorerrorExpectedGot(java.util.Optional<java.net.URI> uri, int line, java.lang.String expected, java.util.List<java.lang.String> text)Construct an error message that indicates that one sort of input was expected but another was received.static SMFPartialLogged<SMFMemoryMeshFilterType>errorExpectedGotValidation(java.util.Optional<java.net.URI> uri, int line, java.lang.String expected, java.util.List<java.lang.String> text)Construct an error message that indicates that one sort of input was expected but another was received.
-
-
-
Method Detail
-
errorExpectedGotValidation
public static SMFPartialLogged<SMFMemoryMeshFilterType> errorExpectedGotValidation(java.util.Optional<java.net.URI> uri, int line, java.lang.String expected, java.util.List<java.lang.String> text)
Construct an error message that indicates that one sort of input was expected but another was received.- Parameters:
uri- The URI, if anyline- The current line numberexpected- The expected inputtext- The received input- Returns:
- An error message
-
errorExpectedGot
public static SMFParseError errorExpectedGot(java.util.Optional<java.net.URI> uri, int line, java.lang.String expected, java.util.List<java.lang.String> text)
Construct an error message that indicates that one sort of input was expected but another was received.- Parameters:
uri- The URI, if anyline- The current line numberexpected- The expected inputtext- The received input- Returns:
- An error message
-
-