final class SingleRef[+T] extends Scalan.Ref[T]
A Ref is a symbolic reference used internally to refer to graph nodes. Light weight stateless immutable reference to a graph node (Def[T]). Two symbols are equal if they refer to the nodes with the same id, which is due to Def unification means equal symbols refer to the same instance of Def.
- Alphabetic
- By Inheritance
- SingleRef
- Ref
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
- def adapter: T
- def adapter_=(a: T): Unit
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
def
elem: Scalan.Elem[T]
Type of the computed value represented by the node refered by this rep.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(obj: Any): Boolean
- Definition Classes
- SingleRef → AnyRef → Any
-
final
def
getAdapter[S >: T](isInstanceOfT: Boolean, createAdapter: (Scalan.Ref[S]) ⇒ T): T
Helper method that lazily creates and attaches Adapter to this node reference.
Helper method that lazily creates and attaches Adapter to this node reference. The adapter is created conditionally and on demand. If T is trait or class (i.e. entity) then created adapter instance implements all its methods. The the adapter class is generated as part of EntityObject for the entity T.
- See also
EntityObject
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- SingleRef → AnyRef → Any
-
final
def
isCompanionType: Boolean
Is this reference of Companion type
Is this reference of Companion type
- Definition Classes
- Ref
- Annotations
- @inline()
-
final
def
isConst: Boolean
Whether the underlying node is Const.
Whether the underlying node is Const.
- Definition Classes
- Ref
- 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.
- Definition Classes
- Ref
- Annotations
- @inline()
-
final
def
isPlaceholder: Boolean
Whether the underlying node is Placeholder.
Whether the underlying node is Placeholder.
- Definition Classes
- Ref
- Annotations
- @inline()
-
final
def
isVar: Boolean
Whether the underlying node is Variable.
Whether the underlying node is Variable.
- Definition Classes
- Ref
- Annotations
- @inline()
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
node: Scalan.Def[T]
Node of the graph refered by this Ref.
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
def
show(config: GraphVizConfig): Unit
- Definition Classes
- Ref
-
def
show(emitMetadata: Boolean): Unit
- Definition Classes
- Ref
-
def
show(): Unit
Build graph of nodes starting from this node, generate dot file, and open it using system default viewer for dot extension.
Build graph of nodes starting from this node, generate dot file, and open it using system default viewer for dot extension.
- Definition Classes
- Ref
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- SingleRef → AnyRef → Any
-
def
toStringWithDefinition: String
Returns the string like
x45: Int = Const(10)
-
def
varName: String
Unique name that can be used as variable name.
-
def
varNameWithType: String
- Definition Classes
- Ref
-
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()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated