Class/Object

s_mach.codetools.reflectPrint

ReflectPrintFormat

Related Docs: object ReflectPrintFormat | package reflectPrint

Permalink

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
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
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

    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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  7. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  9. val indent: String

    Permalink

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

  10. val indentString: String

    Permalink

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

  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. val multiLine: Boolean

    Permalink

    FALSE to format code as a single-line of text

  13. val namedParams: Boolean

    Permalink

    TRUE to show named arguments

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

    Permalink
    Definition Classes
    AnyRef
  15. val newLine: String

    Permalink

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

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

    Permalink

    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

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

    Permalink
    Definition Classes
    AnyRef
  19. val space: String

    Permalink

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

  20. val spacing: Boolean

    Permalink

    TRUE to show spacing between terms

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped