(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
(collection-tag form)
returns th tag associated with the input
(collection-tag []) => :vector
returns th tag associated with the input (collection-tag []) => :vector
(collection? form)
determines if an input is a token
(collection? {}) => true
determines if an input is a token (collection? {}) => true
(comma? c)
returns whether a char is a comma
(comma? (first ",")) => true
returns whether a char is a comma (comma? (first ",")) => true
(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
(delimiter? c)
check for delimiter char
(delimiter? (first ")")) => true
check for delimiter char (delimiter? (first ")")) => true
(linebreak? c)
returns whether a char is a linebreak type
(linebreak? \newline) => true
returns whether a char is a linebreak type (linebreak? \newline) => true
(linespace? c)
returs whether a char is a linespace type
(linespace? \space) => true
returs whether a char is a linespace type (linespace? \space) => true
(linetab? c)
checs if character is a tab
(linetab? (first "\t")) => true
checs if character is a tab (linetab? (first "\t")) => true
(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
(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
(token? form)
determines if an input is a token
(token? 3/4) => true
determines if an input is a token (token? 3/4) => true
(void-tag ch)
returns the tag associated with input
(void-tag \newline) => :linebreak
returns the tag associated with input (void-tag \newline) => :linebreak
(void? ch)
determines if an input is a void input
(void? \newline) => true
determines if an input is a void input (void? \newline) => true
(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
(voidspace? c)
determines if an input is a void input
(voidspace? \newline) => true
determines if an input is a void input (voidspace? \newline) => true
(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
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close