Packages

c

chisel3

PString

case class PString(str: String) extends Printable with Product with Serializable

Wrapper for printing Scala Strings

Source
Printable.scala
Linear Supertypes
Serializable, Product, Equals, Printable, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PString
  2. Serializable
  3. Product
  4. Equals
  5. Printable
  6. AnyRef
  7. Any
Implicitly
  1. by Extensions
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new PString(str: String)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def +(that: String): Printables

    Allow for appending Strings to Printables

    Allow for appending Strings to Printables

    Definition Classes
    Printable
  4. def +(that: Printable): Printables

    Allow for appending Printables like Strings

    Allow for appending Printables like Strings

    Definition Classes
    Printable
  5. def ->[B](y: B): (PString, B)
    Implicit
    This member is added by an implicit conversion from PString toArrowAssoc[PString] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. def ensuring(cond: (PString) => Boolean, msg: => Any): PString
    Implicit
    This member is added by an implicit conversion from PString toEnsuring[PString] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: (PString) => Boolean): PString
    Implicit
    This member is added by an implicit conversion from PString toEnsuring[PString] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean, msg: => Any): PString
    Implicit
    This member is added by an implicit conversion from PString toEnsuring[PString] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean): PString
    Implicit
    This member is added by an implicit conversion from PString toEnsuring[PString] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def map(f: (Printable) => Printable): Printable

    Build a new Printable by applying a function to all sub-Printables

    Build a new Printable by applying a function to all sub-Printables

    Implicit
    This member is added by an implicit conversion from PString toExtensions performed by method Extensions in chisel3.Printable.
    Definition Classes
    Extensions
    Note

    This is an extension method instead of normal method to avoid conflicts with the implicit conversion from String to Printable

  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. def productElementNames: Iterator[String]
    Definition Classes
    Product
  22. val str: String
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. final def unpack: (String, Seq[Data])

    Unpack into format String and a List of Data arguments

    Unpack into format String and a List of Data arguments

    Definition Classes
    PStringPrintable
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Shadowed Implicit Value Members

  1. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from PString toany2stringadd[PString] performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (pString: any2stringadd[PString]).+(other)
    Definition Classes
    any2stringadd

Deprecated Value Members

  1. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from PString toStringFormat[PString] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  2. final def unpack(ctx: Component)(implicit info: SourceInfo): (String, Iterable[String])

    Unpack into format String and a List of String arguments (identifiers)

    Unpack into format String and a List of String arguments (identifiers)

    Definition Classes
    PStringPrintable
    Annotations
    @deprecated
    Deprecated

    (Since version Chisel 7.0.0) Use unpack with no arguments instead.

    Note

    This must be called after elaboration when Chisel nodes actually have names

  3. final def unpackArgs: Seq[Bits]

    Unpack into a Seq of captured Bits arguments

    Unpack into a Seq of captured Bits arguments

    Definition Classes
    PStringPrintable
    Annotations
    @deprecated
    Deprecated

    (Since version Chisel 7.0.0) Use unpack with no arguments instead.

  4. def [B](y: B): (PString, B)
    Implicit
    This member is added by an implicit conversion from PString toArrowAssoc[PString] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Printable

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion Extensions fromPString to Extensions

Inherited by implicit conversion any2stringadd fromPString to any2stringadd[PString]

Inherited by implicit conversion StringFormat fromPString to StringFormat[PString]

Inherited by implicit conversion Ensuring fromPString to Ensuring[PString]

Inherited by implicit conversion ArrowAssoc fromPString to ArrowAssoc[PString]

Ungrouped