CircuitBlockNode

A sequence of circuit statements.

Constructors

Link copied to clipboard
fun CircuitBlockNode(statements: List<CircuitStatementNode>, returnStatement: ReturnNode, sourceLocation: SourceLocation)

Functions

Link copied to clipboard
open operator override fun contains(element: CircuitStatementNode): Boolean
Link copied to clipboard
open override fun containsAll(elements: Collection<CircuitStatementNode>): Boolean
Link copied to clipboard
Link copied to clipboard
open operator override fun get(index: Int): CircuitStatementNode
Link copied to clipboard
open override fun indexOf(element: CircuitStatementNode): Int
Link copied to clipboard
open override fun isEmpty(): Boolean
Link copied to clipboard
open operator override fun iterator(): Iterator<CircuitStatementNode>
Link copied to clipboard
open override fun lastIndexOf(element: CircuitStatementNode): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun subList(fromIndex: Int, toIndex: Int): List<CircuitStatementNode>
Link copied to clipboard
open fun <T : Any> toArray(p0: IntFunction<Array<T>>): Array<T>
Link copied to clipboard
open override fun toDocument(): Document

Properties

Link copied to clipboard
Link copied to clipboard
open override val size: Int
Link copied to clipboard
open override val sourceLocation: SourceLocation
Link copied to clipboard
val statements: PersistentList<CircuitStatementNode>

Extensions

Link copied to clipboard

Combines back ends for different protocols into one that supports all.

Combines multiple protocol composers into one.

fun <K, V> Iterable<Map<K, V>>.unions(): Map<K, V>

Returns the union of all given maps.

fun <T> Iterable<Set<T>>.unions(): Set<T>

Returns the union of all given sets.

Combines code generators for different protocols into one generator that can handle all protocols.

Combines given factories into a single factory that returns protocols from all of them.