public final class JPRAPipeline extends Object implements JPRAPipelineType
JPRAPipelineType interface.| Modifier and Type | Method and Description |
|---|---|
static JPRAPipelineType |
newPipeline(JPRAParserType in_parser,
JPRAResolverType in_resolver,
JPRACheckerType in_checker)
Construct a new pipeline.
|
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.
|
public static JPRAPipelineType newPipeline(JPRAParserType in_parser, JPRAResolverType in_resolver, JPRACheckerType in_checker)
in_parser - The parserin_resolver - The resolverin_checker - The type checkerpublic Optional<PackageContextType> onExpression(com.io7m.jsx.SExpressionType e) throws JPRACompilerException
JPRAPipelineTypeonExpression in interface JPRAPipelineTypee - The expressionJPRACompilerException - If any of the stages raise an exceptionpublic void onEOF(Optional<com.io7m.jlexing.core.ImmutableLexicalPositionType<Path>> lex) throws JPRACompilerException
JPRAPipelineTypeonEOF in interface JPRAPipelineTypelex - The last known lexical position, if anyJPRACompilerException - If any of the stages raise an exceptionCopyright © 2015 <code@io7m.com> http://io7m.com