Scroll to navigation

Parse.list1(3kaya) Kaya module reference Parse.list1(3kaya)

NAME

Parse::list1 - Parse a string into a list of at least 1 item.

SYNOPSIS

[a] list1( Parser<a> parser, var ParseState st )

ARGUMENTS

parser The parser to use
st The current parsing state

DESCRIPTION

Parse a string into a list of at least 1 item, multiple items separated by whitespace. Equivalent to list(parser,st,1)

AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/

LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.

RELATED

Parse.delimList (3kaya)
Parse.list (3kaya)
August 2014 Kaya