| Package | Description |
|---|---|
| com.io7m.smfj.parser.api |
Parser API.
|
| Modifier and Type | Method and Description |
|---|---|
SMFParseWarning |
SMFParseWarning.Builder.build()
Builds a new
SMFParseWarning. |
static SMFParseWarning |
SMFParseWarning.copyOf(SMFParseWarningType instance)
Creates an immutable copy of a
SMFParseWarningType value. |
static SMFParseWarning |
SMFParseWarning.of(com.io7m.jlexing.core.LexicalPosition<URI> lexical,
String message,
Optional<Exception> exception)
Construct a new immutable
SMFParseWarning instance. |
static SMFParseWarning |
SMFParseWarnings.warningExpectedGot(String message,
String expected,
String received,
com.io7m.jlexing.core.LexicalPosition<URI> position)
Construct a parse warning that indicates the expected and actual input.
|
SMFParseWarning |
SMFParseWarning.withException(Exception value)
Copy the current immutable object by setting a present value for the optional
exception attribute. |
SMFParseWarning |
SMFParseWarning.withException(Optional<? extends Exception> optional)
Copy the current immutable object by setting an optional value for the
exception attribute. |
SMFParseWarning |
SMFParseWarning.withLexical(com.io7m.jlexing.core.LexicalPosition<URI> value)
Copy the current immutable object by setting a value for the
lexical attribute. |
SMFParseWarning |
SMFParseWarning.withMessage(String value)
Copy the current immutable object by setting a value for the
message attribute. |
Copyright © 2017 <code@io7m.com> http://io7m.com