SIRTypeHashConsedRef

scalus.flat.FlatInstantces.SIRTypeHashConsedRef
See theSIRTypeHashConsedRef companion object
class SIRTypeHashConsedRef(opComplete: State => Boolean, opFinValue: (State, Int, HSRIdentityHashMap) => SIRType, initResult: SIRType | Null) extends HashConsedRef[SIRType]

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def finValue(hashConsed: State, level: Int, parents: HSRIdentityHashMap): SIRType

Should be called after the decoding of the whole structures.

Should be called after the decoding of the whole structures.

Attributes

Returns

valua of A

Definition Classes
override def isComplete(hashConsed: State): Boolean

Attributes

Returns

true if we have fully data object here and finValue can be called regradless of the state. used for optimization.

Definition Classes

Inherited methods

def isForward: Boolean

Attributes

Inherited from:
HashConsedRef

Concrete fields

var proxies: List[TypeProxy]
var result: SIRType | Null