1Parse.pred(3kaya) Kaya module reference Parse.pred(3kaya)
2
3
4
6 Parse::pred - Parse a character predicate.
7
9 Char pred( Bool(Char) p, var ParseState st )
10
12 p A predicate function that takes a Character and returns true for
13 legal characters.
14
15 st The current parsing state
16
18 This function parses any character, returning it if it matches the
19 predicate function, and throwing an Exception otherwise.
20
22 Kaya standard library by Edwin Brady, Chris Morris and others
23 (kaya@kayalang.org). For further information see http://kayalang.org/
24
26 The Kaya standard library is free software; you can redistribute it
27 and/or modify it under the terms of the GNU Lesser General Public
28 License (version 2.1 or any later version) as published by the Free
29 Software Foundation.
30
31
32
33Kaya December 2010 Parse.pred(3kaya)