com.io7m.smfj.format.text

## Interface SMFTLineReaderType

- All Known Implementing Classes:
    SMFTLineReaderList, SMFTLineReaderStreamIO

      public interface SMFTLineReaderType

  The type of line readers.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Optional<javaslang.collection.List<String>>` | `line()` Get the next line.
    `com.io7m.jlexing.core.LexicalPosition<URI>` | `position()`

- - ### Method Detail

    - #### position

          com.io7m.jlexing.core.LexicalPosition<URI> position()

      Returns:
        The current position

    - #### line

          Optional<javaslang.collection.List<String>> line()
                                                    throws IOException

      Get the next line.
      Returns:
        A lexed line, or nothing on EOF
      Throws:
        `IOException` - On I/O errors

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