Interface CParseErrorType

All Known Implementing Classes:
CParseError

@Immutable
public interface CParseErrorType
The type of parse errors.
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Interface Description
    static class  CParseErrorType.Severity
    The severity of the error.
  • Method Summary

    Modifier and Type Method Description
    java.util.Optional<java.lang.Exception> exception()  
    com.io7m.jlexing.core.LexicalPosition<java.net.URI> lexical()  
    java.lang.String message()  
    CParseErrorType.Severity severity()  
  • Method Details

    • lexical

      @Parameter com.io7m.jlexing.core.LexicalPosition<java.net.URI> lexical()
      Returns:
      The lexical position of the error
    • severity

      @Parameter CParseErrorType.Severity severity()
      Returns:
      The severity of the error
    • message

      @Parameter java.lang.String message()
      Returns:
      The error message
    • exception

      @Parameter java.util.Optional<java.lang.Exception> exception()
      Returns:
      The exception raised, if any