Packages

final class RenameMap extends AnyRef

Map old names to new names

Transforms that modify names should return a RenameMap with the CircuitState These are mutable datastructures for convenience

Source
RenameMap.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RenameMap
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

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

    Create new RenameMap that merges this and renameMap

  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. def addMap(map: Map[Named, Seq[Named]]): Unit
  6. def andThen(next: RenameMap): RenameMap

    Chain a RenameMap with this RenameMap

    Chain a RenameMap with this RenameMap

    next

    the map to chain with this map

    Note

    Self renames *will* be recorded

    ,

    Rename to/tos will be made distinct

  7. def apply(t: CompleteTarget): Seq[CompleteTarget]

    Renames a CompleteTarget

    Renames a CompleteTarget

    t

    target to rename

    returns

    renamed targets

  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. val chained: Option[RenameMap]
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  11. def copy(chained: Option[RenameMap] = chained): RenameMap

    Creates a deep copy of this RenameMap

  12. def delete(names: Seq[String]): Unit

    Records that references in names are all deleted The reference's root module and circuit are determined by whomever called setModule or setCircuit last

  13. def delete(name: String): Unit

    Records named reference is deleted The reference's root module and circuit are determined by whomever called setModule or setCircuit last

  14. def delete(name: ComponentName): Unit
  15. def delete(name: ModuleName): Unit
  16. def delete(name: CircuitName): Unit
  17. def delete(name: CompleteTarget): Unit

    Records that a CompleteTarget is deleted

  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  20. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def get(key: Named): Option[Seq[Named]]
  22. def get(key: ComponentName): Option[Seq[ComponentName]]
  23. def get(key: ModuleName): Option[Seq[ModuleName]]
  24. def get(key: CircuitName): Option[Seq[CircuitName]]
  25. def get(key: IsMember): Option[Seq[IsMember]]

    Get renames of a IsMember

    Get renames of a IsMember

    key

    Target referencing the original member of the circuit

    returns

    Optionally return sequence of targets that key remaps to

  26. def get(key: CircuitTarget): Option[Seq[CircuitTarget]]

    Get renames of a CircuitTarget

    Get renames of a CircuitTarget

    key

    Target referencing the original circuit

    returns

    Optionally return sequence of targets that key remaps to

  27. def get(key: CompleteTarget): Option[Seq[CompleteTarget]]

    Get renames of a CircuitTarget

    Get renames of a CircuitTarget

    key

    Target referencing the original circuit

    returns

    Optionally return sequence of targets that key remaps to

  28. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  29. def getReverseRenameMap: RenameMap
  30. def getUnderlying: Map[CompleteTarget, Seq[CompleteTarget]]

    Returns the underlying map of rename information

  31. def hasChanges: Boolean

    returns

    Whether this RenameMap has collected any changes

  32. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  33. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  34. def keys: Iterator[CompleteTarget]
  35. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. def record(from: IsMember, tos: Seq[IsMember]): Unit

    Record that the from IsMember is renamed to another sequence of IsMembers

    Record that the from IsMember is renamed to another sequence of IsMembers

    Note

    Self renames *will* be recorded

    ,

    Rename to/tos will be made distinct

  39. def record(from: IsMember, to: IsMember): Unit

    Record that the from Member is renamed to another IsMember

    Record that the from Member is renamed to another IsMember

    Note

    Self renames *will* be recorded

    ,

    Rename to/tos will be made distinct

  40. def record(from: CircuitTarget, tos: Seq[CircuitTarget]): Unit

    Record that the from CircuitTarget is renamed to another sequence of CircuitTargets

    Record that the from CircuitTarget is renamed to another sequence of CircuitTargets

    Note

    Self renames *will* be recorded

    ,

    Rename to/tos will be made distinct

  41. def record(from: CircuitTarget, to: CircuitTarget): Unit

    Record that the from CircuitTarget is renamed to another CircuitTarget

    Record that the from CircuitTarget is renamed to another CircuitTarget

    Note

    Self renames *will* be recorded

    ,

    Rename to/tos will be made distinct

  42. def recordAll(map: Map[CompleteTarget, Seq[CompleteTarget]]): Unit

    Records that the keys in map are also renamed to their corresponding value seqs.

    Records that the keys in map are also renamed to their corresponding value seqs. Only (CircuitTarget -> Seq[ CircuitTarget ]) and (IsMember -> Seq[ IsMember ]) key/value allowed

    Note

    Self renames *will* be recorded

    ,

    Rename to/tos will be made distinct

  43. def rename(from: String, tos: Seq[String]): Unit

    Records how a reference maps to a new reference The reference's root module and circuit are determined by whomever called setModule or setCircuit last

  44. def rename(from: String, to: String): Unit

    Records how a reference maps to a new reference

  45. def rename(from: ComponentName, tos: Seq[ComponentName]): Unit
  46. def rename(from: ComponentName, to: ComponentName): Unit
  47. def rename(from: Named, tos: Seq[Named]): Unit
  48. def rename(from: Named, to: Named): Unit
  49. def serialize: String

    Serialize the underlying remapping of keys to new targets

  50. def setCircuit(circuit: String): Unit

    Sets mutable state to record current circuit we are visiting

  51. def setModule(module: String): Unit

    Sets mutable state to record current module we are visiting

  52. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  53. def toString(): String
    Definition Classes
    AnyRef → Any
  54. val underlying: HashMap[CompleteTarget, Seq[CompleteTarget]]
  55. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  56. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped