Class

com.thoughtworks.dsl.compilerplugins

BangNotation

Related Doc: package compilerplugins

Permalink

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.

Usage

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

Author:

杨博 (Yang Bo)

Source
BangNotation.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BangNotation
  2. Plugin
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BangNotation(global: Global)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from BangNotation to any2stringadd[BangNotation] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (BangNotation, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from BangNotation to ArrowAssoc[BangNotation] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val components: Nil.type

    Permalink
    Definition Classes
    BangNotation → Plugin
  9. val description: String

    Permalink
    Definition Classes
    BangNotation → Plugin
  10. def ensuring(cond: (BangNotation) ⇒ Boolean, msg: ⇒ Any): BangNotation

    Permalink
    Implicit information
    This member is added by an implicit conversion from BangNotation to Ensuring[BangNotation] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (BangNotation) ⇒ Boolean): BangNotation

    Permalink
    Implicit information
    This member is added by an implicit conversion from BangNotation to Ensuring[BangNotation] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: ⇒ Any): BangNotation

    Permalink
    Implicit information
    This member is added by an implicit conversion from BangNotation to Ensuring[BangNotation] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): BangNotation

    Permalink
    Implicit information
    This member is added by an implicit conversion from BangNotation to Ensuring[BangNotation] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from BangNotation to StringFormat[BangNotation] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. val global: Global

    Permalink
    Definition Classes
    BangNotation → Plugin
  20. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  21. def init(options: List[String], error: (String) ⇒ Unit): Boolean

    Permalink
    Definition Classes
    BangNotation → Plugin
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. val name: String

    Permalink
    Definition Classes
    BangNotation → Plugin
  24. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. def options: List[String]

    Permalink
    Definition Classes
    Plugin
  28. val optionsHelp: Option[String]

    Permalink
    Definition Classes
    Plugin
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def [B](y: B): (BangNotation, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from BangNotation to ArrowAssoc[BangNotation] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def processOptions(options: List[String], error: (String) ⇒ Unit): Unit

    Permalink
    Definition Classes
    Plugin
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11) use Plugin#init instead

Inherited from Plugin

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from BangNotation to any2stringadd[BangNotation]

Inherited by implicit conversion StringFormat from BangNotation to StringFormat[BangNotation]

Inherited by implicit conversion Ensuring from BangNotation to Ensuring[BangNotation]

Inherited by implicit conversion ArrowAssoc from BangNotation to ArrowAssoc[BangNotation]

Ungrouped