|
28.
|
|
|
All of the statements in the lexer that match things are implemented in terms of this function. They first skip whitespace, then attempt to match against the line. If the match succeeds, the matched text is returned. Otherwise, None is returned.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/cds.rst:37
|
|
29.
|
|
|
Matches `s` as a keyword.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/cds.rst:44
|
|
30.
|
|
|
Matches a name. This does not match built-in keywords.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/cds.rst:48
|
|
31.
|
|
|
Matches any word, including keywords. Returns the
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/cds.rst:52
|
|
32.
|
|
|
Matches a Ren'Py string.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/cds.rst:57
|
|
33.
|
|
|
Matches an integer, returns a string containing the integer.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/cds.rst:61
|
|
34.
|
|
|
Matches a floating point number, returns a string containing the floating point number.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/cds.rst:65
|
|
35.
|
|
|
Matches a simple python expression, returns it as a string.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/cds.rst:70
|
|
36.
|
|
|
Skips whitespace, the returns the rest of the line.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/cds.rst:74
|
|
37.
|
|
|
Returns an opaque object representing the current state of the lexer.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/cds.rst:78
|