package compilerplugins
Type Members
-
final
class
BangNotation extends Plugin
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)
-
final
class
ResetEverywhere extends Plugin
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
Once this ResetEverywhere plug-in is enabled, the
@reset
annotations are added to class fields, every methods and every functions automatically. Some other macros or compiler plug-ins may conflict with those@reset
annotations.