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

source (clj)source (cljs)

*trace*clj

source

-full-parseclj/s

(-full-parse parser index tramp)
source (clj)source (cljs)

-parseclj/s

(-parse parser index tramp)
source (clj)source (cljs)

alt-full-parseclj/s

(alt-full-parse this index tramp)
source (clj)source (cljs)

alt-parseclj/s

(alt-parse this index tramp)
source (clj)source (cljs)

attach-diagnostic-metaclj/smacro

(attach-diagnostic-meta f metadata)
source

bind-traceclj/smacro

(bind-trace trace? body)
source

build-node-with-metaclj/s

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

build-total-failure-nodeclj/s

(build-total-failure-node node-builder start text)
source (clj)source (cljs)

cat-full-parseclj/s

(cat-full-parse this index tramp)
source (clj)source (cljs)

cat-parseclj/s

(cat-parse this index tramp)
source (clj)source (cljs)

CatFullListenerclj/s

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

CatListenerclj/s

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

char-range-full-parseclj/s

(char-range-full-parse this index tramp)
source (clj)source (cljs)

char-range-parseclj/s

(char-range-parse this index tramp)
source (clj)source (cljs)

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.
source (clj)source (cljs)raw docstring

dpprintclj/smacro

(dpprint & body)
source

dprintlnclj/smacro

(dprintln & body)
source

epsilon-full-parseclj/s

(epsilon-full-parse this index tramp)
source (clj)source (cljs)

epsilon-parseclj/s

(epsilon-parse this index tramp)
source (clj)source (cljs)

equals-ignore-caseclj/s

(equals-ignore-case s1 s2)
source (clj)source (cljs)

failclj/s

(fail tramp node-key index reason)
source (clj)source (cljs)

failure-typeclj/s

source (clj)source (cljs)

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
source (clj)source (cljs)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
source (clj)source (cljs)raw docstring

get-parserclj/s

(get-parser grammar p)
source (clj)source (cljs)

listener-exists?clj/s

(listener-exists? tramp node-key)

Tests whether node already has a listener

Tests whether node already has a listener
source (clj)source (cljs)raw docstring

logclj/smacro

(log tramp & body)
source

lookahead-full-parseclj/s

(lookahead-full-parse this index tramp)
source (clj)source (cljs)

lookahead-parseclj/s

(lookahead-parse this index tramp)
source (clj)source (cljs)

LookListenerclj/s

(LookListener node-key tramp)
source (clj)source (cljs)

make-nodeclj/s

(make-node)
source (clj)source (cljs)

make-successclj/s

(make-success result index)
source (clj)source (cljs)

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)
source (clj)source (cljs)

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.
source (clj)source (cljs)raw docstring

merge-negative-listenersclj/s

source (clj)source (cljs)

negative-lookahead-parseclj/s

(negative-lookahead-parse this index tramp)
source (clj)source (cljs)

node-getclj/s

(node-get tramp node-key)

Gets node if already exists, otherwise creates one

Gets node if already exists, otherwise creates one
source (clj)source (cljs)raw docstring

NodeListenerclj/s

(NodeListener node-key tramp)
source (clj)source (cljs)

non-terminal-full-parseclj/s

(non-terminal-full-parse this index tramp)
source (clj)source (cljs)

non-terminal-parseclj/s

(non-terminal-parse this index tramp)
source (clj)source (cljs)

opt-full-parseclj/s

(opt-full-parse this index tramp)
source (clj)source (cljs)

opt-parseclj/s

(opt-parse this index tramp)
source (clj)source (cljs)

ordered-alt-full-parseclj/s

(ordered-alt-full-parse this index tramp)
source (clj)source (cljs)

ordered-alt-parseclj/s

(ordered-alt-parse this index tramp)
source (clj)source (cljs)

parseclj/s

(parse grammar start text partial?)
source (clj)source (cljs)

parse-totalclj/s

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

parse-total-after-failclj/s

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

parsesclj/s

(parses grammar start text partial?)
source (clj)source (cljs)

parses-totalclj/s

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

parses-total-after-failclj/s

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

plus-full-parseclj/s

(plus-full-parse this index tramp)
source (clj)source (cljs)

plus-parseclj/s

(plus-parse this index tramp)
source (clj)source (cljs)

PlusFullListenerclj/s

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

PlusListenerclj/s

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

PRINTclj

source

PROFILEclj

source

profileclj/smacro

(profile & body)
source

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.
source (clj)source (cljs)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
source (clj)source (cljs)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
source (clj)source (cljs)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.
source (clj)source (cljs)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)
source (clj)source (cljs)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
source (clj)source (cljs)raw docstring

re-match-at-frontclj/s

(re-match-at-front regexp text)
source (clj)source (cljs)

regexp-full-parseclj/s

(regexp-full-parse this index tramp)
source (clj)source (cljs)

regexp-parseclj/s

(regexp-parse this index tramp)
source (clj)source (cljs)

rep-full-parseclj/s

(rep-full-parse this index tramp)
source (clj)source (cljs)

rep-parseclj/s

(rep-parse this index tramp)
source (clj)source (cljs)

RepFullListenerclj/s

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

RepListenerclj/s

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

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
source (clj)source (cljs)raw docstring

runclj/s

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

Executes the stack until exhausted

Executes the stack until exhausted
source (clj)source (cljs)raw docstring

safe-with-metaclj/s

(safe-with-meta obj metamap)
source (clj)source (cljs)

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).
source (clj)source (cljs)raw docstring

star-full-parseclj/s

(star-full-parse this index tramp)
source (clj)source (cljs)

star-parseclj/s

(star-parse this index tramp)
source (clj)source (cljs)

start-parserclj/s

(start-parser tramp parser partial?)
source (clj)source (cljs)

stepclj/s

(step stack)

Executes one thing on the stack (not threadsafe)

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

string-case-insensitive-full-parseclj/s

(string-case-insensitive-full-parse this index tramp)
source (clj)source (cljs)

string-case-insensitive-parseclj/s

(string-case-insensitive-parse this index tramp)
source (clj)source (cljs)

string-contextclj/s≠

clj
(string-context text index)
cljs
source (clj)source (cljs)

string-full-parseclj/s

(string-full-parse this index tramp)
source (clj)source (cljs)

string-parseclj/s

(string-parse this index tramp)
source (clj)source (cljs)

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
source (clj)source (cljs)raw docstring

successclj/smacro

(success tramp node-key result end)
source

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
source (clj)source (cljs)raw docstring

TopListenerclj/s

(TopListener tramp)
source (clj)source (cljs)

total-success?clj/s

(total-success? tramp s)
source (clj)source (cljs)

TRACEclj

source

trace-or-falseclj/smacro

(trace-or-false)
source

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.
source (clj)source (cljs)raw docstring

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

× close