Liking cljdoc? Tell your friends :D

hara.code.block.check


*boundaries*clj


*collection-checks*clj


*delimiters*clj


*linebreaks*clj


*token-checks*clj


*void-checks*clj


boundary?clj

(boundary? c)

returns whether a char is of a boundary type

(boundary? (first "[")) => true

(boundary? (first """)) => true

returns whether a char is of a boundary type

(boundary? (first "[")) => true

(boundary? (first "\"")) => true
raw docstring

collection-tagclj

(collection-tag form)

returns th tag associated with the input

(collection-tag []) => :vector

returns th tag associated with the input

(collection-tag [])
=> :vector
raw docstring

collection?clj

(collection? form)

determines if an input is a token

(collection? {}) => true

determines if an input is a token

(collection? {})
=> true
raw docstring

comma?clj

(comma? c)

returns whether a char is a comma

(comma? (first ",")) => true

returns whether a char is a comma

(comma? (first ",")) => true
raw docstring

comment?clj

(comment? s)

determines if an input is a comment string

(comment? "hello") => false

(comment? ";hello") => true

determines if an input is a comment string

(comment? "hello")
=> false

(comment? ";hello")
=> true
raw docstring

delimiter?clj

(delimiter? c)

check for delimiter char

(delimiter? (first ")")) => true

check for delimiter char

(delimiter? (first ")")) => true
raw docstring

linebreak?clj

(linebreak? c)

returns whether a char is a linebreak type

(linebreak? \newline) => true

returns whether a char is a linebreak type

(linebreak? \newline) => true
raw docstring

linespace?clj

(linespace? c)

returs whether a char is a linespace type

(linespace? \space) => true

returs whether a char is a linespace type

(linespace? \space) => true
raw docstring

linetab?clj

(linetab? c)

checs if character is a tab

(linetab? (first "\t")) => true

checs if character is a tab

(linetab? (first "\t"))
=> true
raw docstring

tagclj

(tag checks input)

takes a set of checks and returns the key

(tag void-checks \space) => :linespace

(tag collection-checks []) => :vector

takes a set of checks and returns the key

(tag *void-checks* \space)
=> :linespace

(tag *collection-checks* [])
=> :vector
raw docstring

token-tagclj

(token-tag form)

returns the tag associated with the input

(token-tag 'hello) => :symbol

returns the tag associated with the input

(token-tag 'hello)
=> :symbol
raw docstring

token?clj

(token? form)

determines if an input is a token

(token? 3/4) => true

determines if an input is a token

(token? 3/4)
=> true
raw docstring

void-tagclj

(void-tag ch)

returns the tag associated with input

(void-tag \newline) => :linebreak

returns the tag associated with input

(void-tag \newline)
=> :linebreak
raw docstring

void?clj

(void? ch)

determines if an input is a void input

(void? \newline) => true

determines if an input is a void input

(void? \newline)
=> true
raw docstring

voidspace-or-boundary?clj

(voidspace-or-boundary? c)

check for void or boundary type

(->> (map voidspace-or-boundary? (concat boundaries linebreaks)) (every? true?)) => true

check for void or boundary type

(->> (map voidspace-or-boundary? (concat *boundaries*
                                    *linebreaks*))
     (every? true?))
=> true
raw docstring

voidspace?clj

(voidspace? c)

determines if an input is a void input

(voidspace? \newline) => true

determines if an input is a void input

(voidspace? \newline)
=> true
raw docstring

whitespace?clj

(whitespace? c)

returns whether a char is of a whitespace type

(whitespace? \space) => true

returns whether a char is of a whitespace type

(whitespace? \space) => true
raw docstring

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

× close