Class

polynote.kernel.interpreter.State

Id

Related Doc: package State

Permalink

final case class Id(id: CellID, prev: State, values: List[ResultValue]) extends State with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, State, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Id
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. State
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Id(id: CellID, prev: State, values: List[ResultValue])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def at(id: CellID): Option[State]

    Permalink
    Definition Classes
    State
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def collect[A](pf: PartialFunction[State, A]): List[A]

    Permalink

    Evaluate the given partial function in all states where it's defined, travelling in reverse chronological order and collecting results into a List.

    Evaluate the given partial function in all states where it's defined, travelling in reverse chronological order and collecting results into a List.

    Definition Classes
    State
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def foreachPrev(fn: (State) ⇒ Unit): Unit

    Permalink

    Perform the side effect for each state, moving back through states in reverse chronological order

    Perform the side effect for each state, moving back through states in reverse chronological order

    Definition Classes
    State
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. val id: CellID

    Permalink

    The cell ID

    The cell ID

    Definition Classes
    IdState
  13. def insert(after: CellID, state: State): State

    Permalink

    Insert the given state after the given state, such that the state with the given ID becomes the given state's predecessor.

    Insert the given state after the given state, such that the state with the given ID becomes the given state's predecessor. If no state exists with the given ID, it will be inserted after Root.

    Definition Classes
    State
  14. def insertOrReplace(state: State): State

    Permalink

    Replace the state with the same ID as the given state with the given state.

    Replace the state with the same ID as the given state with the given state. If a state with the given state's predecessor is found before a state with the same ID as the given state, the given state will be inserted between the predecessor and its successor.

    Definition Classes
    State
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def lastPredef: State

    Permalink
    Definition Classes
    State
  17. def moveAfter(id: CellID, after: CellID): State

    Permalink

    Move a previous state to be after another given previous state.

    Move a previous state to be after another given previous state. The state with the given id will get after as its parent.

    Definition Classes
    State
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. val prev: State

    Permalink

    The state on which this one depends

    The state on which this one depends

    Definition Classes
    IdState
  22. def remove(id: CellID): State

    Permalink
    Definition Classes
    State
  23. def rewindUntil(predicate: (State) ⇒ Boolean): State

    Permalink

    Find the first state in the chain where the predicate holds

    Find the first state in the chain where the predicate holds

    Definition Classes
    State
  24. def rewindWhile(predicate: (State) ⇒ Boolean): State

    Permalink

    Find the furthest state in the chain where the predicate still holds

    Find the furthest state in the chain where the predicate still holds

    Definition Classes
    State
  25. def scope: List[ResultValue]

    Permalink
    Definition Classes
    State
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def takeUntil(fn: (State) ⇒ Boolean): List[State]

    Permalink

    returns

    a list of states in reverse chronological order, until the predicate is satisfied, *including* the state which satisfied the predicate (if any)

    Definition Classes
    State
  28. def takeWhile(fn: (State) ⇒ Boolean): List[State]

    Permalink

    returns

    a list of states in reverse chronological order, until (but not including) the predicate fails to hold

    Definition Classes
    State
  29. def toList: List[State]

    Permalink

    returns

    a list of states in reverse chronological order

    Definition Classes
    State
  30. def updateValues(fn: (ResultValue) ⇒ ResultValue): State

    Permalink
    Definition Classes
    IdState
  31. def updateValuesM[R](fn: (ResultValue) ⇒ RIO[R, ResultValue]): RIO[R, State]

    Permalink
    Definition Classes
    IdState
  32. val values: List[ResultValue]

    Permalink

    The values contained by this state (i.e.

    The values contained by this state (i.e. defined by the cell whose execution state this represents)

    Definition Classes
    IdState
  33. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. def withPrev(prev: State): State

    Permalink
    Definition Classes
    IdState

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from State

Inherited from AnyRef

Inherited from Any

Ungrouped