1Parse.keyword(3kaya) Kaya module reference Parse.keyword(3kaya)
2
3
4
6 Parse::keyword - Parse a specific keyword
7
9 a keyword( String keyword, a meaning, var ParseState st )
10
12 keyword The keyword to match (as a regular expression)
13
14 meaning The value to return if there is a match
15
16 st The current parsing state
17
19 Parse a specific keyword, returning the meaning of the keyword if it is
20 found.
21
23 Kaya standard library by Edwin Brady, Chris Morris and others
24 (kaya@kayalang.org). For further information see http://kayalang.org/
25
27 The Kaya standard library is free software; you can redistribute it
28 and/or modify it under the terms of the GNU Lesser General Public
29 License (version 2.1 or any later version) as published by the Free
30 Software Foundation.
31
32
33
34Kaya December 2010 Parse.keyword(3kaya)