Interface Reducer.Constructor

All Known Subinterfaces:
Reducer.Collector1<D,A1>, Reducer.Constructor1<D,A1,R>
Enclosing class:
Reducer

public static interface Reducer.Constructor
Abstract base of all AST node-constructor functional interfaces.
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    static <X> X
    Aborts the current creation of an AST node.
  • Method Details

    • abort

      static <X> X abort() throws Reducer.Abort
      Aborts the current creation of an AST node.

      This method never returns. It is suitable to use as the argument of a return instruction.

      Throws:
      Reducer.Abort - always