Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface CodeGenerator
Link copied to clipboard
interface CodeGeneratorContext
Link copied to clipboard
Dispatches to different CodeGenerators based on Protocol.
Link copied to clipboard
Thrown when a protocol is assigned an operator it cannot implement. Usually indicates a bug in protocol selection.
Functions
Link copied to clipboard
fun ProgramNode.compileToKotlin(fileName: String, packageName: String, codeGenerator: (context: CodeGeneratorContext) -> CodeGenerator, protocolComposer: ProtocolComposer): FileSpec
Link copied to clipboard
fun receiveReplicated(sender: LetNode, events: Set<CommunicationEvent>, context: CodeGeneratorContext, typeAnalysis: TypeAnalysis): CodeBlock
Link copied to clipboard
Link copied to clipboard
Combines code generators for different protocols into one generator that can handle all protocols.