Liking cljdoc? Tell your friends :D

strojure.parsesso.impl.reply


assignclj/smacro

(assign context m)

Expands to code updating specified context functions at once.

Expands to code updating specified context functions at once.
sourceraw docstring

assign*clj/s

(assign* context -c-ok -e-ok -c-err -e-err)

Returns new instance of context with replaced functions, nil arg keep functions untouched. To be used with macro.

Returns new instance of context with replaced functions, nil arg keep
functions untouched. To be used with macro.
sourceraw docstring

c-errclj/s

(c-err context error)

Fails with parser error as consumed (consumed-error).

Fails with parser error as consumed (consumed-error).
sourceraw docstring

c-okclj/s

(c-ok context state x)

Replies with result value as consumed (consumed-ok).

Replies with result value as consumed (consumed-ok).
sourceraw docstring

e-errclj/s

(e-err context error)

Fails with parser error as not consumed (empty-error).

Fails with parser error as not consumed (empty-error).
sourceraw docstring

e-okclj/s

(e-ok context state x)

Replies with result value as not consumed (empty-ok).

Replies with result value as not consumed (empty-ok).
sourceraw docstring

error?clj/s

(error? reply)

True if reply is parser error.

True if `reply` is parser error.
sourceraw docstring

new-contextclj/s

(new-context)

Returns new instance of context with initialized reply functions.

Returns new instance of context with initialized reply functions.
sourceraw docstring

result?clj/s

(result? reply)

True if reply is parsing result with value.

True if `reply` is parsing result with value.
sourceraw docstring

valueclj/s

(value reply)

Returns value for Result reply or throws exception otherwise.

Returns value for Result reply or throws exception otherwise.
sourceraw docstring

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

× close