Parents: | sequences |
Authors: | Daniel Ehrenberg, Doug Coleman |
Class | Superclass | Slots |
sequence-parser | tuple | sequence n |
Word | Stack effect |
<safe-slice> | ( from to seq -- slice/f ) |
<sequence-parser> | ( sequence -- sequence-parser ) |
advance | ( sequence-parser -- sequence-parser ) |
consume | ( sequence-parser -- obj/f ) |
current | ( sequence-parser -- obj/f ) |
next | ( sequence-parser -- obj/f ) |
offset | ( sequence-parser offset -- obj/f ) |
parse-sequence | ( ..a sequence quot: ( ..a parser -- ..b ) -- ..b ) |
peek-next | ( sequence-parser -- obj/f ) |
previous | ( sequence-parser -- obj/f ) |
sequence-parse-end? | ( sequence-parser -- ? ) |
skip-until | ( ... sequence-parser quot: ( ... obj -- ... ? ) -- ... ) |
skip-whitespace | ( sequence-parser -- sequence-parser ) |
skip-whitespace-eol | ( sequence-parser -- sequence-parser ) |
sort-tokens | ( seq -- seq' ) |
take-first-matching | ( sequence-parser seq -- seq ) |
take-integer | ( sequence-parser -- n/f ) |
take-longest | ( sequence-parser seq -- seq ) |
take-n | ( sequence-parser n -- seq/f ) |
take-rest | ( sequence-parser -- sequence ) |
take-rest-slice | ( sequence-parser -- sequence/f ) |
take-sequence | ( sequence-parser sequence -- obj/f ) |
take-sequence* | ( sequence-parser sequence -- ) |
take-until | ( ... sequence-parser quot: ( ... obj -- ... ? ) -- ... sequence/f ) |
take-until-object | ( sequence-parser obj -- sequence ) |
take-until-sequence | ( sequence-parser sequence -- sequence'/f ) |
take-until-sequence* | ( sequence-parser sequence -- sequence'/f ) |
take-while | ( ... sequence-parser quot: ( ... obj -- ... ? ) -- ... sequence/f ) |
with-sequence-parser | ( ..a sequence-parser quot: ( ..a parser -- ..b obj/f ) -- ..b obj/f ) |
write-full | ( sequence-parser -- ) |
write-rest | ( sequence-parser -- ) |
Word | Stack effect |
sequence-parser? | ( object -- ? ) |