diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/documentation/lux/control/parser/text.lux | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/stdlib/source/documentation/lux/control/parser/text.lux b/stdlib/source/documentation/lux/control/parser/text.lux index db886a7b4..f399d4886 100644 --- a/stdlib/source/documentation/lux/control/parser/text.lux +++ b/stdlib/source/documentation/lux/control/parser/text.lux @@ -33,7 +33,7 @@ (documentation: /.any! "Yields the next character (as a slice) without applying any logic.") -(template [<name> <caveat>] +(with_template [<name> <caveat>] [(`` (documentation: <name> (format "Produce a character" (~~ (template.text [<caveat>])) " if the parser fails.")))] @@ -58,7 +58,7 @@ "Only yields characters within a range." [(range bottom top)]) -(template [<name> <desc>] +(with_template [<name> <desc>] [(documentation: <name> (format "Only yields " <desc> " characters."))] @@ -77,7 +77,7 @@ (documentation: /.hexadecimal "Yields hexadecimal digits.") -(template [<name> <description_modifier>] +(with_template [<name> <description_modifier>] [(documentation: <name> (format "Yields characters that are" <description_modifier> " part of a piece of text."))] @@ -85,7 +85,7 @@ [/.none_of " not"] ) -(template [<name> <description_modifier>] +(with_template [<name> <description_modifier>] [(documentation: <name> (format "Yields characters (as a slice) that are" <description_modifier> " part of a piece of text."))] @@ -108,7 +108,7 @@ "Yields the outputs of both parsers composed together (as a slice)." [(and! left right)]) -(template [<text> <slice>] +(with_template [<text> <slice>] [(`` (documentation: <text> (format "Yields " (~~ (template.text [<name>])) " characters as a single continuous text."))) (`` (documentation: <slice> @@ -118,7 +118,7 @@ [/.many /.many!] ) -(template [<text> <slice> <doc_modifier>] +(with_template [<text> <slice> <doc_modifier>] [(`` (documentation: <text> (format "Yields " <doc_modifier> " N characters."))) (`` (documentation: <slice> |