Liking cljdoc? Tell your friends :D

code.query.block


backspaceclj

(backspace nav)

the reverse of insert

the reverse of insert
raw docstring

blockclj

(block nav)

returns the current block

returns the current block
raw docstring

block?clj

(block? zip)
(block? zip step)

childrenclj

(children zip)
(children zip step)

comment?clj

(comment? zip)
(comment? zip step)

container?clj

(container? zip)
(container? zip step)

deleteclj

(delete nav)

deletes the current element

deletes the current element
raw docstring

delete-leftclj

(delete-left nav)

deletes left of the current expression

deletes left of the current expression
raw docstring

delete-rightclj

(delete-right nav)

deletes right of the current expression

deletes right of the current expression
raw docstring

display-navigatorclj

(display-navigator nav)

displays a string representing the navigator

displays a string representing the navigator
raw docstring

downclj

(down nav)

navigates into the form

navigates into the form
raw docstring

eof?clj

(eof? zip)
(eof? zip step)

expression?clj

(expression? zip)
(expression? zip step)

find-next-tokenclj

(find-next-token nav data)

moves tot the next token

moves tot the next token
raw docstring

from-statusclj

(from-status block)

constructs a navigator from a given status

constructs a navigator from a given status
raw docstring

heightclj

(height zip)
(height zip step)

infoclj

(info zip)
(info zip step)

insertclj

(insert nav data)

inserts an element and moves

inserts an element and moves
raw docstring

insert-allclj

(insert-all nav [data & more :as arr])

inserts all expressions into the block

inserts all expressions into the block
raw docstring

insert-emptyclj

(insert-empty nav data)

inserts an element into an empty container

inserts an element into an empty container
raw docstring

insert-leftclj

(insert-left nav data)

inserts an element to the left

inserts an element to the left
raw docstring

insert-newlineclj

(insert-newline nav)
(insert-newline nav num)

insert newline/s into the block

insert newline/s into the block
raw docstring

insert-rightclj

(insert-right nav data)

inserts an element to the right

inserts an element to the right
raw docstring

insert-spaceclj

(insert-space nav)
(insert-space nav num)

insert space/s into the block

insert space/s into the block
raw docstring

leftclj

(left nav)

moves to the left expression

moves to the left expression
raw docstring

left*clj

(left* nav)

navigates to left element, including whitespace

navigates to left element, including whitespace
raw docstring

left-anchorclj

(left-anchor nav)

calculates the length to the last newline

calculates the length to the last newline
raw docstring

left-expressionclj

(left-expression nav)

returns the expression on the left

returns the expression on the left
raw docstring

left-expressionsclj

(left-expressions nav)

returns all expressions on the left

returns all expressions on the left
raw docstring

left-mostclj

(left-most nav)

moves to the left-most expression

moves to the left-most expression
raw docstring

left-most-tokenclj

(left-most-token nav)

moves to the left-most token

moves to the left-most token
raw docstring

left-most?clj

(left-most? nav)

checks if navigator is at left-most

checks if navigator is at left-most
raw docstring

left-tokenclj

(left-token nav)

moves to the left token

moves to the left token
raw docstring

lengthclj

(length zip)
(length zip step)

level-empty?clj

(level-empty? nav)

checks if current container has expressions

checks if current container has expressions
raw docstring

line-infoclj

(line-info nav)

returns the line info for the current block

returns the line info for the current block
raw docstring

linebreak?clj

(linebreak? zip)
(linebreak? zip step)

linespace?clj

(linespace? zip)
(linespace? zip step)

modifier?clj

(modifier? zip)
(modifier? zip step)

(nav-template sym var)

helper function for importing vars

helper function for importing vars
raw docstring

(navigator block)
(navigator block opts)

creates a navigator for the block

creates a navigator for the block
raw docstring

(navigator? obj)

checks if object is navigator

checks if object is navigator
raw docstring

nextclj

(next nav)

moves to the next expression

moves to the next expression
raw docstring

next-anchorclj

(next-anchor nav)

moves to the next newline

moves to the next newline
raw docstring

next-tokenclj

(next-token nav)

moves to the next token

moves to the next token
raw docstring

parse-rootclj

(parse-root string)

parses the navigator from root string

parses the navigator from root string
raw docstring

parse-root-statusclj

(parse-root-status string)

parses string and creates a navigator from status

parses string and creates a navigator from status
raw docstring

parse-stringclj

(parse-string string)

creates a navigator from string

creates a navigator from string
raw docstring

position-leftclj

(position-left nav)

moves the cursor to left expression

moves the cursor to left expression
raw docstring

position-rightclj

(position-right nav)

moves the cursor the right expression

moves the cursor the right expression
raw docstring

prefixedclj

(prefixed zip)
(prefixed zip step)

prevclj

(prev nav)

moves to the previous expression

moves to the previous expression
raw docstring

prev-anchorclj

(prev-anchor nav)

moves to the previous newline

moves to the previous newline
raw docstring

prev-tokenclj

(prev-token nav)

moves to the previous token

moves to the previous token
raw docstring

replaceclj

(replace nav data)

replaces an element at the cursor

replaces an element at the cursor
raw docstring

(right nav)

moves to the expression on the right

moves to the expression on the right
raw docstring

right*clj

(right* nav)

navigates to right element, including whitespace

navigates to right element, including whitespace
raw docstring

right-expressionclj

(right-expression nav)

returns the expression on the right

returns the expression on the right
raw docstring

right-expressionsclj

(right-expressions nav)

returns all expressions on the right

returns all expressions on the right
raw docstring

right-mostclj

(right-most nav)

moves to the right-most expression

moves to the right-most expression
raw docstring

right-most-tokenclj

(right-most-token nav)

moves to the right-most token

moves to the right-most token
raw docstring

right-most?clj

(right-most? nav)

checks if navigator is at right-most

checks if navigator is at right-most
raw docstring

right-tokenclj

(right-token nav)

moves to the right token

moves to the right token
raw docstring

root-stringclj

(root-string nav)

returns the top level string

returns the top level string
raw docstring

space?clj

(space? zip)
(space? zip step)

stringclj

(string zip)
(string zip step)

suffixedclj

(suffixed zip)
(suffixed zip step)

swapclj

(swap nav f)

replaces an element at the cursor

replaces an element at the cursor
raw docstring

tagclj

(tag zip)
(tag zip step)

tightenclj

(tighten nav)

removes extra spaces on both the left and right

removes extra spaces on both the left and right
raw docstring

tighten-leftclj

(tighten-left nav)

removes extra spaces on the left

removes extra spaces on the left
raw docstring

tighten-rightclj

(tighten-right nav)

removes extra spaces on the right

removes extra spaces on the right
raw docstring

token?clj

(token? zip)
(token? zip step)

typeclj

(type zip)
(type zip step)

upclj

(up nav)

navigates outside of the form

navigates outside of the form
raw docstring

update-childrenclj

(update-children nav children)

replaces the current children

replaces the current children
raw docstring

update-step-insideclj

(update-step-inside nav block)

updates the step position to within a block

updates the step position to within a block
raw docstring

update-step-inside-leftclj

(update-step-inside-left nav block)

updates the step position to within a block (-> {:position [0 3]} (update-step-inside-left (construct/block #{}))) => {:position [0 2]}

updates the step position to within a block
(-> {:position [0 3]}
    (update-step-inside-left (construct/block #{})))
=> {:position [0 2]}
raw docstring

update-step-leftclj

(update-step-left nav lblock)

updates the step position to the left

updates the step position to the left
raw docstring

update-step-outsideclj

(update-step-outside nav left-blocks)

updates the step position to be outside a block

updates the step position to be outside a block
raw docstring

update-step-rightclj

(update-step-right nav block)

updates the step position to the right

updates the step position to the right
raw docstring

valueclj

(value zip)
(value zip step)

value-stringclj

(value-string zip)
(value-string zip step)

verifyclj

(verify zip)
(verify zip step)

void?clj

(void? zip)
(void? zip step)

widthclj

(width zip)
(width zip step)

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

× close