Packages

abstract class Ref[+T] extends AnyRef

Abstract representation of a computable value. Default implementation is a simple lightweight reference to the corresponding definition. Every Ref have direct access to its Def via node property. Every Ref is typed, and the type is avaliable via elem property.

See also

SingleRep

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Ref
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Ref()

Abstract Value Members

  1. abstract def elem: Scalan.Elem[T]

    Type of the computed value represented by the node refered by this rep.

  2. abstract def node: Scalan.Def[T]

    Node of the graph refered by this Ref.

  3. abstract def toStringWithDefinition: String

    Returns the string like x45: Int = Const(10)

  4. abstract def varName: String

    Unique name that can be used as variable name.

Concrete 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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isCompanionType: Boolean

    Is this reference of Companion type

    Is this reference of Companion type

    Annotations
    @inline()
  12. final def isConst: Boolean

    Whether the underlying node is Const.

    Whether the underlying node is Const.

    Annotations
    @inline()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def isLambda: Boolean

    Whether the underlying node is Lambda.

    Whether the underlying node is Lambda.

    Annotations
    @inline()
  15. final def isPlaceholder: Boolean

    Whether the underlying node is Placeholder.

    Whether the underlying node is Placeholder.

    Annotations
    @inline()
  16. final def isVar: Boolean

    Whether the underlying node is Variable.

    Whether the underlying node is Variable.

    Annotations
    @inline()
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def show(config: GraphVizConfig): Unit
  21. def show(emitMetadata: Boolean): Unit
  22. def show(): Unit

    Build graph of nodes starting from this node, generate dot file, and open it using system default viewer for dot extension.

  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. def varNameWithType: String
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped