Liking cljdoc? Tell your friends :D

cljs.core.async.impl.ioc-macros-runtime


-item-to-ssaclj/smultimethod

source

add-blockclj/s

(add-block)

Adds a new block, returns its id, but does not change the current block (does not call set-block).

Adds a new block, returns its id, but does not change the current block (does not call set-block).
sourceraw docstring

add-instructionclj/s

(add-instruction inst)

Appends an instruction to the current block.

Appends an instruction to the current block. 
sourceraw docstring

allclj/s

(all itms)

Assumes that itms is a list of state monad function results, threads the state map through all of them. Returns a vector of all the results.

Assumes that itms is a list of state monad function results, threads the state map
through all of them. Returns a vector of all the results.
sourceraw docstring

assoc-in-planclj/s

(assoc-in-plan path val)

Same as assoc-in, but for state hash map

Same as assoc-in, but for state hash map
sourceraw docstring

async-custom-terminatorsclj/s

source

BINDINGS-IDXclj/s

source

Callcljs

source

Casecljs

source

CatchHandlercljs

source

CondBrcljs

source

Constcljs

source

count-persistent-valuesclj/s

(count-persistent-values index)
source

CURRENT-EXCEPTIONclj/s

source

CustomTerminatorcljs

source

debugclj

(debug x)
source

default-sexprclj/s

(default-sexpr args)
source

destructure-tryclj/s

(destructure-try body)
source

Dotcljs

source

EndFinallycljs

source

EXCEPTION-FRAMESclj/s

source

expandclj/s

(expand locals env form)
source

fixup-aliasesclj/s

(fixup-aliases sym env)
source

FN-IDXclj/s

source

get-bindingclj/s

(get-binding key)

Gets the value of the current binding for key

Gets the value of the current binding for key
sourceraw docstring

get-blockclj/s

(get-block)

Gets the current block

Gets the current block
sourceraw docstring

get-in-planclj/s

(get-in-plan path)

Same as get-in, but for a state hash map

Same as get-in, but for a state hash map
sourceraw docstring

get-planclj/s

(get-plan f)

Returns the final [id state] from a plan.

Returns the final [id state] from a plan. 
sourceraw docstring

id-for-instclj/s

(id-for-inst m sym)
source

IEmittableInstructionclj/s≠protocol

emit-instructionclj/s

(emit-instruction this state-sym)

Returns the clojure code that this instruction represents

Returns the clojure code that this instruction represents
source

IInstructionclj/s≠protocol

block-referencesclj/s

(block-references this)

Returns all the blocks this instruction references

Returns all the blocks this instruction references

reads-fromclj/s

(reads-from this)

Returns a list of instructions this instruction reads from

Returns a list of instructions this instruction reads from

writes-toclj/s

(writes-to this)

Returns a list of instructions this instruction writes to

Returns a list of instructions this instruction writes to
source

index-blockclj/s

(index-block idx [blk-id blk])
source

index-instructionclj/s

(index-instruction blk-id idx inst)
source

index-state-machineclj/s

(index-state-machine machine)
source

instruction?clj/s

(instruction? x)
source

is-special?clj/s

(is-special? x)
source

item-to-ssaclj/s

(item-to-ssa x)
source

ITerminatorclj/s≠protocol

terminate-blockclj/s

(terminate-block this state-sym custom-terminators)

Emites the code to terminate a given block

Emites the code to terminate a given block

terminator-codeclj/s

(terminator-code this)

Returns a unique symbol for this instruction

Returns a unique symbol for this instruction
source

Jmpcljs

source

let-binding-to-ssaclj/s

(let-binding-to-ssa [sym bind])
source

local-init-to-ssaclj/s

(local-init-to-ssa init)
source

no-opclj/s

(no-op)

This function can be used inside a gen-plan when no operation is to be performed

This function can be used inside a gen-plan when no operation is to be performed
sourceraw docstring

parse-to-state-machineclj/s

(parse-to-state-machine body env terminators)

Takes an sexpr and returns a hashmap that describes the execution flow of the sexpr as a series of SSA style blocks.

Takes an sexpr and returns a hashmap that describes the execution flow of the sexpr as
a series of SSA style blocks.
sourceraw docstring

persistent-value?clj/s

(persistent-value? index value)

Returns true if this value should be saved in the state hash map

Returns true if this value should be saved in the state hash map
sourceraw docstring

pop-bindingclj/s

(pop-binding key)

Removes the most recent binding for key

Removes the most recent binding for key
sourceraw docstring

PopTrycljs

source

(print-plan)
source

push-alter-bindingclj/s

(push-alter-binding key f & args)

Pushes the result of (apply f old-value args) as current value of binding key

Pushes the result of (apply f old-value args) as current value of binding key
sourceraw docstring

push-bindingclj/s

(push-binding key value)

Sets the binding 'key' to value. This operation can be undone via pop-bindings. Bindings are stored in the state hashmap.

Sets the binding 'key' to value. This operation can be undone via pop-bindings.
Bindings are stored in the state hashmap.
sourceraw docstring

PushTrycljs

source

Recurcljs

source

Returncljs

source

Set!cljs

source

set-blockclj/s

(set-block block-id)

Sets the current block being written to by the functions. The next add-instruction call will append to this block

Sets the current block being written to by the functions. The next add-instruction call will append to this block
sourceraw docstring

sexpr-to-ssaclj/smultimethod

source

special-override?clj/s

source

STATE-IDXclj/s

source

state-machineclj/s

(state-machine body num-user-params env user-transitions)
source

terminate-customclj/s

(terminate-custom vals term)
source

update-in-planclj/s

(update-in-plan path f & args)

Same as update-in, but for a state hash map

Same as update-in, but for a state hash map
sourceraw docstring

USER-START-IDXclj/s

source

VALUE-IDXclj/s

source

XFncljs

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close