Binary operation on blockruns. Serves to compose blockruns.
Binary operation on blockruns. Serves to compose blockruns.
(add-df)
(add-df x)
(add-df x y)
Dispatch function for blockrun/add.
Dispatch function for blockrun/add.
(coalesce pred blockrun)
Tests blockrun entries in pairs and concatenates those for which all of the following apply:
Tests blockrun entries in pairs and concatenates those for which all of the following apply: 1. are adjacent 2. bear the same tag 3. (pred t) returns logical true, where t is the tag of the entries
(extract-link-reference-definitions blockrun)
Searches blockrun for link reference definitions and extracts them into separate entries. Each definition is awarded its own entry. The new entries are tagged :adef. The entries which the definitions came from are split and each of the parts bears the tag of its originator.
Searches blockrun for link reference definitions and extracts them into separate entries. Each definition is awarded its own entry. The new entries are tagged :adef. The entries which the definitions came from are split and each of the parts bears the tag of its originator.
(extract-trailing-blanks blockrun)
Breaks blank lines off from the tail end of :li entries into a separate :blank entity.
Breaks blank lines off from the tail end of :li entries into a separate :blank entity.
(from-line line)
Returns a blockrun containing a single tagged line.
Returns a blockrun containing a single tagged line.
(from-string string)
Parses the given input into a list of blockrun entries. Each of these entries represents a top-level block.
Parses the given input into a list of blockrun entries. Each of these entries represents a top-level block.
(fuse x y direction)
Concatenates blockruns x and y with the exception of their adjoining entries. The latter are merged into a single entry, according to direction.
Concatenates blockruns x and y with the exception of their adjoining entries. The latter are merged into a single entry, according to direction. * if direction equals :rtol y-side lines are appended to x-side lines under the x-side tag * if direction equals :ltor x-side lines are appended to y-side lines under the y-side tag
(fuse-split x y n)
Removes the first n lines of the first entry of y, appends them to the last entry of x, recalculates the remainder of y and concatenates the results.
Removes the first n lines of the first entry of y, appends them to the last entry of x, recalculates the remainder of y and concatenates the results.
(merge-indented-chunks blockrun)
Merges entries of indented code which are separated by blanks.
Merges entries of indented code which are separated by blanks.
(postprocess blockrun)
Hook for performing transformations after the blockrun has been compiled.
Hook for performing transformations after the blockrun has been compiled.
(retag blockrun position tag)
Returns the blockrun with either its first or its last entry retagged to tag. The entry to be affected is specified by position and may be either :first or :last.
Returns the blockrun with either its first or its last entry retagged to tag. The entry to be affected is specified by position and may be either :first or :last.
(shift n blockrun)
Recalculates blockrun after removing the first n lines of the first entry.
Recalculates blockrun after removing the first n lines of the first entry.
Identity element of the add binary operation.
Identity element of the add binary operation.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close