1Parse.delimList(3kaya) Kaya module reference Parse.delimList(3kaya)
2
3
4
6 Parse::delimList - Parse a list of items out of a String
7
9 [a] delimList( Parser<a> parser, var ParseState st, Parser<any>
10 delim, Int n=0 )
11
13 parser The parser to use for items
14
15 st The current parsing state
16
17 delim The parser to use for delimiters
18
19 n The minimum number of items (default 0)
20
22 Parse a string into a list of n or more items. Items are separated by a
23 string defined by the delim parser and an Exception will be thrown if
24 fewer than n are found.
25
27 Kaya standard library by Edwin Brady, Chris Morris and others
28 (kaya@kayalang.org). For further information see http://kayalang.org/
29
31 The Kaya standard library is free software; you can redistribute it
32 and/or modify it under the terms of the GNU Lesser General Public
33 License (version 2.1 or any later version) as published by the Free
34 Software Foundation.
35
37 Parse.list (3kaya)
38 Parse.list1 (3kaya)
39
40
41
42Kaya December 2010 Parse.delimList(3kaya)