case class PiItem[+A](i: A) extends PiObject with Product with Serializable
A resource that can be communicated through pi-calculus channels.
This represents a resource (actually a container) that is treated as untyped in practice, but its type corresponds to a CLL proposition. It is untyped so we can freely send it through pi-calculus channels without the compiler complaining. Its correspondence with CLL ensures we can type cast it without error when we need to obtain the actual resource.
- i
The actual resource being carried.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PiItem
- Serializable
- Serializable
- Product
- Equals
- PiObject
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
PiItem(i: A)
- i
The actual resource being carried.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (PiItem[A], B)
-
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()
- def ensuring(cond: (PiItem[A]) ⇒ Boolean, msg: ⇒ Any): PiItem[A]
- def ensuring(cond: (PiItem[A]) ⇒ Boolean): PiItem[A]
- def ensuring(cond: Boolean, msg: ⇒ Any): PiItem[A]
- def ensuring(cond: Boolean): PiItem[A]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def formatted(fmtstr: String): String
-
lazy val
frees: Seq[Chan]
Returns the list of free variables (channels) in the PiObject.
-
def
fresh(i: Int): PiItem[A]
Updates the PiObject so that all free variables (channels) are fresh.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val i: A
-
val
isGround: Boolean
Checks if the PiObject contains free variables (channels).
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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()
- def →[B](y: B): (PiItem[A], B)