com.io7m.jpra.compiler.core.pipeline

## Interface JPRAPipelineType

- All Known Implementing Classes:
    JPRAPipeline

      public interface JPRAPipelineType

  A pipeline that attaches together a parser, resolver, and type-checker. Typically, one pipeline is instantiated per compiled file.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onEOF(Optional<com.io7m.jlexing.core.ImmutableLexicalPositionType<Path>> lex)` EOF was received.
    `Optional<PackageContextType>` | `onExpression(com.io7m.jsx.SExpressionType e)` An expression was received.

- - ### Method Detail

    - #### onExpression

          Optional<PackageContextType> onExpression(com.io7m.jsx.SExpressionType e)
                                             throws JPRACompilerException

      An expression was received.
      Parameters:
        `e` - The expression
      Returns:
        A completed package, if the expression resulted in one
      Throws:
        `JPRACompilerException` - If any of the stages raise an exception

    - #### onEOF

          void onEOF(Optional<com.io7m.jlexing.core.ImmutableLexicalPositionType<Path>> lex)
              throws JPRACompilerException

      EOF was received.
      Parameters:
        `lex` - The last known lexical position, if any
      Throws:
        `JPRACompilerException` - If any of the stages raise an exception

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