Liking cljdoc? Tell your friends :D

instaparse.gll

The heart of the parsing mechanism. Contains the trampoline structure, the parsing dispatch function, the nodes where listeners are stored, the different types of listeners, and the loop for executing the various listeners and parse commands that are on the stack.

The heart of the parsing mechanism.  Contains the trampoline structure,
the parsing dispatch function, the nodes where listeners are stored,
the different types of listeners, and the loop for executing the various
listeners and parse commands that are on the stack.
raw docstring

*diagnostic-char-lookahead*clj/s


*trace*clj


-full-parseclj/s

(-full-parse parser index tramp)

-parseclj/s

(-parse parser index tramp)

alt-full-parseclj/s

(alt-full-parse this index tramp)

alt-parseclj/s

(alt-parse this index tramp)

attach-diagnostic-metaclj/smacro

(attach-diagnostic-meta f metadata)

bind-traceclj/smacro

(bind-trace trace? body)

build-node-with-metaclj/s

(build-node-with-meta node-builder tag content start end)

build-total-failure-nodeclj/s

(build-total-failure-node node-builder start text)

cat-full-parseclj/s

(cat-full-parse this index tramp)

cat-parseclj/s

(cat-parse this index tramp)

CatFullListenerclj/s

(CatFullListener results-so-far parser-sequence node-key tramp)

CatListenerclj/s

(CatListener results-so-far parser-sequence node-key tramp)

char-range-full-parseclj/s

(char-range-full-parse this index tramp)

char-range-parseclj/s

(char-range-parse this index tramp)

code-point->charsclj/s≠

(code-point->chars code-point)
clj

Takes a Unicode code point, and returns a string of one or two chars.

Takes a Unicode code point, and returns a string of one or two chars.
raw docstring

dpprintclj/smacro

(dpprint & body)

dprintlnclj/smacro

(dprintln & body)

epsilon-full-parseclj/s

(epsilon-full-parse this index tramp)

epsilon-parseclj/s

(epsilon-parse this index tramp)

equals-ignore-caseclj/s

(equals-ignore-case s1 s2)

failclj/s

(fail tramp node-key index reason)

Failurecljs


failure-typeclj/s


full-listener-exists?clj/s

(full-listener-exists? tramp node-key)

Tests whether node already has a listener or full-listener

Tests whether node already has a listener or full-listener
raw docstring

full-result-exists?clj/s

(full-result-exists? tramp node-key)

Tests whether node has a full-result

Tests whether node has a full-result
raw docstring

get-parserclj/s

(get-parser grammar p)

listener-exists?clj/s

(listener-exists? tramp node-key)

Tests whether node already has a listener

Tests whether node already has a listener
raw docstring

logclj/smacro

(log tramp & body)

lookahead-full-parseclj/s

(lookahead-full-parse this index tramp)

lookahead-parseclj/s

(lookahead-parse this index tramp)

LookListenerclj/s

(LookListener node-key tramp)

make-nodeclj/s

(make-node)

make-successclj/s

(make-success result index)

make-trampclj/s

(make-tramp grammar text)
(make-tramp grammar text segment)
(make-tramp grammar text fail-index node-builder)
(make-tramp grammar text segment fail-index node-builder)

merge-metaclj/s

(merge-meta obj metamap)

A variation on with-meta that merges the existing metamap into the new metamap, rather than overwriting the metamap entirely.

A variation on with-meta that merges the existing metamap into the new metamap,
rather than overwriting the metamap entirely.
raw docstring

merge-negative-listenersclj/s


negative-lookahead-parseclj/s

(negative-lookahead-parse this index tramp)

Nodecljs


node-getclj/s

(node-get tramp node-key)

Gets node if already exists, otherwise creates one

Gets node if already exists, otherwise creates one
raw docstring

NodeListenerclj/s

(NodeListener node-key tramp)

non-terminal-full-parseclj/s

(non-terminal-full-parse this index tramp)

non-terminal-parseclj/s

(non-terminal-parse this index tramp)

opt-full-parseclj/s

(opt-full-parse this index tramp)

opt-parseclj/s

(opt-parse this index tramp)

ordered-alt-full-parseclj/s

(ordered-alt-full-parse this index tramp)

ordered-alt-parseclj/s

(ordered-alt-parse this index tramp)

parseclj/s

(parse grammar start text partial?)

parse-totalclj/s

(parse-total grammar start text partial? node-builder)

parse-total-after-failclj/s

(parse-total-after-fail grammar start text fail-index partial? node-builder)

parsesclj/s

(parses grammar start text partial?)

parses-totalclj/s

(parses-total grammar start text partial? node-builder)

parses-total-after-failclj/s

(parses-total-after-fail grammar start text fail-index partial? node-builder)

plus-full-parseclj/s

