com.io7m.smfj.parser.api

## Class SMFParseWarnings

- java.lang.Object
- - com.io7m.smfj.parser.api.SMFParseWarnings

-     public final class SMFParseWarnings
      extends Object

  Convenient functions for constructing parse warnings.

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static SMFParseWarning` | `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.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### warningExpectedGot

          public static SMFParseWarning 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.
      Parameters:
        `message` - An warning message
        `expected` - The expected input
        `received` - The received input
        `position` - The current position
      Returns:
        A parse warning

Copyright © 2017 <code@io7m.com> http://io7m.com