Liking cljdoc? Tell your friends :D

parinfer.reader

a basic lisp reader for tracking parens and token states

a basic lisp reader for tracking parens and token states
raw docstring

closing-delim?clj/s


escaping?clj/s

(escaping? stack)

Next character will be escaped.

Next character will be escaped.
raw docstring

in-code?clj/s

(in-code? stack)

Next character is inside actual code.

Next character is inside actual code.
raw docstring

in-comment?clj/s

(in-comment? stack)

Next character is inside a comment.

Next character is inside a comment.
raw docstring

in-str?clj/s

(in-str? stack)

Next character is inside a string.

Next character is inside a string.
raw docstring

matching-delimclj/s


opening-delim?clj/s


prev-chclj/s

(prev-ch stack)

push-charclj/s

(push-char state)

push-char*clj/smultimethod

Update the delimiter stack with the given character.

Update the delimiter stack with the given character.
raw docstring

valid-closer?clj/s

(valid-closer? stack ch)

Determine if the given closing delimiter can be used next, assuming we are inside code.

Determine if the given closing delimiter can be used next, assuming we are inside code.
raw docstring

whitespace?clj/s

(whitespace? ch)

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

× close