(plus-full-parse this index tramp)

plus-parseclj/s

(plus-parse this index tramp)

PlusFullListenerclj/s

(PlusFullListener results-so-far parser prev-index node-key tramp)

PlusListenerclj/s

(PlusListener results-so-far parser prev-index node-key tramp)

PRINTclj


PROFILEclj


profileclj/smacro

(profile & body)

push-full-listenerclj/s

(push-full-listener tramp node-key listener)

Pushes a listener into the trampoline's node. Schedules notification to listener of all existing full results.

Pushes a listener into the trampoline's node.
Schedules notification to listener of all existing full results.
raw docstring

push-listenerclj/s

(push-listener tramp node-key listener)

Pushes a listener into the trampoline's node. Schedules notification to listener of all existing results. Initiates parse if necessary

Pushes a listener into the trampoline's node.
Schedules notification to listener of all existing results.
Initiates parse if necessary
raw docstring

push-messageclj/s

(push-message tramp listener result)

Pushes onto stack a message to a given listener about a result

Pushes onto stack a message to a given listener about a result
raw docstring

push-negative-listenerclj/s

(push-negative-listener tramp creator negative-listener)

Pushes a thunk onto the trampoline's negative-listener stack.

Pushes a thunk onto the trampoline's negative-listener stack.
raw docstring

push-resultclj/s

(push-result tramp node-key result)

Pushes a result into the trampoline's node. Categorizes as either result or full-result. Schedules notification to all existing listeners of result (Full listeners only get notified about full results)

Pushes a result into the trampoline's node.
Categorizes as either result or full-result.
Schedules notification to all existing listeners of result
(Full listeners only get notified about full results)
raw docstring

push-stackclj/s

(push-stack tramp item)

Pushes an item onto the trampoline's stack

Pushes an item onto the trampoline's stack
raw docstring

re-match-at-frontclj/s

(re-match-at-front regexp text)

regexp-full-parseclj/s

(regexp-full-parse this index tramp)

regexp-parseclj/s

(regexp-parse this index tramp)

rep-full-parseclj/s

(rep-full-parse this index tramp)

rep-parseclj/s

(rep-parse this index tramp)

RepFullListenerclj/s

(RepFullListener results-so-far
                 n-results-so-far
                 parser
                 m
                 n
                 prev-index
                 node-key
                 tramp)

RepListenerclj/s

(RepListener results-so-far
             n-results-so-far
             parser
             m
             n
             prev-index
             node-key
             tramp)

result-exists?clj/s

(result-exists? tramp node-key)

Tests whether node has a result or full-result

Tests whether node has a result or full-result
raw docstring

runclj/s

(run tramp)
(run tramp found-result?)

Executes the stack until exhausted

Executes the stack until exhausted
raw docstring

safe-with-metaclj/s

(safe-with-meta obj metamap)

single-char-code-atclj/s≠

(single-char-code-at text index)
clj

Returns the int value of a single char at the given index, assuming we're looking for up to 0xFFFF (the maximum value for a UTF-16 single char).

Returns the int value of a single char at the given index,
assuming we're looking for up to 0xFFFF (the maximum value for a
UTF-16 single char).
raw docstring

star-full-parseclj/s

(star-full-parse this index tramp)

star-parseclj/s

(star-parse this index tramp)

start-parserclj/s

(start-parser tramp parser partial?)

stepclj/s

(step stack)

Executes one thing on the stack (not threadsafe)

Executes one thing on the stack (not threadsafe)
raw docstring

string-case-insensitive-full-parseclj/s

(string-case-insensitive-full-parse this index tramp)

string-case-insensitive-parseclj/s

(string-case-insensitive-parse this index tramp)

string-contextclj/s≠

clj
(string-context text index)
cljs

string-full-parseclj/s

(string-full-parse this index tramp)

string-parseclj/s

(string-parse this index tramp)

sub-sequenceclj/s≠

clj
(sub-sequence text start)
(sub-sequence text start end)

Like clojure.core/subs but consumes and returns a CharSequence

Like clojure.core/subs but consumes and returns a CharSequence
cljs
raw docstring

successclj/smacro

(success tramp node-key result end)

text->segmentclj/s≠

(text->segment text)
clj

Converts text to a Segment, which has fast subsequencing

Converts text to a Segment, which has fast subsequencing
raw docstring

TopListenerclj/s

(TopListener tramp)

total-success?clj/s

(total-success? tramp s)

TRACEclj


trace-or-falseclj/smacro

(trace-or-false)

Trampcljs


unicode-code-point-atclj/s≠

(unicode-code-point-at text index)
clj

Returns the unicode code point representing one or two chars at the given index.

Returns the unicode code point representing one or two chars at
the given index.
raw docstring

with-path-metaclj/s

(with-path-meta g)

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

× close