Liking cljdoc? Tell your friends :D

alda.parser.tokenize


add-current-buffer-to-lastclj

(add-current-buffer-to-last {:keys [stack] :as parser})
source

advanceclj

(advance parser x & [size])
source

append-to-current-bufferclj

(append-to-current-buffer {:keys [stack] :as parser} x)
source

current-token-contentclj

(current-token-content {:keys [stack] :as parser})
source

current-token-typeclj

(current-token-type {:keys [stack] :as parser})
source

currently-parsing?clj

(currently-parsing? parser token)
source

discard-bufferclj

(discard-buffer parser)
source

emit!clj

(emit! {:keys [tokens-ch] :as parser} x)
source

emit-error!clj

(emit-error! parser e-or-msg)
source

emit-token!clj

(emit-token! parser & {:keys [token content pop-stack?]})
source

ensure-parsingclj

(ensure-parsing {:keys [state] :as parser})

If the parser's state is not :parsing, short-circuits the parser so that the current state is passed through until the end.

Otherwise returns nil so that parsing will continue.

If the parser's state is not :parsing, short-circuits the parser so that the
current state is passed through until the end.

Otherwise returns nil so that parsing will continue.
sourceraw docstring

finish-parsingclj

(finish-parsing parser character)
source

finish-parsing-clj-sexpclj

(finish-parsing-clj-sexp parser character)
source

ignore-carriage-returnclj

(ignore-carriage-return parser character)
source

initial-parser-stateclj

source

last-token-contentclj

(last-token-content {:keys [stack] :as parser})
source

last-token-typeclj

(last-token-type {:keys [stack] :as parser})
source

new-bufferclj

(new-buffer {:keys [line column] :as parser} token)
source

next-columnclj

(next-column parser)
source

next-lineclj

(next-line parser)
source

parse-accidentalsclj

(parse-accidentals parser character)
source

parse-at-markerclj

(parse-at-marker parser character)
source

parse-barlineclj

(parse-barline parser character)
source

parse-clj-charclj

(parse-clj-char parser character)
source

parse-clj-sexpclj

(parse-clj-sexp p c)
source

parse-clj-stringclj

(parse-clj-string parser character)
source

parse-colonclj

(parse-colon parser character)
source

parse-commentclj

(parse-comment parser character)
source

parse-cram-closeclj

(parse-cram-close parser character)
source

parse-cram-openclj

(parse-cram-open parser character)
source

parse-durationclj

(parse-duration p c)
source

parse-equalsclj

(parse-equals parser character)
source

parse-event-seq-closeclj

(parse-event-seq-close parser character)
source

parse-event-seq-openclj

(parse-event-seq-open parser character)
source

parse-markerclj

(parse-marker parser character)
source

parse-nameclj

(parse-name parser character)
source

parse-newlineclj

(parse-newline parser character)
source

parse-nicknameclj

(parse-nickname parser character)
source

parse-noteclj

(parse-note parser character)
source

parse-note-lengthclj

(parse-note-length parser character)
source

parse-note-rest-or-nameclj

(parse-note-rest-or-name parser character)

Parse a character that could be part of:

  • a variable name
  • a note
  • a rest
  • an instrument call
Parse a character that could be part of:
- a variable name
- a note
- a rest
- an instrument call
sourceraw docstring

parse-octave-changeclj

(parse-octave-change parser character)
source

parse-repeatclj

(parse-repeat parser character)
source

parse-repeat-numclj

(parse-repeat-num parser character)
source

parse-restclj

(parse-rest parser character)
source

parse-slashclj

(parse-slash parser character)
source

parse-tieclj

(parse-tie parser character)
source

parse-voiceclj

(parse-voice parser character)
source

parserclj

(parser tokens-ch)
source

pop-stackclj

(pop-stack parser)
source

read-character!clj

(read-character! p c)

Reads one character c and updates parser p.

Puts tokens on (:tokens-ch p) as they are parsed.

Reads one character `c` and updates parser `p`.

Puts tokens on (:tokens-ch p) as they are parsed.
sourceraw docstring

read-charsclj

(read-chars parser character whitelist)
source

read-to-bufferclj

(read-to-buffer parser x & [size])
source

read-to-new-bufferclj

(read-to-new-buffer parser token x & [size])
source

reject-charsclj

(reject-chars parser character blacklist)
source

rename-current-tokenclj

(rename-current-token {:keys [stack] :as parser} token)
source

skip-whitespaceclj

(skip-whitespace parser character)
source

start-parsingclj

(start-parsing parser
               character
               token
               &
               [{:keys [start-char ignore-first-char buffer-first-char]}])
source

start-parsing-accidentalsclj

(start-parsing-accidentals p c)
source

start-parsing-at-markerclj

(start-parsing-at-marker p c)
source

start-parsing-clj-charclj

(start-parsing-clj-char p c)
source

start-parsing-clj-sexpclj

(start-parsing-clj-sexp p c)
source

start-parsing-clj-stringclj

(start-parsing-clj-string p c)
source

start-parsing-commentclj

(start-parsing-comment p c)
source

start-parsing-durationclj

(start-parsing-duration p c)
source

start-parsing-markerclj

(start-parsing-marker p c)
source

start-parsing-nicknameclj

(start-parsing-nickname p c)
source

start-parsing-note-lengthclj

(start-parsing-note-length p c)
source

start-parsing-note-rest-or-nameclj

(start-parsing-note-rest-or-name p c)
source

start-parsing-octave-changeclj

(start-parsing-octave-change p c)
source

start-parsing-repeatclj

(start-parsing-repeat p c)
source

start-parsing-repeat-numclj

(start-parsing-repeat-num p c)
source

start-parsing-voiceclj

(start-parsing-voice p c)
source

starting-line-and-columnclj

(starting-line-and-column {:keys [stack] :as parser})
source

token-namesclj

source

unexpected-char-errorclj

(unexpected-char-error {:keys [line column] :as parser} character)
source

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

× close