1Parse.string(3kaya)          Kaya module reference         Parse.string(3kaya)
2
3
4

NAME

6       Parse::string - Parse to match a predicate.
7

SYNOPSIS

9       String string( Bool(String) strfun, var ParseState st )
10

ARGUMENTS

12       strfun  The  predicate function, which should return true if the String
13       matches
14
15       st The current parsing state
16

DESCRIPTION

18       Parse a string matching a predicate. The string will be formed from the
19       contiguous  set of non-whitespace characters at the start of the String
20       to be parsed (which may be the empty  String).  An  Exception  will  be
21       thrown if the predicate is not matched.
22

AUTHORS

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

LICENSE

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
33
34
35Kaya                             December 2010             Parse.string(3kaya)
Impressum