ProtocolInterpreter

interface ProtocolInterpreter

Functions

getContextMarker
Link copied to clipboard
abstract fun getContextMarker(): Int
popContext
Link copied to clipboard
abstract suspend fun popContext()
popFunctionContext
Link copied to clipboard
abstract suspend fun popFunctionContext()
pushContext
Link copied to clipboard
abstract suspend fun pushContext()
pushFunctionContext
Link copied to clipboard
abstract suspend fun pushFunctionContext(arguments: PersistentMap<ParameterNode, Pair<Protocol, FunctionArgumentNode>>)
restoreContext
Link copied to clipboard
abstract suspend fun restoreContext(marker: Int)
runGuard
Link copied to clipboard
abstract suspend fun runGuard(protocol: Protocol, expr: AtomicExpressionNode): Value
runReceive
Link copied to clipboard
abstract suspend fun runReceive(sender: LetNode, sendProtocol: Protocol, receiver: SimpleStatementNode, recvProtocol: Protocol, events: ProtocolCommunication)
runSend
Link copied to clipboard
abstract suspend fun runSend(sender: LetNode, sendProtocol: Protocol, receiver: SimpleStatementNode, recvProtocol: Protocol, events: ProtocolCommunication)
runSimpleStatement
Link copied to clipboard
abstract suspend fun runSimpleStatement(protocol: Protocol, stmt: SimpleStatementNode)

Properties

availableProtocols
Link copied to clipboard
abstract val availableProtocols: Set<Protocol>

Inheritors

AbstractProtocolInterpreter
Link copied to clipboard