s_mach.codetools.reflectPrint

ReflectPrintFormat

case class ReflectPrintFormat(multiLine: Boolean = false, namedParams: Boolean = true, spacing: Boolean = false, indentString: String = "", indent: String = "") extends Product with Serializable

A case class for formatting the code printed by ReflectPrint implementations

multiLine

FALSE to format code as a single-line of text

namedParams

TRUE to show named arguments

spacing

TRUE to show spacing between terms

indentString

The string used to increase indentation (used only in multi-line mode)

indent

The string for the current level of indentation (used only in multi-line mode)

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ReflectPrintFormat
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ReflectPrintFormat(multiLine: Boolean = false, namedParams: Boolean = true, spacing: Boolean = false, indentString: String = "", indent: String = "")

    multiLine

    FALSE to format code as a single-line of text

    namedParams

    TRUE to show named arguments

    spacing

    TRUE to show spacing between terms

    indentString

    The string used to increase indentation (used only in multi-line mode)

    indent

    The string for the current level of indentation (used only in multi-line mode)

Value Members

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

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

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

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

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  8. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  9. val indent: String

    The string for the current level of indentation (used only in multi-line mode)

  10. val indentString: String

    The string used to increase indentation (used only in multi-line mode)

  11. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  12. val multiLine: Boolean

    FALSE to format code as a single-line of text

  13. val namedParams: Boolean

    TRUE to show named arguments

  14. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. val newLine: String

    A string that is the newline with indentation if multi-line is enabled otherwise empty string

  16. def newSection(f: (ReflectPrintFormat) ⇒ String): String

    Start a new section with a leading new line and indentation.

    Start a new section with a leading new line and indentation. This format is copied with the indentation is increased one level and passed to the inner function. The output of the inner function is returned with a trailing new line with indentation. If multi-line mode is disabled, new lines and indentations are omitted.

    f

    function that accepts the inner indented format and returns a string

    returns

    a string with leading newline and indentation, inner section and a trailing new line and indentation. If multi-line mode is disabled, new lines and indentations are omitted.

  17. final def notify(): Unit

    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  19. val space: String

    A string that is a single space if spacing is enabled otherwise empty string

  20. val spacing: Boolean

    TRUE to show spacing between terms

  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  22. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped