Interface Compiler.Action

  • Enclosing class:
    Compiler

    private static interface Compiler.Action
    Something that needs to happen when a declaration is evaluated.

    Usually involves placing a type or value into the bindings that will make up the environment in which the next statement will be executed, and printing some text on the screen.

    • Method Detail

      • apply

        void apply​(java.util.List<java.lang.String> output,
                   java.util.List<Binding> bindings,
                   EvalEnv evalEnv)