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
- Alphabetic
- By Inheritance
- Ref
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Ref()
Abstract Value Members
-
abstract
def
elem: Scalan.Elem[T]
Type of the computed value represented by the node refered by this rep.
-
abstract
def
node: Scalan.Def[T]
Node of the graph refered by this Ref.
-
abstract
def
toStringWithDefinition: String
Returns the string like
x45: Int = Const(10)
-
abstract
def
varName: String
Unique name that can be used as variable name.
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isCompanionType: Boolean
Is this reference of Companion type
Is this reference of Companion type
- Annotations
- @inline()
-
final
def
isConst: Boolean
Whether the underlying node is Const.
Whether the underlying node is Const.
- Annotations
- @inline()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
isLambda: Boolean
Whether the underlying node is Lambda.
Whether the underlying node is Lambda.
- Annotations
- @inline()
-
final
def
isPlaceholder: Boolean
Whether the underlying node is Placeholder.
Whether the underlying node is Placeholder.
- Annotations
- @inline()
-
final
def
isVar: Boolean
Whether the underlying node is Variable.
Whether the underlying node is Variable.
- Annotations
- @inline()
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def show(config: GraphVizConfig): Unit
- def show(emitMetadata: Boolean): Unit
-
def
show(): Unit
Build graph of nodes starting from this node, generate dot file, and open it using system default viewer for dot extension.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def varNameWithType: String
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()