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