public final class SMFFilterCommandParsing extends Object
| Modifier and Type | Method and Description |
|---|---|
static SMFParseError |
errorExpectedGot(Optional<URI> uri,
int line,
String expected,
javaslang.collection.List<String> text)
Construct an error message that indicates that one sort of input was
expected but another was received.
|
static javaslang.control.Validation<javaslang.collection.List<SMFParseError>,SMFMemoryMeshFilterType> |
errorExpectedGotValidation(Optional<URI> uri,
int line,
String expected,
javaslang.collection.List<String> text)
Construct an error message that indicates that one sort of input was
expected but another was received.
|
public static javaslang.control.Validation<javaslang.collection.List<SMFParseError>,SMFMemoryMeshFilterType> errorExpectedGotValidation(Optional<URI> uri, int line, String expected, javaslang.collection.List<String> text)
uri - The URI, if anyline - The current line numberexpected - The expected inputtext - The received inputpublic static SMFParseError errorExpectedGot(Optional<URI> uri, int line, String expected, javaslang.collection.List<String> text)
uri - The URI, if anyline - The current line numberexpected - The expected inputtext - The received inputCopyright © 2017 <code@io7m.com> http://io7m.com