Package

com.thoughtworks.dsl

compilerplugins

Permalink

package compilerplugins

Visibility
  1. Public
  2. All

Type Members

  1. final class BangNotation extends Plugin

    Permalink

    The Scala compiler plug-in to convert ordinary Scala control flows to continuation-passing style, which will then be interpreted by Dsl.

    The Scala compiler plug-in to convert ordinary Scala control flows to continuation-passing style, which will then be interpreted by Dsl.

    Usage

    // In your build.sbt
    addCompilerPlugin("com.thoughtworks.dsl" %% "compilerplugins-bangnotation" % "latest.release")
    

    Author:

    杨博 (Yang Bo)

  2. final class ResetEverywhere extends Plugin

    Permalink

    A Scala compiler plug-in to enable !-notation for every methods and functions.

    A Scala compiler plug-in to enable !-notation for every methods and functions.

    Add the following setting in your build.sbt to enable this plug-in.

    // build.sbt
    addCompilerPlugin("com.thoughtworks.dsl" %% "compilerplugins-reseteverywhere" % "latest.release")
    

    Author:

    杨博 (Yang Bo)

    Note

    All @reset annotations are not neseccary if this ResetEverywhere plug-in is enabled.

Ungrouped