PNCounterSyntax

kofre.datatypes.PosNegCounter$.PNCounterSyntax
implicit class PNCounterSyntax[C](container: C)(using x$2: ArdtOpsContains[C, PosNegCounter]) extends OpsSyntaxHelper[C, PosNegCounter]

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Inherited types

Attributes

Inherited from:
OpsSyntaxHelper
final type CausalP = PermCausal[C]

Attributes

Inherited from:
OpsSyntaxHelper
final type IdentifierP = PermId[C]

Attributes

Inherited from:
OpsSyntaxHelper
final type MutationIdP = PermIdMutate[C, L]

Attributes

Inherited from:
OpsSyntaxHelper
final type MutationP = PermMutate[C, L]

Attributes

Inherited from:
OpsSyntaxHelper
final type QueryP = PermQuery[C, L]

Attributes

Inherited from:
OpsSyntaxHelper

Value members

Concrete methods

def add(delta: Int)(using MutationIdP): C
def dec()(using MutationIdP): C
def inc()(using MutationIdP): C
def value(using QueryP): Int

Inherited methods

final protected def context(using perm: CausalP): Dots

Attributes

Inherited from:
OpsSyntaxHelper
final protected def current(using perm: QueryP): L

Attributes

Inherited from:
OpsSyntaxHelper
final protected def replicaID(using perm: IdentifierP): Id

Attributes

Inherited from:
OpsSyntaxHelper

Extensions

Inherited extensions

extension [A](c: Dotted[A])

Attributes

Inherited from:
OpsSyntaxHelper
extension (l: Dotted[L])
def mutator(using perm: CausalMutationP): C

Attributes

Inherited from:
OpsSyntaxHelper
extension (l: L)
def mutator(using perm: MutationP): C

Attributes

Inherited from:
OpsSyntaxHelper