Package com.io7m.smfj.parser.api
Interface SMFParseWarningType
-
- All Superinterfaces:
SMFWarningType
- All Known Implementing Classes:
SMFParseWarning
@Immutable public interface SMFParseWarningType extends SMFWarningType
The type of parse warnings.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.util.Optional<java.lang.Exception>
exception()
default java.lang.String
fullMessage()
com.io7m.jlexing.core.LexicalPosition<java.net.URI>
lexical()
java.lang.String
message()
-
-
-
Method Detail
-
lexical
@Parameter com.io7m.jlexing.core.LexicalPosition<java.net.URI> lexical()
- Returns:
- Lexical information
-
message
@Parameter java.lang.String message()
- Specified by:
message
in interfaceSMFWarningType
- Returns:
- The warning message
-
exception
@Parameter java.util.Optional<java.lang.Exception> exception()
- Specified by:
exception
in interfaceSMFWarningType
- Returns:
- The exception raised, if any
-
fullMessage
@Lazy default java.lang.String fullMessage()
- Specified by:
fullMessage
in interfaceSMFWarningType
- Returns:
- A humanly-readable formatted error message
-
-